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

define unmarshal behavior for invalid content #10

Open
glassfishrobot opened this issue Oct 21, 2003 · 3 comments
Open

define unmarshal behavior for invalid content #10

glassfishrobot opened this issue Oct 21, 2003 · 3 comments

Comments

@glassfishrobot
Copy link

Submitted by David Bau, entered by Joe Fialli.

Request is to define unmarshal behavior of invalid content when unmarshalling
validation is disabled.

Here is the exact content that is being requested to be defined by the
specification.
Extracted from JAXB 1.0 Specification, Section 2.1.2 Binding Framework, Ph 3

"How a JAXB technology implementation handles unmarshalling of an invalid
document when validation is disabled is implementation-specific. The same holds
true for marshalling an invalid content tree. It is expected that once an
implementation is aware that it cannot unambiguously complete unmarshalling or
marshalling, it will terminate processing with an exception."

Environment

Operating System: All
Platform: All

Affected Versions

[1.0]

@glassfishrobot
Copy link
Author

Reported by @jfialli

@glassfishrobot
Copy link
Author

@jfialli said:
David Bau submitted jaxb20-note-0006 in File Sharing [notes] directory.
https://jsr222.dev.java.net/files/documents/919/1402/robust-binding.txt.

@glassfishrobot
Copy link
Author

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

Sign up for free to subscribe to this conversation on GitHub. Already have an account? Sign in.
Projects
None yet
Development

No branches or pull requests

2 participants