users@jaxb.java.net

Re: Error Message during Validation

From: Kohsuke Kawaguchi <Kohsuke.Kawaguchi_at_Sun.COM>
Date: Tue, 11 Mar 2003 12:41:54 -0800

In this particular case, I guess you have a simple type with a pattern
facet that limits itself to "ISSUE", and you are forgetting to set the
value.

And it looks like a bug in RI where it fails to identify the source node.
Could you set your own ValidationEventHandler to the validator and
capture the stack trace when your handleEvent method is called? That
would really help us track down where the problem is.

Also, try to marshal it out to XML, and in that way you'll quickly see
where you are missing some elements/attributes.


And JAXB RI doesn't support fail-fast validation.

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