Re: SAX or DOM?

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

> --- Aleksander Slominski <[email protected]>
> wrote:
> > "Nikhil C. Khedkar" wrote:
> >
> > >     Ok, I am using PullParser2_1_8_SMALL.jar,
> > > XPP3/MXP1 implementation. What does it use SAX or
> > DOM?
> >
> > that does not use Xerces at all
>   OK, this may sound elementary, but if this parser
> does not require xerces, which one and for what
> reason, requires it?

there can be different parser implementations and
if all are implementing the same API then you can
chose implementation that is meeting your needs

> What is the advantage in using
> xerces/xerces2, if the pullparser small works without
> it?

there are different tradeoffs involving performance, memory
footprint, and required features (like do you need validating parser),
see this implementation matrix that lists features of each parser
implementing XmlPull API:

    http://www.xmlpull.org/impls.shtml

and choose implementation that is best for you.

thanks,

alek


------------------------ Yahoo! Groups Sponsor ---------------------~-->
Get 128 Bit SSL Encryption!
http://us.click.yahoo.com/JjlUgA/vN2EAA/kG8FAA/2U_rlB/TM
---------------------------------------------------------------------~->

To unsubscribe from this group, send an email to:
[email protected]

 

Your use of Yahoo! Groups is subject to http://docs.yahoo.com/info/terms/
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.