Skip to content
This repository was archived by the owner on Sep 24, 2018. It is now read-only.
This repository was archived by the owner on Sep 24, 2018. It is now read-only.

Unmarshaller StAX API clarification #33

Description

@glassfishrobot

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]

Activity

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Metadata

Metadata

Type

No type

Projects

No projects

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions