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.unmarshal method that takes java.io.Reader #43

Open

Description

@glassfishrobot

XML can be read from java.io.Reader, and often people do that, yet the
javax.xml.bind.Unmarshaller interface doesn't have a version that takes
java.io.Reader.

This is a strange omission given that the Marshaller has a version of the
marshal method that takes java.io.Writer.

Currently the user can work around this problem by:

unmarshaller.unmarshal(new StreamSource(reader));

Environment

Operating System: All
Platform: All

Affected Versions

[2.0 v0.4]

Activity

  1. glassfishrobot commented on Oct 27, 2004

    @glassfishrobot
    Author

    Reported by kohsuke

  2. glassfishrobot commented on May 11, 2017

    @glassfishrobot
    Author

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

  3. added this to the milestone 1 milestone on May 11, 2017
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Metadata

Metadata

Assignees

Type

No type

Projects

No projects

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions