users@jaxb.java.net

Re: Customaziation and validation

From: Kohsuke Kawaguchi <Kohsuke.Kawaguchi_at_Sun.COM>
Date: Thu, 17 Apr 2003 10:21:37 -0700

> My binding looks like this:
>
> <jxb:globalBindings>
> <jxb.javaType
> name="java.util.Calendar"
> xmlType="xs:date"
>
> parseMethod="demo.util.DemoDatatypeConverter.parseDateToCal"
>
> printMethod="demo.util.DemoDatatypeConverter.printCalToDate"/>
> </jxb:globalBindings>
>
> I am assuming that if it works the serialize methods in the impl classes wil
> use my methods rather than the ones in javax.xml.bind.
>
> I'd appreciate any help.

Yeah, it should work. If it doesn't, I appreciate if you could post a
schema so that we can investigate what's going on.

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