Skip to content

Commit

Permalink
Require a constraint:
Browse files Browse the repository at this point in the history
Fix for (2) in #2179
  • Loading branch information
sydb committed Sep 27, 2021
1 parent 0738a9b commit 8858d0d
Showing 1 changed file with 10 additions and 10 deletions.
20 changes: 10 additions & 10 deletions P5/Source/Specs/constraintSpec.xml
Original file line number Diff line number Diff line change
Expand Up @@ -23,7 +23,7 @@ $Id$
<classRef key="model.glossLike"/>
<classRef key="model.descLike"/>
</alternate>
<elementRef key="constraint" minOccurs="0"/>
<elementRef key="constraint" minOccurs="1" maxOccurs="1"/>
</sequence>
</content>
<constraintSpec ident="sch_no_more" scheme="schematron">
Expand Down Expand Up @@ -64,8 +64,8 @@ $Id$
<gloss versionDate="2016-09-27" xml:lang="en">ISO Schematron</gloss>
</valItem>
</valList>
<remarks versionDate="2016-09-27" xml:lang="en">
<p>These Guidelines no longer recommend, and the available TEI
<remarks versionDate="2021-09-27" xml:lang="en">
<p>These Guidelines no longer recommend, and the current TEI
stylesheets no longer support, the use of Schematron 1.x
within <gi>constraintSpec</gi>. Thus the value
<val>schematron</val> is used to indicate that ISO Schematron
Expand All @@ -79,11 +79,11 @@ $Id$
construct.</desc>
<datatype><dataRef key="teidata.enumerated"/></datatype>
<valList type="semi" mode="add">
<valItem ident="deprecationWarning">
<desc xml:lang="en" versionDate="2018-09-17">Indicates that
this constraint specification warns that some other
construct in the schema is deprecated.</desc>
</valItem>
<valItem ident="deprecationWarning">
<desc xml:lang="en" versionDate="2018-09-17">Indicates that
this constraint specification warns that some other
construct in the schema is deprecated.</desc>
</valItem>
</valList>
</attDef>
</attList>
Expand All @@ -104,8 +104,8 @@ $Id$
<exemplum xml:lang="en">
<egXML xmlns="http://www.tei-c.org/ns/Examples">
<constraintSpec ident="demo-c2" scheme="schematron">
<desc>Implement an accessibility rule which says that pictures should
have textual explanations</desc>
<desc>Implement an accessibility rule which says that pictures
should have textual explanations</desc>
<constraint>
<sch:report test="not(tei:figDesc or tei:head)"> You should
provide information in a figure from which
Expand Down

0 comments on commit 8858d0d

Please sign in to comment.