I've also tried without the extensionbindingprefixes or with xjc namespace or any other namespaces configuration. Without the binding the generation works ok.
I've verified every similar error that i could find on google but i wasn't able to find the problem. I'm now using the 2.2.4 version of jaxb. In the past i was using jaxb 1 and the generation was working properly. I'm using xjc with ant. Thanks a lot!
jxb:bindings allows extension, but, the alient/extension element must be namespace qualified.
[1.1] You should take out xs as jxb:extensionBindingPrefixes value. Take the whole attribute out.
 Try this instead this.
Joined: May 23, 2011
Thanks a lot. I don't know how i've missed the jxb in the baseType tag.
It also works like this:
Any advantage in using  ?
Joined: Jan 18, 2011
>Any advantage in using  ? As far as I'm concerned, it is a valid construction in compliance with the jaxb 2 binding schema.
The jxb:baseType should be a child of jxb:property. On the spec, it shouldn't be directly under jxb:bindings.
As to the content model of jxb:baseType, both kinds of rendering should be equally fine.