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

Richard Tobin richard at cogsci.ed.ac.uk
Fri Oct 30 16:36:38 GMT 1998


> What he said.  The DOM made a serious mistake here in my opinion: it's
> stranded in no-person's-land between raw and cooked, without being
> either.  It's not cooked, because it gives you EntityReference and
> CDATA nodes.  It's not raw, because it DOESN'T give you character
> entity references.

Note that the XML 1.0 recommendation requires that character and
internal entities be expanded before passing the data to the
application.

Of course, this just illustrates that a conforming processor isn't
always what you want.

-- Richard

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