Skip to content
Open
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
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