Kenny MacLeod wrote:
> Hi,
>
> I've been trying to use RI 2.0.2 to use xjc:javaType in the
> globalBindings section as described in this issue, but I still can't get
> it to work.
>
> When I try to add it, XJC complains that it's an invalid binding file:
>
> [ERROR] cvc-complex-type.2.4.a: Invalid content was found starting with
> element 'xjc:javaType'. One of
> '{"http://java.sun.com/xml/ns/jaxb":javaType,
> "http://java.sun.com/xml/ns/jaxb":serializable,
> "http://java.sun.com/xml/ns/jaxb/xjc":serializable,
> "http://java.sun.com/xml/ns/jaxb/xjc":superClass,
> "http://java.sun.com/xml/ns/jaxb/xjc":superInterface,
> "http://java.sun.com/xml/ns/jaxb/xjc":typeSubstitution,
> "http://java.sun.com/xml/ns/jaxb/xjc":smartWildcardDefaultBinding,
> "http://java.sun.com/xml/ns/jaxb/xjc":simple,
> "http://java.sun.com/xml/ns/jaxb/xjc":generateElementProperty,
> "http://java.sun.com/xml/ns/jaxb/xjc":noMarshaller,
> "http://java.sun.com/xml/ns/jaxb/xjc":noUnmarshaller,
> "http://java.sun.com/xml/ns/jaxb/xjc":noValidator,
> "http://java.sun.com/xml/ns/jaxb/xjc":noValidatingUnmarshaller}' is
> expected.
My apologies. I forgot to update the global binding portion of this.
I'll fix this.
--
Kohsuke Kawaguchi
Sun Microsystems kohsuke.kawaguchi_at_sun.com