users@jaxb.java.net

Re: marshaling without validation (for debugging)

From: Kohsuke Kawaguchi <Kohsuke.Kawaguchi_at_Sun.COM>
Date: Tue, 15 Jul 2003 11:16:39 -0700

Antoine Brun <Antoine.Brun_at_INRIA.FR> wrote:
> For debugging purpose I would like to marshall the object to XML without
> validation so that I can see how the element is missing, is it possible?

Sure. Just write your own ValidationEventHandler that returns true, and
set it to the marshaller.



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