Open Tomas-Kraus opened 7 years ago
run xjc against schema available at: http://schemas.xmlsoap.org/soap/encoding/
actual: org.xmlsoap.schemas.soap.encoding.ID defines \@XmlID twice which is against JAXB spec section 8.9.11.2 where it says that "at most one field or property in a class can be annotated with @XmlID."
@XmlAccessorType(XmlAccessType.FIELD) @XmlType(name = "ID", propOrder = { "value" }) public class ID { @XmlValue @XmlJavaTypeAdapter(CollapsedStringAdapter.class) @XmlID @XmlSchemaType(name = "ID") protected java.lang.String value; @XmlAttribute(name = "id") @XmlJavaTypeAdapter(CollapsedStringAdapter.class) @XmlID @XmlSchemaType(name = "ID") protected java.lang.String id; @XmlAttribute(name = "href") @XmlSchemaType(name = "anyURI") protected java.lang.String href; ...
expected:
@XmlAccessorType(XmlAccessType.FIELD) @XmlType(name = "ID", propOrder = { "value" }) public class ID { @XmlValue @XmlJavaTypeAdapter(CollapsedStringAdapter.class) @XmlSchemaType(name = "ID") protected java.lang.String value; @XmlAttribute(name = "id") @XmlJavaTypeAdapter(CollapsedStringAdapter.class) @XmlID @XmlSchemaType(name = "ID") protected java.lang.String id; @XmlAttribute(name = "href") @XmlSchemaType(name = "anyURI") protected java.lang.String href; ...
run xjc against schema available at: http://schemas.xmlsoap.org/soap/encoding/
actual: org.xmlsoap.schemas.soap.encoding.ID defines \@XmlID twice which is against JAXB spec section 8.9.11.2 where it says that "at most one field or property in a class can be annotated with @XmlID."
expected: