Open glassfishrobot opened 20 years ago
Reported by ryan_shoemaker
ryan_shoemaker said: Added link to javadoc and updated release info.
ryan_shoemaker said: proposed changes have been integrated.
Was assigned to ryan_shoemaker
This issue was imported from java.net JIRA JSR222-33
The new StAX APIs on javax.xml.bind.Unmarshaller need to specify that START_DOCUMENT is a legal state for the XMLStreamReader or XMLEventReader passed into the unmarshal() method.
The javadoc currently says that the methods throw IllegalStateException for anything other than START_ELEMENT.
Environment
Operating System: All Platform: All URL: https://jsr222.dev.java.net/nonav/api/javax/xml/bind/Unmarshaller.html
Affected Versions
[2.0 v0.4]