[squeak-dev] XMLPullParser question

Previous Topic Next Topic
 
classic Classic list List threaded Threaded
2 messages Options
Reply | Threaded
Open this post in threaded view
|

[squeak-dev] XMLPullParser question

Chris Muller-5
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?

Reply | Threaded
Open this post in threaded view
|

Re: [squeak-dev] XMLPullParser question

David Mitchell-10
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 <[hidden email]> 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?