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

Chris Lovett (david@megginson.com)
Fri, 30 Oct 1998 22:11:30 -0500 (EST)


Chris Lovett writes:

> It doesn't make any sense to think of the contents of a CDATA section in
> terms of "replacement-text" because then you'd have to wonder about
> validating <![CDATA[<b/><c/>]]> which was NOT the point of CDATA sections.
> The point of CDATA was to treat <b/><c/> as UNPARSED text.

Precisely -- it's a matter of escaping. That doesn't really solve the
first problem, though, since validation can (must?) take place after
delimiter recognition.

All the best,

David

-- 
David Megginson                 david@megginson.com
           http://www.megginson.com/