Community
Participate
Working Groups
Created attachment 206729 [details] example schema Create a jaxb project and generate classes from the attached example.xsd. In the Bar class, which extends Foo, you do not get code assist for the @XmlAttribute(name="baz") on the baz attribute. There are no validation errors for this case
The key bit here is that such a type will be generated with the following (approximate) annotations. @XmlType(name="") public class Foo There is no root element associated with the class, and instead any global elements are associated with @XmlElementDecls in the object factory class.
Deferred to 3.4.