You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
spase-version.xsd only includes a single Version value so it is not possible to use it to validate documents with older, yet compatible Version values. For example, with spase-2.5.0.xsd, we have
which fails to validate an older version spase document
$ xmllint --schema spase-2.5.0.xsd HP_DataPolicy_v1.2.xml
...
HP_DataPolicy_v1.2.xml:2: element Version: Schemas validity error : Element '{http://www.spase-group.org/data/schema}Version': [facet 'enumeration'] The value '2.3.0' is not an element of the set {'2.5.0'}.
HP_DataPolicy_v1.2.xml:2: element Version: Schemas validity error : Element '{http://www.spase-group.org/data/schema}Version': '2.3.0' is not a valid value of the atomic type '{http://www.spase-group.org/data/schema}Version'.
HP_DataPolicy_v1.2.xml fails to validate
spase-version.xsd only includes a single Version value so it is not possible to use it to validate documents with older, yet compatible Version values. For example, with spase-2.5.0.xsd, we have
which fails to validate an older version spase document
If however, spase-2.5.0.xsd contained
the older version document would validate with the 2.5.0 schema.
The text was updated successfully, but these errors were encountered: