Closed burnalting closed 7 years ago
Should we set the enumeration to have multiple values for the 3.x.x series of schemas? That way we are applying a generic restriction but against the series ... otherwise why have a single entry enumeration?
Thoughts?
After a discussion we agreed that a schema with version a.b.c should contain enumerations for all released versions that came before it with the same major version number, e.g. enumeration values that conform to:
major = a, minor <= b
This assumes that minor and patch versions do not introduce breaking changes so a version 3.1.1 schema can be used to validate an xml document written to conform to the 3.0.0 schema.
The restriction/enumeration value attribute should change from 3.0.0 to 3.1.0 or remove the enumeration. IE Change
to