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


Help: OASIS Mailing Lists Help | MarkMail Help



   Re: Exporting XML with characters less than #x20

[ Lists Home | Date Index | Thread Index ]
  • From: richard@cogsci.ed.ac.uk (Richard Tobin)
  • To: xml-dev@xml.org
  • Date: 8 Apr 2000 23:34:38 GMT

In article <022d01bfa0b0$4afac560$590310ac@bb.opentext.com>,
Brian Fitzpatrick <bmf@opentext.com> wrote:

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

There is no way to put these characters in an XML document.  You will
have to choose some way of encoding them yourself.  Possibilities
include using an element, eg <char code="30"/>, or using characters
from the Unicode private-use range.  Either way you will have to
pre- and post-process the data.

(I must say I think this is a deficiency of XML that could be addressed
in some future revision.)

-- Richard
Spam filter: to mail me from a .com/.net site, put my surname in the headers.

"The Internet is really just a series of bottlenecks joined by high
speed networks." - Sam Wilson

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