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

Ronald Bourret rbourret at ito.tu-darmstadt.de
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 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