users@jaxb.java.net

Re: Specified conversion customization is not used.

From: Kohsuke Kawaguchi <Kohsuke.Kawaguchi_at_Sun.COM>
Date: Fri, 08 Aug 2003 08:39:31 -0700

It seems to me that you might be misunderstanding how the XPath is
working. Your binding says you are adding two identical customizations
to the same node (namely, "Code_Type" simple type.)

And why you are specifying the following outer @node, when your inner
@node ignores this completely?

  <jxb:bindings node="//xs:complexType[@name='ROOTType']/xs:choice/xs:se
  quence[1]/xs:sequence">



Since one of them is redundant, that's why you are getting "unused
conversion customization"

Try "-mode forest" compiler option to see how your external
customizations are internalized.

regards,
--
Kohsuke Kawaguchi                  408-276-7063 (x17063)
Sun Microsystems                   kohsuke.kawaguchi_at_sun.com
---------------------------------------------------------------------
To unsubscribe, e-mail: users-unsubscribe_at_jaxb.dev.java.net
For additional commands, e-mail: users-help_at_jaxb.dev.java.net