Next in thread → Next in month →

RE: [xml-dev] US-ASCII characters versus XML characters ... why such a huge discrepancy?

From
David Lee <>
To
Pete Cordell <>, "Costello, Roger L." <>
Date
2012-10-01T16:03:32Z
ID
<>
Thread
RE: [xml-dev] US-ASCII characters versus XML characters ... why such 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
Next in thread → Next in month →