Hello Joachim, It seems being a problem with annotation processing because of there are no indicator representing an annotation. For example
public class USPrice { @XmlAttribute public java.math.BigDecimal getPrice() {...} ; public void setPrice(java.math.BigDecimal ) {...}; } So, the present of @XmlAttribute does not present in FieldInfo class so that we can not distinguish the above case with the code below during annotation processing: public class USPrice { public java.math.BigDecimal getPrice() {...} ; public void setPrice(java.math.BigDecimal ) {...}; } JAXB specification considers those two cases different. At this time, this problem affects at least two annotations XmlRootElement and XmlAttribute. Regards, Bao