users@jaxb.java.net

Re: On Demand Validation Errors

From: Kohsuke Kawaguchi <Kohsuke.Kawaguchi_at_Sun.COM>
Date: Fri, 17 Jan 2003 11:18:20 -0800

> The additional information I would find useful would be the
> tag name and the offending value.
>
> Presumably this would require a change to the spec though?

If you'd like see it as a part of API so that you can access it no
matter which JAXB provider you use, the answer is yes, but JAXB RI can
always expose additional information through a proprietary interface.

Generally this is difficult to support since a JAXB provider might be
using an external schema processor, so it could be hard to obtain the
element name/attribute name or the characters caused the error.


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