[XML-DEV Mailing List Archive Home] [By Thread] [By Date] [Recent Entries] [Reply To This Message]

Re: Some comments on the 1.1 draft

Re:  Some comments on the 1.1 draft
On Wednesday 19 December 2001 05:24 am, Alan Kent wrote:
> If I have understood your desire, I guess we differ here. I would
> rather see XML (that claims to support Unicode) support all of Unicode.
> I *personally* don't feel that prohibiting valid Unicode characters
> from appearing in documents is worth the benefit of protecting people
> against feeding in data in the wrong encoding.

Control characters are suspect at best though.

What I don't think people understand is that representing binary data as 
*characters* for the sake of convenience will only open up the system to 
abuse on one hand, and make *both* text *and* binary transfer unreliable. 

In the example Mr. Rhys gave of serializing arbitrary binary data into an XML 
document, the only way that the system can reliably *decode* the data, is to 
work by converting characters into bytes, and then calling the 
deserialization tools on that. Possible, yes, but guess what? YOU WOULD DO 
EXACTLY THE SAME THING TODAY if you used BASE64 encoding.

If you don't do this,  your binary data *cannot* be reliably transferred, 
especially in the face of transcoding.


Purchasing Stylus Studio from our online shop is Easy, Secure and Value Priced!

Buy Stylus Studio Now

Download The World's Best XML IDE!

Accelerate XML development with our award-winning XML IDE - Download a free trial today!

Don't miss another message! Subscribe to this list today.
First Name
Last Name
Subscribe in XML format
RSS 2.0
Atom 0.3

Stylus Studio has published XML-DEV in RSS and ATOM formats, enabling users to easily subcribe to the list from their preferred news reader application.

Stylus Studio Sponsored Links are added links designed to provide related and additional information to the visitors of this website. they were not included by the author in the initial post. To view the content without the Sponsor Links please click here.

Site Map | Privacy Policy | Terms of Use | Trademarks
Free Stylus Studio XML Training:
W3C Member
Stylus Studio® and DataDirect XQuery ™are products from DataDirect Technologies, is a registered trademark of Progress Software Corporation, in the U.S. and other countries. © 2004-2013 All Rights Reserved.