users@jaxb.java.net

Re: Unexpected end of element

From: Kohsuke Kawaguchi <Kohsuke.Kawaguchi_at_Sun.COM>
Date: Tue, 24 Jun 2003 09:07:33 -0700

The stack trace seems to suggest that the error is indeed reported. But
since this is a fatal error, it then aborts the processing (by throwing
an exception *after* reporting it to your handler.)

This behavior is by design, and is analogous to what SAX parsers do
after encountering a fatal error.


Thus it seems to me that what you are really asking is to improve the
unmarshaller so that it can recover from this error (IOW, making this
error non-fatal). Is that right?


--
Kohsuke Kawaguchi <kohsuke.kawaguchi_at_sun.com>