Is CDATA "structure"?

Kay Michael Michael.Kay at icl.com
Thu Jul 15 15:43:08 BST 1999


> So, my question is should CDATA sections in an XML document 
> be considered structural, and warrant being displayed in an XML editor

CDATA boundaries are not part of the infoset so they should not be treated
as information-bearing by an XML application. But XML editors like to
preserve non-information-bearing aspects of your document, assuming that if
you chose to use CDATA rather than character entities, say, then you did so
for a reason and would like the document left that way.

Mike Kay

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