
[This post is by Jesse Wilson from the Dalvik team. —Tim Bray]Using XmlPullParser is an efficient and maintainable way to parse XML on Android. Historically Android has had two implementations of this interface:KXmlParser, via XmlPullParserFactory.newPullParser().ExpatPullParser, via Xml.newPullParser().The implementation from Xml.newPullParser() had a bug where calls to nextText() didn’t always advance...