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

Re: The Rising Sun: How XML Binary Restored the Fortunesof In


rising rs sun
David Lyon wrote:

>>You have to check everything in between for 
>>well-formedness errors that may be there 
>>irrespective of whether the end-tag is correctly placed or not.
> 
> 
> No you don't.....
> 
> Compiler said : 0 errors


That my compiler (parser) may or may not have said such a thing, is no 
justification for your compiler (parser) not to check for itself. Trust 
but verify. Many of the binary XML proposals make the big mistake of 
assuming that because they have to use some compiler to produce the 
binary format it can't possibly be malformed and therefore they don't 
have to check well-formedness. That's simply not true.

Not all of the benefits of XML derive from its basis in text. Some of 
the benefits derive from its paranoia. Everything is checked every time. 
If a process is generating bad data whether through malice, 
incompetence, bugs, line noise, spec misinterpretation, disk corruption, 
cosmic rays, or a dozen other reasons, we find out very quickly.

Binary formats are no more fundamentally resistant to corruption than 
text based formats are. Indeed the ones being proposed are less 
resistant because they are compressed and therefore less redundant. 
While error correction can certainly be added to binary formats (CDs do 
this, for example) I've yet to notice anyone proposing this for NOT XML. 
The goal of NOT XML seems to be size and speed at all costs, including 
the cost of transparency and disaster recovery. At least with real XML, 
when something goes horribly wrong with critical data, a human can 
probably fix the mistakes and recover most of the information. With a 
binary format, that's going to be much harder to do, if it's even possible.



-- 
Elliotte Rusty Harold  elharo@m...
XML in a Nutshell 3rd Edition Just Published!
http://www.cafeconleche.org/books/xian3/
http://www.amazon.com/exec/obidos/ISBN=0596007647/cafeaulaitA/ref=nosim

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.