Community
Participate
Working Groups
From the JAXB 2.2 spec (8.9.8.2) - There must be only one property or field in a class that is annotated with @XmlAnyAttribute. - The type of the property or the field must be java.util.Map. [ Done ] - The only other annotations that can be used on the property or field with @XmlAnyAttribute are: @XmlJavaTypeAdapter. In addition, I don't believe the schema type *must* have a wildcard attribute (<xsd:anyAttribute ... >), but this bears further investigation.
Added (In reply to comment #0) > - There must be only one property or field in a class that is annotated with > @XmlAnyAttribute. Added support for validating this against inherited (and "included") attributes. > In addition, I don't believe the schema type *must* have a wildcard attribute > (<xsd:anyAttribute ... >), but this bears further investigation. This seems to be incorrect. Resolved fixed for 3.1 M3