This is due to an issue in XJC, as reported here.
In short, Annox uses vendor extensions (i.e. special configuration elements like annox:annotate
) which are currently not supported in SCD-based bindings.
Unfortunately, I don't believe this will be fixed any time soo. Please use node
bindigs instead.
BTW, I have moved Annox to GitHub as well:
You can now annotate in Java syntax:
<xsd:complexType name="FooType">
<xsd:annotation>
<xsd:appinfo>
<annox:annotate>@java.lang.SuppressWarnings({"unchecked","rawtypes"})</annox:annotate>
</xsd:appinfo>
</xsd:annotation>
<xsd:sequence> ...</xsd:sequence>
</xsd:complexType>