Hi,
Im using JAXB RI 2.1 to unmarshal my documents, and I'm currently facing the following problem: I have different input XML documents that contain type information via the [i]xsi:type[/i] attribute. The application does not know all possible types used in the input documents. When an unknown type occurs, I want JAXB to report an error. Unfortunately, JAXB just uses the base type and does not report an error.
I've come across <a href="
http://weblogs.java.net/blog/kohsuke/archive/2006/04/why_doesnt_jaxb.html" target="_blank">Kohsuke's blog</a> where the use of a ValidationEventHandler is recommended. Unfortunately, no error is reported this way either.
Can somebody help out?
[Message sent by forum member 'ck1' (ck1)]
http://forums.java.net/jive/thread.jspa?messageID=354226---------------------------------------------------------------------
To unsubscribe, e-mail:
users-unsubscribe@...
For additional commands, e-mail:
users-help@...