Schematron / schema-2016

Unofficial copy of schema(s) for Schematron 2016.
Other
4 stars 2 forks source link

Datatype mismatch between Schematron and SVRL in @role and @flag #9

Open dmj opened 5 years ago

dmj commented 5 years ago

In SVRL @‍role and @‍flag are defined to be of type xsd:NMTOKEN. In Schematron the corresponding attributes are defined as string. The datatype string is more permissive than xsd:NMTOKEN, leading to a situation where a value for e.g. @‍role is valid in Schematron but cannot be used in SVRL.

Proposed solution: Relax the datatype in SVRL to be string as well.