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

Richard Tobin richard at
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

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