jakartaee / persistence

https://jakartaee.github.io/persistence/
Other
187 stars 55 forks source link

XSD defines an entity version as unbounded (List) #547

Closed sebersole closed 4 months ago

sebersole commented 7 months ago

The XSD for <attributes/> currently defines -

      <xsd:element name="version" type="orm:version"
                   minOccurs="0" maxOccurs="unbounded"/>

which means that multiple <version/> elements are allowed. Clearly that is wrong.

sebersole commented 7 months ago

This is true for both 3.1 and 3.2. I did not look back any further.