Re: Pull parser versions

Aleksander Slominski <[email protected]>
Newsgroups gmane.text.xml.xmlpull.devel
Message-ID <[email protected]>
"Nikhil C. Khedkar" wrote:

>    can you provide me with some info on the different
> versions of XML pull Parsers that u distribute in
> PullParser2_1_8\build\lib directory. I tried seraching
> for the same on the site and also the documentation,
> didn't find any.

the main page for XPP (including downloads and everything else):

   http://www.extreme.indiana.edu/xgws/xsoap/xpp/

and there are three versions (flavours?) of XPP

XPP1: this was the first released version and as such had some
nice ideas but also lot of things that could be done better

XPP2: is a complete redesign to make XPP2 much more
flexible allowing between other things to have multiple
implementation of XPP2 API. it had also ultra lightweight
and very fact XML document object model

XPP3: is implementing XmlPull API and when compared
to previous versions is a great simplification and
as well has much easier to use interface that can be
quickly learn and used efficiently with few additional
methods to make typical parsing really easy and robust
(trio of nextTag/nextText/require)

as soon as XPP3 reaches the same level of stability
as XPP2 then it will ultimately replace XPP2
as recommended version (XPP2 will be deprecated).

this day is coming real soon :-)


> Can you please provide me with a
> comprehensive info. abt each one, especially

those are different parts of XPP2


>
> PullParser2_1_8_INTF.jar and

this is just XPP2 API (no implementation)
good to compile code that has no dependency
on implementation (XPP2 had two implementations
one based on XPP1 and another using Xerces2)

>
> PullParser2_1_8_SMALL.jar?

this minimal version of XPP2 that has working parser
but has not all other parts of XPP2 API implemented
(run jar tvf PullParser2_1_8_SMALL.jar
to see what is available)

hope it helps.

thanks,

alek
lmpx.com only provides a reader for public news (NNTP) servers. It is not affiliated with the servers or forums shown here and is not responsible for the content of articles, which is written by their respective authors.