You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
When trying to parse a stream of documents, woodstox produces events for first document and after an end-document event goes into end-of-input state and reports that it has no more events. Seems like it's not the intended behaviour.
For example the following code will print "Document start" only once.
That does seem unexpected. I think most testing has been done with token streams; I don't use event streams myself, ever (there is not much benefit to using, just overhead), so it is possible that something with interaction there might be presenting problems. Perhaps event construction logic does not take multi-doc mode into account, for example.
On plus side this might something relatively easy to fix.
I can see how this occurs, but not sure how easy it would be to resolve. Part of the problem is with use of Stax2 reference implementation, which can't rely on mode (since it does not know of it).
But I think I can look into this more after releasing intermediate 5.1.0 version.
When trying to parse a stream of documents, woodstox produces events for first document and after an end-document event goes into end-of-input state and reports that it has no more events. Seems like it's not the intended behaviour.
For example the following code will print "Document start" only once.
woodstox 5.0.3, stax2 4.0.0
The text was updated successfully, but these errors were encountered: