Hmm, maybe better for me to stick with kxml2 and just bundle it in the app, its not the fastest parser but I have been using it for a while.
On Mon, Sep 29, 2008 at 6:44 PM, hackbod <[EMAIL PROTECTED]> wrote: > > I should also add, we strongly encourage you to use the built-in SAX > parser through the android.util.Xml class. If you really really need > a pull parser, you can use the XmlPullParser there, but it will be > slower (they are both built on top of the same underlying push-based > parser), and as the doc says there may be some issues in the > implementation. > > And, of course, if you are bundling XML files with your app, please > put them in as XML resources so that you can use the 10-100x faster > compiled XML parser. > > On Sep 29, 6:32 pm, hackbod <[EMAIL PROTECTED]> wrote: > > The generic XML pull parser is still available: > > > > > http://code.google.com/android/reference/android/util/Xml.html#newPul...() > > > > On Sep 29, 6:20 pm, "Shane Isbell" <[EMAIL PROTECTED]> wrote: > > > > > I was using the kxml2 parser but it looks as though the latest SDK > dropped > > > it, so now I'm importing it. What other options besides Dom and SAX > come > > > bundled on the platform? > > > > > One interesting parser is aalto: > > > > >http://www.cowtowncoder.com/hatchery/aalto/index.html > > > > > I haven't tried it yet but the non-blocking IO on the stream looks > > > interesting. > > > > > Shane > > > > > On Mon, Sep 29, 2008 at 6:09 PM, zl25drexel <[EMAIL PROTECTED]> > wrote: > > > > > > the android SDK also has a pull parser implementation, since it's > > > > already build-in, i would probably go for that one because i prefer > to > > > > add as little 3rd party jars as possible. I would be interested in > the > > > > performance comparison between the android parser vs. woodstox tho. > > > > > > On Sep 29, 8:15 pm, "Shane Isbell" <[EMAIL PROTECTED]> wrote: > > > > > This is one is pretty fast, don't know if it will run on Android. > > > > > > >http://woodstox.codehaus.org/ > > > > > Shane > > > > > > > On Mon, Sep 29, 2008 at 5:12 PM, zl25drexel <[EMAIL PROTECTED]> > > > > wrote: > > > > > > > > Hi > > > > > > > > I am just wondering what is the best performing xml parser (speed > > > > > > wise) for android (or for java in general). Does anyone know? > > > --~--~---------~--~----~------------~-------~--~----~ You received this message because you are subscribed to the Google Groups "Android Developers" group. To post to this group, send email to android-developers@googlegroups.com To unsubscribe from this group, send email to [EMAIL PROTECTED] For more options, visit this group at http://groups.google.com/group/android-developers?hl=en -~----------~----~----~----~------~----~------~--~---