OASIS Mailing List ArchivesView the OASIS mailing list archive below
or browse/search using MarkMail.


Help: OASIS Mailing Lists Help | MarkMail Help



   Re: [xml-dev] CDATA vs. Escaped characters

[ Lists Home | Date Index | Thread Index ]

Uche Ogbuji wrote:
> > Using <doc>foo<![CDATA[bar]]>baz</doc>, the DOM gives you 3 children of
> > element 'doc' ...or in SAX, 3 separate calls to characters():
>                          ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
> Sorry to nit-pick, but this doesn't necessarily have to be so.

Yes. Actually in a previous draft of that part of the message, I was careful
to use the words 'may' and 'might', but I think in the end I accidentally
sacrificed some accuracy for a more authoritative tone.

   - Mike
  mike j. brown                   |  xml/xslt: http://skew.org/xml/
  denver/boulder, colorado, usa   |  resume: http://skew.org/~mike/resume/
                                             ^ yes, looking for work


News | XML in Industry | Calendar | XML Registry
Marketplace | Resources | MyXML.org | Sponsors | Privacy Statement

Copyright 2001 XML.org. This site is hosted by OASIS