SAX2 RFD: LexicalHandler draft v.1.1

Lauren Wood lauren at
Wed Mar 24 17:47:42 GMT 1999

Bill la Forge wrote:
> From: Gavin Thomas Nicol <gtn at>
> >CDATA sections *are* different from normal text, even if only
> >because the author used them.
> Again, is anyone aware of why CDATA is preserved by the DOM?
> What was the reasoning behind this decision? 

Gavin summed it up quite well - the author used a CDATA Section and
may have attached some semantic meaning to it (I know that several
people disagree that CDATA sections can have semantic meaning;
others think they can) so the DOM doesn't throw away that
distinction, just in case.


xml-dev: A list for W3C XML Developers. To post, mailto:xml-dev at
Archived as: and on CD-ROM/ISBN 981-02-3594-1
To (un)subscribe, mailto:majordomo at the following message;
(un)subscribe xml-dev
To subscribe to the digests, mailto:majordomo at the following message;
subscribe xml-dev-digest
List coordinator, Henry Rzepa (mailto:rzepa at

More information about the Xml-dev mailing list