users@jaxb.java.net

Unexpected end of element

From: Christoph Brunner <news_chbr0001_at_YAHOO.DE>
Date: Thu, 19 Jun 2003 02:57:33 -0600

Hi,

i unmarshall an invalid xml document and i got a javax.xml.bind.UnmarshalException: Unexpected end of element
exception.

I think this exception is thrown because the adequate element is required and it is not in the xml file.

Is there a possiblity to throw the error to my event handler an not throw an exception, because if the exception is thrown the unmarshalling process is aborted?

Thanks
Christoph Brunner