CDATA Section Support (was RE: SAX2 RFD: LexicalHandler draft v.1.1)

Ronald Bourret rbourret at
Wed Mar 24 20:04:30 GMT 1999

David Megginson writes:

> If this kind of thing does matter (as it probably would to you),
> perhaps your friend could configure her editor to select certain
> element types that would always have their content CDATA escaped on
> export (nearly every document type has only one or two candidates,
> such as HTML <pre>).
> Even if your friend's editor didn't support that, nearly anyone on
> this list could hack together a Perl or Java program in about 15
> minutes that you allow you to do something like
>   xml-cdata-escape mydoc.xml example > mydoc2.xml

I buy the first argument (seems like a reasonable feature of an XML editor) 
but not the second. Most users of such systems are unlikely to be able to 
hack together such a program and they may or may not have a friendly 
programmer to whom they can turn.

-- Ron Bourret

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