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

Re: binxml proposal

  • From: "Joshua E. Smith" <jesmith@k...>
  • To: "Wayne Steele" <xmlmaster@h...>, xml-dev@x...
  • Date: Sat, 01 Apr 2000 09:17:39 -0500

It's been months since I actually read something in my XML inbox, but this
one caught my attention!

Nice work, Wayne.  Very clever using the illegal characters as tokens!
Magic strings are generally 4 ASCII characters, interpreted as a 32 bit
number.  BXML = 0x42584D4C for example.

While sprinkling the string table thru the document sounds appealing, it
isn't reasonable to do anything with an XML document until you get the
whole thing, because you can't tell if it's well formed until you see the
end tag.  So why bother?  Compression will probably be better if you put
the string table up front.

When I brought up the binary XML issue so long, long ago (in the context of
a "flame WAPForum for reinventing everything!" thread), I motivated the
binary XML discussion with two primary concerns:

- Compression
- Parsing Speed

To move forward on this proposal, I'd recommend that you convert some big,
nasty XML doc with namespaces and everything (e.g., an SVG doc) to this
format using a hack (Perl, emacs macros, etc.).  Then report:

Original document size
Gzip'd size of original
Binary document size
Gzip'd size of binary

How might we characterize the impact on parsing speed?

-Joshua Smith

This is xml-dev, the mailing list for XML developers.
To unsubscribe, mailto:majordomo@x...&BODY=unsubscribe%20xml-dev
List archives are available at http://xml.org/archives/xml-dev/


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.