users@jaxb.java.net

Re: Does not throw an validation exception

From: Kohsuke Kawaguchi <Kohsuke.Kawaguchi_at_Sun.COM>
Date: Mon, 05 May 2003 09:09:03 -0700

I tried to compile the schema but it didn't work because I don't have
XMLDataConvertor you are using.

But now I see what the problem is. Your date "20010501" is not a valid
value for xs:date. So the validator flags an error at this point. (Now
there could be a bug for it to fail to report that problem, but I can't
really test it unless I have your custom datatype converter)

Once a validator finds an error, it goes into the panic mode, so that it
won't report any false error messages. This makes it skip the next
problem, since those two errors are so nearby and the validator thinks
those are a part of the same errors.

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