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

Re: XML Binary and Compression

awk binary and
Alessandro Triglia scripsit:

> If I devise an XML-aware compression algorithm, some "loss" of literal
> contents will usually be acceptable:  kind and length of whitespace
> inside tags; kind of quotes around attribute values; use of numeric
> character references; use of empty-element tags vs. start-tag/end-tag
> pairs with nothing in between; and so on.  This list can grow
> considerably.  By exploiting its knowledge of XML *and* by regarding
> such syntactic "information" as unessential, an XML-aware compression
> algorithm can achieve better performance than a generic compression
> algorithm.  

These all sound reasonable, but experience shows that nothing will
establish their usefulness except widespread testing over lots of different
kinds of loads.  For example, if one consistently uses a numeric character
reference, it may well be compressed just as tightly as the corresponding
UTF-8 character or conceivably better.

So if you believe this, implement, release your implementation as Open Source,
and let the games begin.

John Cowan   <jcowan@r...>   http://www.ccil.org/~cowan
"One time I called in to the central system and started working on a big
thick 'sed' and 'awk' heavy duty data bashing script.  One of the geologists
came by, looked over my shoulder and said 'Oh, that happens to me too.
Try hanging up and phoning in again.'"  --Beverly Erlebacher


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.