users@jaxb.java.net

Re: Problem: Unmarshaller throws exception even if ValidationEventHandler returns true

From: Kohsuke Kawaguchi <Kohsuke.Kawaguchi_at_Sun.COM>
Date: Wed, 14 May 2003 11:08:49 -0700

There are certain errors it can't recover from. And in 1.0, "unexpected
element" is one of them. I guess the error severity should have been
FATAL_ERROR.

So I'm afraid what you are seeing is by design. The wrong error level
will be fixed in the next release (and unexpected element will become a
recoverable error in the next release.)

regards,
--
Kohsuke KAWAGUCHI                  408-276-7063 (x17063)
Sun Microsystems                   kohsuke.kawaguchi_at_sun.com