users@jaxb.java.net

Re: XSD Data types

From: Kohsuke Kawaguchi <Kohsuke.Kawaguchi_at_Sun.COM>
Date: Mon, 13 Nov 2006 11:26:21 -0800

HeruMartinus.Salim_at_infineon.com wrote:
> Hi,
>
> I have tried. But when I call propertyInfo.getSchemaType, it returns
> null.

See the javadoc, it's not what you think it is. Poor naming. I admit.

Once you get to the world of XSComponent via
CPropertyInfo.getSchemaComponent(), you probably don't want to come back
to the rest of outline etc, as they don't retain much information about
their original XSD types.

-- 
Kohsuke Kawaguchi
Sun Microsystems                   kohsuke.kawaguchi_at_sun.com