Re: SAX or DOM?

"Nikhil C. Khedkar" <[email protected]>
Newsgroups gmane.text.xml.xmlpull.devel
Message-ID <[email protected]>
--- 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? What is the advantage in using
xerces/xerces2, if the pullparser small works without
it?  
> 
> >     And yes the most important part is, will it
> work
> > with the latest xerces or not? If not which one
> will?
> 
> use PullParser2_1_8_X2.jar to use Xerces2.
> 
> > What is XNI 2 XmlPull?
> 
> it is implementation of XmlPull API that uses
> Xerces2, see:
> 
>   http://sourceforge.net/projects/xni2xmlpull/
> 
> (currently only CVS version but soon should be
> available
> as distribution package - as soon as i write nice
> build.xml ...)
> 
> > What is XNI?
> 
> this is internal Xerces2 interface that gives full
> access to internal
> Xerces pipeline. i used its pull parser
> configuration to do incremental
> SAX-like parsing  converted into XmlPull events. see
> XMLPullParserConfiguration description in this
> document for an overview:
> 
>    http://xml.apache.org/xerces2-j/xni-config.html
> 
> XNI is still under development (changes...) 
> hopefully stabilized by end of this year ...
> 
> > Does it have the
> > same APIs as XPP3/MXP1 or do I need to modify that
> > code?
> 
> it is exactly the same API and actually passes all
> XmlPull conformance tests
> 
> one reason to use xni2xmlpull may be if you need
> validation (or basically
> anything that Xerces2 provides) and you are willing
> to work with
> bigger and somewhat slower but very XML compliant
> implementation.
> 
> thanks,
> 
> alek
> 
> 
> 
> ------------------------ Yahoo! Groups Sponsor
> 
> 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/ 
> 
> 


__________________________________________________
Do you Yahoo!?
Y! Web Hosting - Let the expert host your web site
http://webhosting.yahoo.com/

------------------------ 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.