Re: [xml-dev] [Java] Create a new StAX parser...

From
David <>
To
Date
2010-10-05T00:16:17Z
ID
<>
Thread
Re: [xml-dev] [Java] Create a new StAX parser...
Curious, what is it you are trying to accomplish that leads you to 
want a new instance of the parser ?
Perhaps by describing what your want to do at a higher level someone can 
suggest an alternative.
To my knowledge there is no standard StAX EventReader constructor which 
can be made out of another one,
although you could write one.

David A. Lee

http://www.xmlsh.org


On 10/4/2010 8:02 PM, Johannes.Lichtenberger wrote:
> To describe the code a little bit I'm checking the Level as well as
> Element with all attributes and namespaces, but it's for sure error
> prone, so maybe I'll just have to create a counter at the original
> parser and then move the new parser to the position where the current
> parser is.