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

Re: Compiled XML

compiled xml
3/26/2002 2:46:41 PM, "Nick Johnson" <arachnid@m...> wrote:

>Hello All,
>I'm new to the xml-dev list, so please forgive (and point out) any stupid
>mistakes :P

Not by any means a stupid question, but a frequently asked (and not definitively
answered) question.  There are two issues - compression of XML to remove the
"bloat" and saving a parsed data structure in binary form to reduce the overhead 
of re-parsing.

The first issue is definitely one best handled by compression, but whether 
a generic compression such as gzip or a compression scheme that exploits the
specific regularity of XML is still debated.  Well, at least for wireless 
devices one can make a credible case that an XML-specific compression scheme is
more efficient of the various limited resources on a wireless device.  In general,
though, you would be well-advised to not try to compress arbitrary text better 
than gzip can.  You'll fail.

The binary XML issue comes up every few months and generates a lot of dispute.
 The "mainstream" position seems to be that XML is really not all
that hard to parse, the parsers are well-optimized, the overhead of doing the
byte swapping and other binary format conversion to transfer parsed data from 
one platform to another outweighs any theoretical advantage of having a 
"compiled" form, and that the whole issue is a red herring.  I expect that
the holders of the minority view (Hi, Al!) will let you know their response.

  • References:


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.