Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Unmarshaller StAX API clarification #33

Closed
Tomas-Kraus opened this issue Jun 22, 2004 · 7 comments
Closed

Unmarshaller StAX API clarification #33

Tomas-Kraus opened this issue Jun 22, 2004 · 7 comments
Labels
bind framework component enhancement New feature or request Major Priority
Milestone

Comments

@Tomas-Kraus
Copy link
Contributor

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]

@Tomas-Kraus
Copy link
Contributor Author

@glassfishrobot Commented
Reported by ryan_shoemaker

@Tomas-Kraus
Copy link
Contributor Author

@glassfishrobot Commented
Was assigned to ryan_shoemaker

@Tomas-Kraus
Copy link
Contributor Author

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

@Tomas-Kraus
Copy link
Contributor Author

@glassfishrobot Commented
ryan_shoemaker said:
proposed changes have been integrated.

@Tomas-Kraus
Copy link
Contributor Author

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

@Tomas-Kraus
Copy link
Contributor Author

@lukasj
Copy link
Contributor

lukasj commented Apr 2, 2020

javadoc contains:

This method assumes that the parser is on a START_DOCUMENT or START_ELEMENT event.

@lukasj lukasj closed this as completed Apr 2, 2020
@lukasj lukasj added enhancement New feature or request and removed Type: Improvement labels May 19, 2022
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
bind framework component enhancement New feature or request Major Priority
Projects
None yet
Development

No branches or pull requests

3 participants