Skip to content

Commit

Permalink
Oops — correct slightly overzelous insertion of ns prefix. :-)
Browse files Browse the repository at this point in the history
  • Loading branch information
sydb committed Dec 15, 2023
1 parent 5a517ef commit bc2ed11
Showing 1 changed file with 2 additions and 2 deletions.
4 changes: 2 additions & 2 deletions P5/Source/Specs/att.identified.xml
Original file line number Diff line number Diff line change
Expand Up @@ -18,14 +18,14 @@ $Id$
<memberOf key="att.combinable"/>
</classes>
<constraintSpec ident="spec-in-module" scheme="schematron">
<sch:constraint>
<constraint>
<sch:rule context="tei:elementSpec[@module]|tei:classSpec[@module]|tei:macroSpec[@module]">
<sch:assert test="(not(ancestor::tei:schemaSpec | ancestor::tei:TEI | ancestor::tei:teiCorpus)) or (not(@module) or (not(//tei:moduleSpec) and not(//tei:moduleRef)) or (//tei:moduleSpec[@ident = current()/@module]) or (//tei:moduleRef[@key = current()/@module]))">
Specification <sch:value-of select="@ident"/>: the value of the module attribute ("<sch:value-of select="@module"/>")
should correspond to an existing module, via a moduleSpec or
moduleRef</sch:assert>
</sch:rule>
</sch:constraint>
</constraint>
</constraintSpec>
<attList>
<attDef ident="ident" usage="req">
Expand Down

0 comments on commit bc2ed11

Please sign in to comment.