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

binary XML API and scientific use cases [Re: [ANN] nux-1.0beta

xml binary
Wolfgang Hoschek wrote:

> This is to announce the nux-1.0beta2 release (http://dsd.lbl.gov/nux/).
> Nux is a small, straightforward, and surprisingly effective 
> open-source extension of the  XOM XML library.
hi Wolfgang,

the natural question is: how does it compare to XBIS?

can it be divorced from XOM?

in particular LGPL and Apache/BSD are not compatible (it seems nux is 
under BSD and XOM under LGPL ...).

> Features include:
>     •     Seamless W3C XQuery and XPath support for XOM, through Saxon.
>     •     Efficient and flexible pools and factories for XQueries, XSL 
> Transforms, as well as Builders that validate against various schema 
> languages, including W3C XML Schemas, DTDs, RELAX NG, Schematron, etc.
>     •     Serialization and deserialization of XOM XML documents to 
> and from  an efficient and compact custom binary XML data format (bnux 
> format), without loss or change of any information.
>     •     For simple and complex continuous queries and/or 
> transformations over very large or infinitely long XML input, a 
> convenient streaming path filter API combines full XQuery support with 
> straightforward filtering.
>     •     Glue for integration with JAXB and for queries over 
> ill-formed HTML.
>     •     Well documented API. Ships in a jar file that weighs just 60 
> KB.
> Changelog:
> XOM serialization and deserialization performance is more than good 
> enough for most purposes. However, for particularly stringent 
> performance requirements this release adds "bnux", an option for 
> lightning-fast binary XML serialization and deserialization. 

did you compare BNUX and XBIS performance?

> Contrasting bnux with XOM:
>     •     Serialization speedup: 2-7 (10-35 MB/s vs. 5 MB/s)
>     •     Deserialization speedup: 4-10 (20-50 MB/s vs. 5 MB/s)
>     •     XML data compression factor: 1.5 - 4
> For a detailed discussion and background see 
> http://dsd.lbl.gov/nux/api/nux/xom/binary/BinaryXMLCodec.html
XOM is tree model so how do you do streaming - it by streaming partial 
XOM tree construction/deconstruction when you access data (overriding 
|endElement()| in |NodeFactory|) and manually keep detach-ing() nodes or 
just letting them to be GCed?

what are use cases for nux: what do you plan to use it for?

are use cases related to XML Binary Characterization 

i am a bit disappointed that scientific requirements are completely 
omitted form XBC use cases - the closest i could find is 
http://www.w3.org/TR/xbc-use-cases/#FPenergy but it skips over whole 
issue how to transfer array of doubles without changing endianess ...

we did lot of work in past related to XML performance (in Indiana 
University and Binghamton) and are very concerned that whatever binary 
XML will be characterized/standardized in W3C will be of no much use for 
scientific computing and grids ...



The best way to predict the future is to invent it - Alan Kay


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.