about author

Previous | Next Entry

November 30, 2002

Java: discovering limits of programming

alek blogs

insane blabbering without spelling (*)

XML Pull Builder API (XB1)

i love XML Pull Builder API and it may not be good sign as i am its author ...

Anyway, this is second reincarnation of XPP2 XmlPullNode but this time done with all very nice decomposition into interfaces and value objects and both really easy to use (no longer prefixes or raw XML names are required) and really fast and powerful - essentially can be as fast as streaming pull parser as user can for part of tree work with pull parser directly :-)

The API is modeled after XML Information Set and allows building incrementally XML trees from events streamed from pull parser (user can start navigating tree before whole XML input was parsed!) and has an unique ability to bypass tree building for selected sub trees to work directly with underlying event stream. This coupled with ability to create XML tree that can mix in any Java Object allows to represent objects derived from XML (databinding) in the XML tree.

The unique feature of API is ability to achieve high performance that is common in streaming parsers and ease of use associated with tree approaches in the same API by provising very precise control over XML tree creation and access to underlying streaming parser during tree creation (API users needs to do it if and only if they do want to bypass default tree creation and replace it with their customized object tree, work directly with XML events or just skip unneded parts of XML that do not need to be in XML node tree).

Now the challenge is how to do it in C++ and to make it easy (especially memory operations) so it can favorably compare to DOM ...



This blog is about:
XML, Java, and everything else (or nothing ..)

Find more about
blog author

Blogroll:
Sam Ruby
Russell Beattie
Diego Doval
Joel on Software
and some (almost) harmless entertainment: The BileBlog

Projects::
MicroLogger
Xydra
WSIF
XmlPull API
XPP3/MXP1
XSOAP
XMessages

RSS RSS 0.92
0.92 [validate]
2.0 [validate]

Filter Entries:
Life Category Specific RSS Feed
Java Category Specific RSS Feed
XML Category Specific RSS Feed
Computing Category Specific RSS Feed
Web Services Category Specific RSS Feed


Valid XHTML 1.0!


Powered by microBlog (C) Aleksander Slominski

Disclaimer: personal opinions and observations that may or may not be taken seriously, or even based on shared reality and generally are very unreliable and personal and snapshots of volatile writer mind ...

NOTE: THIS PAGE IS UNDER CONSTANT DEVELOPEMENT