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

Re: Parsing efficiency? - why not 'compile'????


efficiency of stop sign
J.Pietschmann writes:

 > Yes, there is no standard, nor a COTS implementation in wide use.
 > However, I've seen various applications and frameworks rolling
 > their own. In particular Cocoon can store a SAX event stream in a
 > sort of "binary XML", for the purpose of caching intermediate
 > results in an XML processing pipeline. Admittedly, this usage is a
 > bit special.

Many applications will store data in an optimized internal format for
efficiency.  XML is about interchange, however, and there does not
seem to be a screaming demand to interchange binary files instead of
XML documents.

I remember one paper where a person experimented with passing around a
serialized DOM tree and was surprised to find that it was larger than
the original, uncompressed XML.  It would be possible to do better, of
course, but we'd have to figure out what side of the 80/20 boundary
we'd be on.  We may just have to accept that the Tim B. twins (Tim
Berners-Lee and Tim Bray) have been right all along, and that
text-based formats really are efficient enough for the vast majority
of applications.

Finally, remember that standards are about the majority, not the
minority.  A standard is justified only if a lot of people use it:
there's no point standardizing for a few dozen users, since they can
work out a defacto solution if they need one.  It's the same reason
that a quiet residential intersection needs only a stop sign (or
perhaps not even that), while a busy intersection needs a street light
or even an overpass.


All the best,


David

-- 
David Megginson, david@m..., http://www.megginson.com/

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.