Re: Re: Questions.

Stefan Haustein <[email protected]>
Newsgroups gmane.text.xml.xmlpull.devel
Message-ID <[email protected]>
>>nextText "eats" the text; otherwise, the state would be inconsistent
>>for <tag></tag> vs. <tag>text</tag>
>>
> 
> So if you do a getType after nextText does it return TEXT or whatever
> is "next" to the text ? (ie: END_TAG or START_TAG, never TEXT because
> there won't be two TEXT events together)

The second option is correct:
After nextText (), getType never returns TEXT. It returns whatever 
follows the text.

Best,
Stefan
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.