users@jaxb.java.net

xjc:javaType

From: Kenny MacLeod <kennym_at_kizoom.com>
Date: Tue, 13 Jun 2006 08:54:49 +0100

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


cheers
kenny