CDATA by any other name... (was The raw and the cooked)

david at david at
Sat Oct 31 03:12:39 GMT 1998

Chris Lovett writes:

 > It doesn't make any sense to think of the contents of a CDATA section in
 > terms of "replacement-text" because then you'd have to wonder about
 > validating <![CDATA[<b/><c/>]]> which was NOT the point of CDATA sections.
 > The point of CDATA was to treat <b/><c/> as UNPARSED text.

Precisely -- it's a matter of escaping.  That doesn't really solve the 
first problem, though, since validation can (must?) take place after
delimiter recognition.

All the best,


David Megginson                 david at

xml-dev: A list for W3C XML Developers. To post, mailto:xml-dev at
Archived as:
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