#936 PullToStax starts in incorrect state

v9.1
closed
Michael Kay
5
2012-10-08
2009-03-27
Michael Kay
No

The initial state of the StAX XMLStreamReader delivered by the PullToStax class is incorrect: it initial state is state number 0, and transitions to START_DOCUMENT state after the first call to next(), whereas the StAX specification stipulates that the stream should already be positioned on the START_DOCUMENT event when first created.

A patch will be placed in Subversion.

Discussion

  • Michael Kay
    Michael Kay
    2009-06-17

    Fixed in 9.1.0.7