Re: CDATA Handlers question

Nick MacDonald <[email protected]>
Newsgroups gmane.text.xml.expat.general
Message-ID <[email protected]>
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 <[email protected]> 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
[email protected]
lmpx.com only provides a reader for public news (NNTP) servers. It is not affiliated with the servers or forums shown here and is not responsible for the content of articles, which is written by their respective authors.