XML.orgXML.org
FOCUS AREAS |XML-DEV |XML.org DAILY NEWSLINK |REGISTRY |RESOURCES |ABOUT
OASIS Mailing List ArchivesView the OASIS mailing list archive below
or browse/search using MarkMail.

 


Help: OASIS Mailing Lists Help | MarkMail Help

[Date Prev] | [Thread Prev] | [Thread Next] | [Date Next] -- [Date Index] | [Thread Index]
RE: [xml-dev] US-ASCII characters versus XML characters ... whysuch a huge discrepancy?

>>
Put another way, in principle you should be able to take an XML ASCII 
encoded text message and send it over an RS-232 link that uses Start of text 
and End of text for it's own framing.  If you did that, you don't want those 
characters in your XML data.

Pete Cordell
<<<

You "should" also be able to store a binary image, or zip file or a JSON document unchanged as XML Text content.
But you cant. 
Thats just the way it is. 
We can argue until the cows come how about "why" and "should" ... 
It is historically interesting, but in practice what is really necessary to know is "what" not "why".
And then you can do fun stuff like

    <text><soh/>X<eoh/><ff/>My RS232 Text<lf/></text>


-David




[Date Prev] | [Thread Prev] | [Thread Next] | [Date Next] -- [Date Index] | [Thread Index]


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

Copyright 1993-2007 XML.org. This site is hosted by OASIS