Raw/Cooked APIs (was Re: CDATA by any other name...)
Paul Prescod
papresco at technologist.com
Sat Oct 31 18:57:18 GMT 1998
"Henry S. Thompson" wrote:
>
> 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 grove-based APIs such as that exposed by GroveMinder and the
soon-to-be-releaed PyGrove do not have this problem. They present exactly
as much information as the grove user asks for or the application can
supply (obviously, whichever is less!). Users and grove-providing tools
can communicate what they want with "grove plans." Over a few months, I've
been working on a tutorial introduction to groves. The unfinished work is
at:
http://www.prescod.net/groves/shorttut/
Paul Prescod - http://itrc.uwaterloo.ca/~papresco
"You have the wrong number."
"Eh? Isn't that the Odeon?"
"No, this is the Great Theater of Life. Admission is free, but the
taxation is mortal. You come when you can, and leave when you must. The
show is continuous. Good-night." -- Robertson Davies, "The Cunning Man"
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