Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

modification in schema #19

Open
lesidaner opened this issue Jun 26, 2024 · 1 comment
Open

modification in schema #19

lesidaner opened this issue Jun 26, 2024 · 1 comment

Comments

@lesidaner
Copy link

In the current xsd for 2.1 there is a mistake
<xs:attribute name="version" type="xs:token" fixed="2.0" use="required"/>
it should be at least
<xs:attribute name="version" type="xs:token" fixed="2.1" use="required"/>

I have a proposition of modification :
As we it's a minor version evolution retro compatible the 2.1 validator, should also be able to validate 2.0
we can write instead
<xs:attribute name="version" use="required">
xs:simpleType
<xs:restriction base="xs:token">
<xs:enumeration value="2.0"/>
<xs:enumeration value="2.1"/>
</xs:restriction>
</xs:simpleType>

To be discuss what should be the more accurate
Pierre

@BaptisteCecconi
Copy link
Collaborator

I agree the schema version should be 2.1.

I assume that validators should pick the correct schema version when validating.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

2 participants