Re: CDATA by any other name... (was The raw and the cooked)
Richard Tobin (richard@cogsci.ed.ac.uk)
Fri, 30 Oct 1998 16:34:55 GMT
> 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