diff --git a/schematron.sch b/schematron.sch index 3714397..a744936 100644 --- a/schematron.sch +++ b/schematron.sch @@ -21,7 +21,9 @@ THIS SCHEMA HAS BEEN MODIFIED FROM THE SCHEMA DEFINED IN ISO/IEC 19757 3, AND SHOULD NOT BE INTERPRETED AS COMPLYING WITH THAT STANDARD." --> - + + Schema for Additional Constraints in Schematron This schema supplies some constraints in addition to those given in the @@ -33,18 +35,6 @@ AND SHOULD NOT BE INTERPRETED AS COMPLYING WITH THAT STANDARD." attribute of the active element shall match the id attribute of a pattern. - - The - is-a attribute of a pattern element shall match - the id attribute of an abstract pattern. - - The - name attribute of a pattern param element shall match - the id attribute of an abstract pattern param element. - - - The rule attribute of an extends element shall match the id @@ -64,4 +54,20 @@ AND SHOULD NOT BE INTERPRETED AS COMPLYING WITH THAT STANDARD." id="param-name">A parameter name should not use the same name as a parameter in the same scope. + + + The + is-a attribute of a pattern element shall match + the id attribute of an abstract pattern. + + The + name attribute of a pattern param element shall match + the id attribute of an abstract pattern param element. + + + + A pattern parameter value shall be specified. + + diff --git a/schematron.xspec b/schematron.xspec index facfa84..d10bfbe 100644 --- a/schematron.xspec +++ b/schematron.xspec @@ -39,6 +39,26 @@ + + + + + + + + + + + + + + + + + + + + @@ -88,7 +108,7 @@ location="/sch:schema/sch:pattern[@id='bar']/sch:param[1]"/> - + @@ -107,5 +127,20 @@ id="param-names-match" location="/sch:schema/sch:pattern[@id='p7']"/> + + + + + + +