JAXBErrorHandler#warning [message #1231843] |
Wed, 15 January 2014 09:42  |
Eclipse User |
|
|
|
Hi there, i`m evaluation a MOXy org.eclipse.persistence:org.eclipse.persistence.moxy:jar:2.6.0-SNAPSHOT
and implemented custom javax.xml.bind.ValidationEventHandler as described in Using a ValidationEventHandler. Works fine, but i discovered, that while validating against a schema the JAXBErrorHandler#warning#L51 notifies the EventHandler with a severity ERROR instead of WARNING if some attribute is OXM-unmapped (from UnmarshalRecordImpl.startUnmappedElement). The problem is that i don`t want to OXM-map every element in the XML-data, but just validate against schema. The XML-data are perfectly valid, i validated them using 3rd party tools. It`s kind of confusing, since the data is valid, the OXM is valid, the unmarshalling works, but the validation fails. Should i open a JIRA issue for that? Thanks for the good job on MOXy!
|
|
|
|
|
Powered by
FUDForum. Page generated in 0.27158 seconds