SAX2 RFD: LexicalHandler draft v.1.1

Lauren Wood lauren at sqwest.bc.ca
Wed Mar 24 17:47:42 GMT 1999


Bill la Forge wrote:
> 
> From: Gavin Thomas Nicol <gtn at eps.inso.com>
> >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.

Lauren

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




More information about the Xml-dev mailing list