Re: Questions.

"lrargerich" <[email protected]>
Newsgroups gmane.text.xml.xmlpull.devel
Message-ID <[email protected]>
--- In xmlpull-dev@y..., Stefan Haustein <haustein@k...> wrote:
> > 3) Does the nextText method "eats" the current event passing the
parser
> >    to the text event (or end_tag) or it just returns the next text   
> >    content but the parser remains in its actual state?
> 
> nextText "eats" the text; otherwise, the state would be inconsistent
> for <tag></tag> vs. <tag>text</tag>
> 
> Best,
> Stefan

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)
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.