|
XML Pull Parsing
XmlPull project is dedicated to be a site for
Read a short paper about Pull Parsing APIs with sample code demonstrating each API. before 2000: XML pull parsers such as kXML1, XPP1, BEA, NekoPull, and other in Java (as well in other languages notably .NET and PullDom in Python) were created and used but Java code was not portable between different APIs started around 2000: grassroots effort by Stefan Haustein and Aleksander Slominski to create a Common API for XML Pull Parsing (XmlPull) that aimed to define a simple and elegant pull parsing API that will provide a standardized way to do pull XML parsing from J2ME to J2EE and was very successful 2002-2003: JSR 173 expert group was created to standardize XML pull parsing in Java world and included XPP, kXML, and BEA pill parser authors 2004: StAX RI is available and few other StAX implementations emerged Mailing lists where both user and developers can ask general XML Pull Parsing questions and post ideas for future StAX builders mailing list. Download StAX RI source code and browse read-only CVS mirror of perforce. List of StAX and XmlPull APIs implementations. MAINTENANCE SECTION: It is a minimalist API: very easy to implement standalone or on top of existing parser. The API allows both fast high level iteration (using next() method) and low level tokenizing (using nextToken() token) and is designed for easy building on top of it SAX, XML pull parsers that uses iterators with event objects, or even DOM implementations. To to support J2ME and real small implementation parsing of DOCDECL is optional (but DOCDECL can be reported if requested). The aim is to provide a similar but orthogonal pull parsing basis to widely successful push parsing SAX API. The XmlPull API is in public domain in hope that it will be embraced by Java developers (conformance tests are under LGPL license to minimize risk of incompatible implementations). Here you will find documentation describing concepts behind XMLPULL and gentle introduction with samples.
XMLPULL API is available freely. You can download XmlPull API as tarball or zip file. We are also providing access to the latest API version via anonymous CVS. However to use XMLPULL you will need download an implementation of XmlPull API. There are available both user and developer mailing lists to allow discussion of XmlPull API, requesting new enhancements and report bugs. We hope that you find XmlPull API useful in your applications (and let us know your comments),
|