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