Kenny MacLeod wrote:
> Hi,
>
> I've been trying to use the xjc:javaType vendor customisation as per:
>
> https://jaxb.dev.java.net/nonav/jaxb20-fcs/docs/vendorCustomizations.html#javaType
>
> "The <xjc:javaType> customization can be used just like the standard
> <jaxb:javaType> customization"
>
> I currently use jaxb:javaType with the xmlType attribute, within the
> jaxb:globalBindings section. This allows me to remap certain Schema
> datatypes across the whole schema.
>
> However, when I try to use xmlType with xjc:javaType, XJC throws up an
> error:
>
> "Attribute 'xmlType' is not allowed to appear in element 'xjc:javaType'"
>
> So xjc:javaType isn't quite a drop-in replacement.
>
> I've filed an issue for this:
>
> https://jaxb.dev.java.net/issues/show_bug.cgi?id=182
Thanks for filing a bug. See
http://forums.java.net/jive/thread.jspa?threadID=16181 for my reply.
--
Kohsuke Kawaguchi
Sun Microsystems kohsuke.kawaguchi_at_sun.com