users@jaxb.java.net

Re: Using javaType to map custom classes

From: Kohsuke Kawaguchi <Kohsuke.Kawaguchi_at_Sun.COM>
Date: Fri, 21 Feb 2003 07:26:11 -0800

> When I do this, I get the following error:
> Unable to load "com.harris.MyName" Is this class available in the classpath?
>
> I get this error even after including com.harris.MyName.

Could you elaborate on what you mean by "including com.harris.MyName"?
How did you add it to the classpath?


> So, as a test, I changed the name attribute to "java.lang.String"
> In which case, I get the following error:
> Specified conversion customization is not used.

Is this simple type used from somewhere? The error message suggests that
it's not, or there's a bug in RI, which is also a possibility.
If you are indeed using this simple type in your schema, could you send
us the schema so that I can look into it?


> Is this feature supported?

Yes. I think the next release will include a sample that uses this very
customization.

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