[Expat-discuss] CDATA Handlers question
Nick MacDonald
nickmacd at gmail.com
Tue Dec 13 14:34:48 CET 2005
Just guessing here... I've never needed to use CDATA for my Expat
usages... but my guess is that its because a CDATA section could be
arbitrarily long... so... you might get a start, followed by any
number of "middle" reports for content, followed by the end.
On 12/12/05, Ori Avtalion <oavtal at bezeqint.net> wrote:
> Why do CDATA sections have seperate Start and End if their contents will
> always be treated as character data and reported by the
> CharacterDataHandler?
>
> What use could two handlers serve?
> Shouldn't the section have a single handler like the comments handler?
--
Nick MacDonald
NickMacD at gmail.com
More information about the Expat-discuss
mailing list