CDATA problem

David Brownell david-b at pacbell.net
Thu Sep 30 21:18:18 BST 1999


John Evdemon wrote:
> 
> This control character cannot be inserted into a CDATA section because it is
> outside the range of legal values.  According to the ASCII chart, #x1A is SUB.
> Unfortuneatly some of this data is coming from a non-ASCII (e.g. EBCDIC)
> platform.

It can also be a good idea to translate from EBCDIC to Unicode, unless your
real goal is to encapsulate the data as opaque binary blobs.  If the latter
is your goal, BASE64 encoding is a good option.  But if the data is intended
to be processed by a non-EBCDIC platform, recoding would seem best.

- Dave

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 unsubscribe, mailto:majordomo at ic.ac.uk the following message;
unsubscribe 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