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

david at megginson.com david at megginson.com
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

-- 
David Megginson                 david at megginson.com
           http://www.megginson.com/

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/
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