OASIS Mailing List ArchivesView the OASIS mailing list archive below
or browse/search using MarkMail.


Help: OASIS Mailing Lists Help | MarkMail Help



   Exporting XML with characters less than #x20

[ Lists Home | Date Index | Thread Index ]
  • From: "Brian Fitzpatrick" <bmf@opentext.com>
  • To: <xml-dev@xml.org>
  • Date: Fri, 7 Apr 2000 11:42:41 -0500

I'm exporting data to XML and escaping the special XML characters (&amp;,
&apos;, etc.).

How should characters less than #x20 (excluding #x9, #xA and #D) be handled
in the output?

I've looked at a couple of XML serializers and they either encode them as
&#[0-9]; or just pass them through. However, this encoding is not legal if
you try to parse the XML document, since the parser will complain of an
invalid character, regardless of whether it is an ASCII 30 in the output or

Any pointers or suggestions appreciated.


This is xml-dev, the mailing list for XML developers.
To unsubscribe, mailto:majordomo@xml.org&BODY=unsubscribe%20xml-dev
List archives are available at http://xml.org/archives/xml-dev/


News | XML in Industry | Calendar | XML Registry
Marketplace | Resources | MyXML.org | Sponsors | Privacy Statement

Copyright 2001 XML.org. This site is hosted by OASIS