[Date Prev][Date Next] [Thread Prev][Thread Next] [Date Index] [Thread Index]

Bug#305229: ITP: libxpp2-java -- simple and fast incremental XML parser

Hash: SHA1

Package: wnpp
Severity: wishlist

* Package name    : libxpp2-java
  Version         : 2
  Upstream Author : Aleksander Slominski <aslom@extreme.indiana.edu>
* URL or Web page : http://www.extreme.indiana.edu/xgws/xsoap/xpp/
* License         : Indiana University Open Source License
  Description     : simple and fast incremental XML parser

 Xml Pull Parser (in short XPP) is a streaming pull XML parser and
 should be used when there is a need to process quickly and efficiently
 all input elements (for example in SOAP processors). Pull parsing is
 just one level up from tokenizing XML (and that is actually how XPP2
 default implementation is done). This means that XPP is representing the
 simplest way of processing XML that you can get (working with tokenizer
 would be even lower level but is not simple and most of applications
 would be much more complex to extract useful information from XML tokens
 ...). With XPP pull parser it is easy to build a next layer on top of it
 such as standard SAX2 push model (a prototype SAX2 driver for XPP2 is
 available). Every SAX2 parser has a tokenizer and a pull interface
 buried inside and XPP2 exposes this layer allowing for faster XML
 processing - and that is what I wanted to achieve in XPP2 and what makes
 this project interesting :-)

 XPP2 (the second version of XPP) consists of two parts: generic API and
 its implementations. The implementations are pluggable and currently
 available default one is optimized for size and speed and is not
 exposing DTD, entities, comments, or processing instructions to the
 user. Another one that will be using Xerces 2 XNI is under
 development. On top of XPP2 parser I have built a very simple XML
 document model API that allows to create XML node tree incrementally (so
 only parts of XML document that user read from input are actually in
 memory). As incremental and non-incremental node tree APIs are almost
 identical the user may access incremental tree node not knowing that it
 is constructed on demand! Please see an article on IBM developerWorks
 where XPP2 document model is compared with other leading Java
 Homepage: <http://www.extreme.indiana.edu/xgws/xsoap/xpp/>

See http://java.debian.net/index.php/PackagingDom4J

Note: this is not the same one as libxpp3-java #251303

- -- 
 : :' :rnaud
 `. `'  
Java Trap: http://www.gnu.org/philosophy/java-trap.html
Version: GnuPG v1.4.0 (GNU/Linux)


Reply to: