javaee / jaxb-spec

Formerly jsr222.java.net
Other
9 stars 16 forks source link

Unmarshaller StAX API clarification #33

Open glassfishrobot opened 20 years ago

glassfishrobot commented 20 years ago

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]

glassfishrobot commented 20 years ago

Reported by ryan_shoemaker

glassfishrobot commented 20 years ago

ryan_shoemaker said: Added link to javadoc and updated release info.

glassfishrobot commented 20 years ago

ryan_shoemaker said: proposed changes have been integrated.

glassfishrobot commented 20 years ago

Was assigned to ryan_shoemaker

glassfishrobot commented 7 years ago

This issue was imported from java.net JIRA JSR222-33