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

RE: SAX for Binary Encodings (SAD-SAX)


sad sax
At 11:22 AM -0500 11/8/03, Bob Wyman wrote:


>	Frankly, I'm a bit surprised by all the heat that has been
>generated by what I thought was a very simple proposal. Clearly there
>is something I'm not understanding... Please bear with me as I try to
>be more explicit about what I'm suggesting. Then, *PLEASE* let me know
>what it is that I'm not understanding...

It is not at all simple. What you are proposing is a bullet aimed at 
the heart of XML. There is no binary data in XML. None. Zip. Zero. 
Zilch. Nada. There is no data except text.

You are proposing to add binary data to the core of XML. When you 
tell me that you want to pass 32-bit integers as pure binary, then 
you are saying that 7, 07, +07, 0007, and so forth are the same 
thing. They are not. The data model on which your SAD SAX API is 
based makes assumptions about XML that are not true for many people. 
You are restricting XML to one data model, and claiming other data 
models are irrelevant.

All data in an XML document is text, never anything else. How that 
text is instantiated into locally useful data structures is a local 
decision. It is certainly not something you'd want to exchange on the 
Internet, and it is is absolutely not something that should be baked 
into the core APIs.

-- 

   Elliotte Rusty Harold
   elharo@m...
   Effective XML (Addison-Wesley, 2003)
   http://www.cafeconleche.org/books/effectivexml
   http://www.amazon.com/exec/obidos/ISBN%3D0321150406/ref%3Dnosim/cafeaulaitA

PURCHASE STYLUS STUDIO ONLINE TODAY!

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.
Email
First Name
Last Name
Company
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.