CDATA Section Support (was RE: SAX2 RFD: LexicalHandlerdraft v.1.1)
Ronald Bourret
rbourret at ito.tu-darmstadt.de
Thu Mar 25 09:49:13 GMT 1999
Tim Bray wrote:
> At 10:13 PM 3/24/99 +0100, Ronald Bourret wrote:
> >I wasn't even going to reply, but then I remembered that the real
question
> >here is whether SAX (not the DOM) should tell people about CDATA
sections.
> > I think the answer is yes.
>
> The implication is that a parser that doesn't pass on word of CDATA
> sections is a second-rate parser. Hrummph. Is this not a slippery-
> slope that puts us on the road to reporting whether single or double
> quotes were used for attribute values? -Tim
Actually, the implication is that a parser that doesn't pass on word of
CDATA sections is one that doesn't support LexicalHandler. Maybe we should
ask what kind of applications are likely to use LexicalHandler (mine
certainly won't -- I just want the data). The obvious groups are DOM
builders and editors. Preserving CDATA sections in editors is a nice thing
to do -- I know that I would appreciate it as a user. If LexicalHandler is
aimed at a different audience, then somebody please say so.
As to single and double quotes, I'm quite happy to draw a line in the sand
before we get to the road that leads to the brink of the slippery slope.
-- Ron Bourret
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/ and on CD-ROM/ISBN 981-02-3594-1
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