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

James Tauber jtauber at jtauber.com
Fri Oct 30 17:15:19 GMT 1998


-----Original Message-----
From: Henry S. Thompson <ht at cogsci.ed.ac.uk>
>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.


Notwithstanding your main point, it is worth noting that entity references
and character references are handled differently (q.v. literal entity value
versus replacement text) so at least in this regard, a cooked-raw
distinction isn't fine enough.

James



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