[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


Re:  The Rising Sun:  How XML Binary Restored the Fortunesof In
Bullard, Claude L (Len) wrote:

> XML Binary is just an encoding, right?  

That remains to be seen. Many proposals are decidedly not just an 
encoding for the XML infoset.

>It is faster, right?  

Sometimes. It is also slower sometimes. And sometimes there's no obvious 
difference. It all depends on which documents, parsers, tools, and 
benchmark techniques one chooses to test.

It is far from self-evident that binary formats are necessarily faster 
than text. The best that can be said is that some parsers for some 
binary formats are faster than some other parsers for XML text. 
Honestly, I'm not sure if even this much has been proved for genuine 
lossless encodings of XML.

>It 
> can be a lossless encoding, right?

Yes, it can be. Will it be? That remains to be seen. Far more proposals 
for this format are lossy than not. It really tends to depend on how one 
defines lossless and lossy.

Far too much effort has been spent shouting supposed self-evident truths 
about how much faster/smaller/sexier binary formats are. Little in the 
way of evidence has been produced, especially when:

1. You rule out all the lossy formats
2. You don't choose the slowest text parser out there to compare to.

Personally, I'm not convinced that there isn't another factor of ten 
performance gain to be had in the world of real XML parsing, though 
doing that will probably require ditching DOM and SAX in favor of a more 
performance tuned API. Still, I doubt we've yet hit the end of the line 
when it comes to XML parsing algorithms. I could well be wrong about 
that, but it would be truly ironic if two weeks after binary XML goes to 
REC, some grad student somewhere releases a text parser that beats the 
pants off the binary parsers.

I suspect this would be more likely to happen if companies like Sun 
devoted their brain power to XML parsing algorithms rather than 
inventing new formats.

-- 
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.