The getElementText() and nextTag() methods of XMLEventReaderImpl advance the
position in the stream but do not update fLastEvent if there was no peeked event.
As such, a call of the form:
will fail with the exception "parser must be on START_ELEMENT to read next text"
because the fLastEvent was left pointing to an END_ELEMENT in  above and not
updated in .