SAX2 RFD: LexicalHandler draft v.1.1

Gavin Thomas Nicol gtn at
Thu Mar 25 21:10:07 GMT 1999

> > Gavin summed it up quite well - the author used a CDATA Section and
> > may have attached some semantic meaning to it (I know that several
> > people disagree that CDATA sections can have semantic meaning;
> > others think they can) so the DOM doesn't throw away that
> > distinction, just in case.
> I'm having trouble imagining how a CDATA section can have
> semantic meaning in all but the most abusive ways.  (Hmmm, there's a CDATA
> section.  Fire up the pizza delivery DLL.)  Could you give an example?

Not necessarily a semantic,  but certainly an *intent*. The example given
earlier was pretty good. You're writing a tutorial on HTML or some
programming language, and as a convention, and as a convenience, you put
all examples in CDATA sections. This makes it easy to edit *and* easy
to extract your examples.

Like Lauren, I am not saying that think CDATA sections are necessary or not,
simply that some people really do want them.

xml-dev: A list for W3C XML Developers. To post, mailto:xml-dev at
Archived as: and on CD-ROM/ISBN 981-02-3594-1
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