users@jaxb.java.net

Re: Validation Error

From: Kohsuke Kawaguchi <Kohsuke.Kawaguchi_at_Sun.COM>
Date: Mon, 05 May 2003 08:33:24 -0700

Yes. You can write your own ValidationEventHandler, and you can print
out the error location (such as line number, file name).

See the javadoc for javax.xml.bind.ValidationEventHandler and
Unmarshaller.setEventHandler(...);

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