Andreas Pakulat wrote:
> Andreas Pakulat schrieb:
>> Hi,
>>
>> the generated java sources don't have @XmlType.namespace set, which lets
>> the JAXBContext creation fail due to Elements that are named the same
>> but live in different namespaces.
>>
>> I tried to look into the JAXB2.0 Spec but I couldn't find how to tell
>> xjc to generate the @XmlType.namespace annotation for every class. How
>> do I do that?
>
> Seems like something was messed up because I didn't clean the output
> dir. Now I do get the @XmlType.namespace annotation for all classes.
Good!
Let us know if you hit other problems...
--
Kohsuke Kawaguchi
Sun Microsystems kohsuke.kawaguchi_at_sun.com