Skip to content

Commit

Permalink
Fixes #18, fixes #19.
Browse files Browse the repository at this point in the history
  • Loading branch information
AndrewSales committed Aug 1, 2020
1 parent c785b59 commit f5737c8
Showing 1 changed file with 4 additions and 3 deletions.
7 changes: 4 additions & 3 deletions schematron.sch
Original file line number Diff line number Diff line change
Expand Up @@ -38,11 +38,12 @@ AND SHOULD NOT BE INTERPRETED AS COMPLYING WITH THAT STANDARD."
the id attribute of an abstract pattern.
</sch:assert>
</sch:rule>
<sch:rule context="sch:extends">
<sch:rule context="sch:extends[@rule]">
<sch:assert test="//sch:rule[@abstract='true'][@id=current()/@rule]"> The rule
attribute of an extends element shall match the id
attribute of an abstract rule.
attribute of an extends element shall match the id
attribute of an abstract rule.
</sch:assert>
<sch:assert test="@rule = ../../sch:rule[@abstract='true']/@id">An abstract rule must extend another rule belonging to the same pattern: rule with id attribute '<sch:value-of select="@rule"/>' is not a child of the containing pattern.</sch:assert>
</sch:rule>
<sch:rule context="sch:let">
<sch:assert
Expand Down

0 comments on commit f5737c8

Please sign in to comment.