SAX2 RFD: LexicalHandler draft v.1.1

David Megginson david at
Wed Mar 24 19:27:51 GMT 1999

Bill la Forge writes:

 > Again, is anyone aware of why CDATA is preserved by the DOM?
 > What was the reasoning behind this decision? Other things, like
 > whitespace within an element tag or even attribute order, are not preserved.
 > Why then was CDATA? 

I would guess that the DOM WG believed that users of XML editors and
repositories would want to see CDATA section boundaries and comments
survive a round trip in and out of the tools.  Personally, I am
extremely skeptical, but I have heard this argument many times from
the employees of the vendors themselves.

All the best,


David Megginson                 david at

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