Parsing of an XML document with XMLPullParser reports false to #isStartTag upon the initial opening of the file. It does correctly report true to #isStartDocument, but isn't #isStartTag generic to any kind of element; whether the root element or not?
Haven't used XMLPullParser in Squeak, but in the DOM, the root element is the parent of the document root. In other words, there is no start tag (or end tag) for the root element.
--David
On Tue, Sep 29, 2009 at 10:20 AM, Chris Muller cmm@4dst.com wrote:
Parsing of an XML document with XMLPullParser reports false to #isStartTag upon the initial opening of the file. It does correctly report true to #isStartDocument, but isn't #isStartTag generic to any kind of element; whether the root element or not?
squeak-dev@lists.squeakfoundation.org