Skip to content

Commit

Permalink
adding language attributes to all constraintSpec elements
Browse files Browse the repository at this point in the history
  • Loading branch information
rettinghaus committed Nov 7, 2024
1 parent 06e18c0 commit b9f073c
Show file tree
Hide file tree
Showing 45 changed files with 163 additions and 163 deletions.
6 changes: 3 additions & 3 deletions P5/Source/Specs/TEI.xml
Original file line number Diff line number Diff line change
Expand Up @@ -42,19 +42,19 @@
</alternate>
</sequence>
</content>
<constraintSpec ident="c1" scheme="schematron">
<constraintSpec ident="c1" scheme="schematron" xml:lang="en">
<constraint>
<sch:ns prefix="tei" uri="http://www.tei-c.org/ns/1.0"/>
<sch:ns prefix="xs" uri="http://www.w3.org/2001/XMLSchema"/>
</constraint>
</constraintSpec>
<constraintSpec ident="c2" scheme="schematron">
<constraintSpec ident="c2" scheme="schematron" xml:lang="en">
<constraint>
<sch:ns prefix="rng" uri="http://relaxng.org/ns/structure/1.0"/>
<sch:ns prefix="rna" uri="http://relaxng.org/ns/compatibility/annotations/1.0"/>
</constraint>
</constraintSpec>
<constraintSpec ident="c3" scheme="schematron">
<constraintSpec ident="c3" scheme="schematron" xml:lang="en">
<constraint>
<sch:ns prefix="sch" uri="http://purl.oclc.org/dsdl/schematron"/>
<sch:ns prefix="sch1x" uri="http://www.ascc.net/xml/schematron"/>
Expand Down
2 changes: 1 addition & 1 deletion P5/Source/Specs/ab.xml
Original file line number Diff line number Diff line change
Expand Up @@ -28,7 +28,7 @@
<content>
<macroRef key="macro.abContent"/>
</content>
<constraintSpec ident="abstractModel-structure-ab-in-l-or-lg" scheme="schematron">
<constraintSpec ident="abstractModel-structure-ab-in-l-or-lg" scheme="schematron" xml:lang="en">
<constraint>
<sch:rule context="tei:ab">
<sch:report test="(ancestor::tei:l or ancestor::tei:lg) and not( ancestor::tei:floatingText |parent::tei:figure |parent::tei:note )">
Expand Down
2 changes: 1 addition & 1 deletion P5/Source/Specs/addSpan.xml
Original file line number Diff line number Diff line change
Expand Up @@ -27,7 +27,7 @@
<memberOf key="model.global.edit"/>
</classes>
<content><empty/></content>
<constraintSpec ident="addSpan-requires-spanTo" scheme="schematron">
<constraintSpec ident="addSpan-requires-spanTo" scheme="schematron" xml:lang="en">
<constraint>
<sch:rule context="tei:addSpan">
<sch:assert test="@spanTo">The @spanTo attribute of <sch:name/> is required.</sch:assert>
Expand Down
2 changes: 1 addition & 1 deletion P5/Source/Specs/alternate.xml
Original file line number Diff line number Diff line change
Expand Up @@ -15,7 +15,7 @@
<classRef key="model.contentPart"/>
</alternate>
</content>
<constraintSpec ident="alternatechilden" scheme="schematron">
<constraintSpec ident="alternatechilden" scheme="schematron" xml:lang="en">
<constraint>
<sch:rule context="tei:alternate">
<sch:assert test="count(*) gt 1">The alternate element must have at least two child elements</sch:assert>
Expand Down
2 changes: 1 addition & 1 deletion P5/Source/Specs/att.calendarSystem.xml
Original file line number Diff line number Diff line change
Expand Up @@ -20,7 +20,7 @@
<datatype minOccurs="1" maxOccurs="unbounded">
<dataRef key="teidata.pointer"/>
</datatype>
<constraintSpec ident="calendar_attr_on_empty_element" scheme="schematron">
<constraintSpec ident="calendar_attr_on_empty_element" scheme="schematron" xml:lang="en">
<constraint>
<sch:rule context="tei:*[@calendar]">
<sch:assert test="string-length( normalize-space(.) ) gt 0"> @calendar indicates one or more
Expand Down
6 changes: 3 additions & 3 deletions P5/Source/Specs/att.datable.w3c.xml
Original file line number Diff line number Diff line change
Expand Up @@ -13,21 +13,21 @@
d'événements datés ou susceptibles de l'être.</desc>
<desc versionDate="2007-11-06" xml:lang="it">indica degli attributi per la normalizzazione di elementi che contengono eventi databili utilizzando i tipi di dati del W3C</desc>
<desc versionDate="2007-05-04" xml:lang="es">proporciona atributos para la normalización de elementos que contienen eventos datables.</desc>
<constraintSpec ident="att-datable-w3c-when" scheme="schematron">
<constraintSpec ident="att-datable-w3c-when" scheme="schematron" xml:lang="en">
<constraint>
<sch:rule context="tei:*[@when]">
<sch:report test="@notBefore|@notAfter|@from|@to" role="nonfatal">The @when attribute cannot be used with any other att.datable.w3c attributes.</sch:report>
</sch:rule>
</constraint>
</constraintSpec>
<constraintSpec ident="att-datable-w3c-from" scheme="schematron">
<constraintSpec ident="att-datable-w3c-from" scheme="schematron" xml:lang="en">
<constraint>
<sch:rule context="tei:*[@from]">
<sch:report test="@notBefore" role="nonfatal">The @from and @notBefore attributes cannot be used together.</sch:report>
</sch:rule>
</constraint>
</constraintSpec>
<constraintSpec ident="att-datable-w3c-to" scheme="schematron">
<constraintSpec ident="att-datable-w3c-to" scheme="schematron" xml:lang="en">
<constraint>
<sch:rule context="tei:*[@to]">
<sch:report test="@notAfter" role="nonfatal">The @to and @notAfter attributes cannot be used together.</sch:report>
Expand Down
2 changes: 1 addition & 1 deletion P5/Source/Specs/att.identified.xml
Original file line number Diff line number Diff line change
Expand Up @@ -12,7 +12,7 @@

<memberOf key="att.combinable"/>
</classes>
<constraintSpec ident="spec-in-module" scheme="schematron">
<constraintSpec ident="spec-in-module" scheme="schematron" xml:lang="en">
<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]))">
Expand Down
2 changes: 1 addition & 1 deletion P5/Source/Specs/att.measurement.xml
Original file line number Diff line number Diff line change
Expand Up @@ -10,7 +10,7 @@
régularisée ou normalisée.</desc>
<desc versionDate="2007-05-04" xml:lang="es">proporciona atributos que representen una medición regularizada o normalizada.</desc>
<desc versionDate="2007-01-21" xml:lang="it">assegna degli attributi che rappresentano una misurazione regolarizzata o normalizzata</desc>
<constraintSpec ident="att-measurement-unitRef" scheme="schematron">
<constraintSpec ident="att-measurement-unitRef" scheme="schematron" xml:lang="en">
<constraint>
<sch:rule context="tei:*[@unitRef]">
<sch:report test="@unit" role="info">The @unit attribute may be unnecessary when @unitRef is present.</sch:report>
Expand Down
2 changes: 1 addition & 1 deletion P5/Source/Specs/att.pointing.xml
Original file line number Diff line number Diff line change
Expand Up @@ -16,7 +16,7 @@
according to <ref target="http://www.rfc-editor.org/rfc/bcp/bcp47.txt">BCP 47</ref>.</desc>
<desc versionDate="2023-09-27" xml:lang="ja"><ref target="http://www.rfc-editor.org/rfc/bcp/bcp47.txt">BCP 47</ref>に従って生成された<soCalled>言語タグ</soCalled>を使用することで、<att>target</att>の参照先にあるコンテンツの言語を特定する。</desc>
<datatype><dataRef key="teidata.language"/></datatype>
<constraintSpec ident="targetLang" scheme="schematron">
<constraintSpec ident="targetLang" scheme="schematron" xml:lang="en">
<constraint>
<sch:rule context="tei:*[not(self::tei:schemaSpec)][@targetLang]">
<sch:assert test="@target">@targetLang should only be used on <sch:name/> if @target is specified.</sch:assert>
Expand Down
2 changes: 1 addition & 1 deletion P5/Source/Specs/att.repeatable.xml
Original file line number Diff line number Diff line change
Expand Up @@ -8,7 +8,7 @@
<!-- we know that @minOccurs is castable as an integer, and we know that -->
<!-- @maxOccurs is either "unbounded" or castable as an integer, because -->
<!-- they have passed standard grammar-based validation. -->
<constraintSpec ident="MINandMAXoccurs" scheme="schematron">
<constraintSpec ident="MINandMAXoccurs" scheme="schematron" xml:lang="en">
<!-- <desc>The value of <att>minOccurs</att> should always be less than or
equal to that of <att>maxOccurs</att>. Since the default value of
<att>maxOccurs</att> is 1, when <att>maxOccurs</att> is not specified
Expand Down
2 changes: 1 addition & 1 deletion P5/Source/Specs/att.spanning.xml
Original file line number Diff line number Diff line change
Expand Up @@ -21,7 +21,7 @@
<desc versionDate="2007-05-04" xml:lang="es">indica el final de un fragmento de texto iniciado con el elemento al cual es asignaado el atributo.</desc>
<desc versionDate="2007-01-21" xml:lang="it">indica la fine della porzione di testo che ha inizio con l'elemento a cui è assegnato l'attributo</desc>
<datatype><dataRef key="teidata.pointer"/></datatype>
<constraintSpec ident="spanTo-points-to-following" scheme="schematron">
<constraintSpec ident="spanTo-points-to-following" scheme="schematron" xml:lang="en">
<desc versionDate="2018-07-06" xml:lang="en">The @spanTo attribute must point to an element following the
current element</desc>
<constraint>
Expand Down
2 changes: 1 addition & 1 deletion P5/Source/Specs/att.styleDef.xml
Original file line number Diff line number Diff line change
Expand Up @@ -62,7 +62,7 @@ If no value for the @scheme attribute is provided, then the default assumption s
<attDef ident="schemeVersion" usage="opt">
<desc versionDate="2013-04-12" xml:lang="en">supplies a version number for the style language provided in <att>scheme</att>.</desc>
<datatype><dataRef key="teidata.versionNumber"/></datatype>
<constraintSpec ident="schemeVersionRequiresScheme" scheme="schematron">
<constraintSpec ident="schemeVersionRequiresScheme" scheme="schematron" xml:lang="en">
<constraint>
<sch:rule context="tei:*[@schemeVersion]">
<sch:assert test="@scheme and not(@scheme = 'free')">
Expand Down
8 changes: 4 additions & 4 deletions P5/Source/Specs/attDef.xml
Original file line number Diff line number Diff line change
Expand Up @@ -37,7 +37,7 @@
<elementRef key="remarks" minOccurs="0" maxOccurs="unbounded"/>
</sequence>
</content>
<constraintSpec ident="attDefContents" scheme="schematron">
<constraintSpec ident="attDefContents" scheme="schematron" xml:lang="en">
<constraint>
<sch:ns prefix="teix" uri="http://www.tei-c.org/ns/Examples"/>
<sch:rule context="tei:attDef">
Expand All @@ -55,7 +55,7 @@
</sch:rule>
</constraint>
</constraintSpec>
<constraintSpec ident="noDefault4Required" scheme="schematron">
<constraintSpec ident="noDefault4Required" scheme="schematron" xml:lang="en">
<constraint>
<sch:rule context="tei:attDef[@usage eq 'req']">
<sch:report test="tei:defaultVal">Since the @<sch:value-of select="@ident"/> attribute is required, it will always be specified. Thus the default value (of "<sch:value-of select="normalize-space(tei:defaultVal)"/>") will never be used. Either change the definition of the attribute so it is not required ("rec" or "opt"), or remove the defaultVal element.</sch:report>
Expand All @@ -68,7 +68,7 @@
<!-- made them separate for now to make debugging easier. After we're -->
<!-- confident these work properly, could condense them to one. -->
<!-- -Syd, 2015-03-29 -->
<constraintSpec ident="defaultIsInClosedList-twoOrMore" scheme="schematron">
<constraintSpec ident="defaultIsInClosedList-twoOrMore" scheme="schematron" xml:lang="en">
<!-- The use of the '>' operator (expressed as "&gt;"), below, is
not needed for comparison of a sequence, but seems to
automatically handle a left hand operand that is an
Expand All @@ -86,7 +86,7 @@
</sch:rule>
</constraint>
</constraintSpec>
<constraintSpec ident="defaultIsInClosedList-one" scheme="schematron">
<constraintSpec ident="defaultIsInClosedList-one" scheme="schematron" xml:lang="en">
<constraint>
<sch:rule context="tei:attDef[ tei:defaultVal
and tei:valList[ @type eq 'closed']
Expand Down
2 changes: 1 addition & 1 deletion P5/Source/Specs/catchwords.xml
Original file line number Diff line number Diff line change
Expand Up @@ -18,7 +18,7 @@
<content>
<macroRef key="macro.phraseSeq"/>
</content>
<constraintSpec ident="catchword_in_msDesc" scheme="schematron">
<constraintSpec ident="catchword_in_msDesc" scheme="schematron" xml:lang="en">
<!--
The <egXML> referred to in the constraint below is, of
course, in the teix: namespace, not the tei: namespace.
Expand Down
4 changes: 2 additions & 2 deletions P5/Source/Specs/citeStructure.xml
Original file line number Diff line number Diff line change
Expand Up @@ -36,14 +36,14 @@
<datatype>
<dataRef key="teidata.xpath"/>
</datatype>
<constraintSpec ident="citestructure-outer-match" scheme="schematron">
<constraintSpec ident="citestructure-outer-match" scheme="schematron" xml:lang="en">
<constraint>
<sch:rule context="tei:citeStructure[not(parent::tei:citeStructure)]">
<sch:assert test="starts-with(@match,'/')">An XPath in @match on the outer <sch:name/> must start with '/'.</sch:assert>
</sch:rule>
</constraint>
</constraintSpec>
<constraintSpec ident="citestructure-inner-match" scheme="schematron">
<constraintSpec ident="citestructure-inner-match" scheme="schematron" xml:lang="en">
<constraint>
<sch:rule context="tei:citeStructure[parent::tei:citeStructure]">
<sch:assert test="not(starts-with(@match,'/'))">An XPath in @match must not start with '/' except on the outer <sch:name/>.</sch:assert>
Expand Down
4 changes: 2 additions & 2 deletions P5/Source/Specs/constraint.xml
Original file line number Diff line number Diff line change
Expand Up @@ -17,7 +17,7 @@
</content>
<exemplum xml:lang="en">
<egXML xmlns="http://www.tei-c.org/ns/Examples" xml:id="gi-constraint-egXML-uq">
<constraintSpec ident="isoconstraint" scheme="schematron">
<constraintSpec ident="isoconstraint" scheme="schematron" xml:lang="en">
<constraint>
<sch:rule context="tei:constraint">
<sch:assert test="tei:fileDesc/tei:titleStmt/tei:title[ @type eq 'main']">a main title must be supplied</sch:assert>
Expand All @@ -28,7 +28,7 @@
</exemplum>
<exemplum xml:lang="en">
<egXML xmlns="http://www.tei-c.org/ns/Examples" xml:id="gi-constraint-egXML-mb">
<constraintSpec ident="local" scheme="private">
<constraintSpec ident="local" scheme="private" xml:lang="en">
<constraint>
(output = (ident(title) ident(author) "You must supply a title or an author"))
</constraint>
Expand Down
12 changes: 6 additions & 6 deletions P5/Source/Specs/constraintSpec.xml
Original file line number Diff line number Diff line change
Expand Up @@ -42,7 +42,7 @@
</sch:rule>
</constraint>
</constraintSpec>
<constraintSpec ident="sch_no_more" scheme="schematron">
<constraintSpec ident="sch_no_more" scheme="schematron" xml:lang="en">
<desc versionDate="2018-07-06" xml:lang="en">Relationship between scheme attribute and contents: Schematron 1.x</desc>
<constraint>
<sch:rule context="tei:constraintSpec">
Expand All @@ -53,7 +53,7 @@
</sch:rule>
</constraint>
</constraintSpec>
<constraintSpec ident="isosch" scheme="schematron">
<constraintSpec ident="isosch" scheme="schematron" xml:lang="en">
<desc versionDate="2018-07-06" xml:lang="en">Relationship between scheme attribute and contents: ISO Schematron</desc>
<constraint>
<sch:rule context="tei:constraintSpec[ @mode = ('add','replace') or not( @mode ) ]">
Expand Down Expand Up @@ -84,7 +84,7 @@
</sch:rule>
</constraint>
</constraintSpec>
<constraintSpec ident="unique-constraintSpec-ident" scheme="schematron">
<constraintSpec ident="unique-constraintSpec-ident" scheme="schematron" xml:lang="en">
<constraint>
<sch:rule context="tei:constraintSpec[ @mode eq 'add' or not( @mode ) ]">
<sch:let name="myIdent" value="normalize-space(@ident)"/>
Expand Down Expand Up @@ -158,7 +158,7 @@
<att>spanTo</att> attribute (which comes from an attribute class)
on the <gi>addSpan</gi> element: </p>
<egXML xmlns="http://www.tei-c.org/ns/Examples" xml:id="gi-constraintSpec-egXML-kl">
<constraintSpec ident="demo-c1" scheme="schematron">
<constraintSpec ident="demo-c1" scheme="schematron" xml:lang="en">
<desc>Enforce the presence of the <att>spanTo</att> attribute</desc>
<constraint>
<sch:rule context="tei:addSpan">
Expand All @@ -170,7 +170,7 @@
</exemplum>
<exemplum xml:lang="en">
<egXML xmlns="http://www.tei-c.org/ns/Examples" xml:id="gi-constraintSpec-egXML-ho">
<constraintSpec ident="demo-c2" scheme="schematron">
<constraintSpec ident="demo-c2" scheme="schematron" xml:lang="en">
<desc>Implement an accessibility rule which says that pictures
should have textual explanations</desc>
<constraint>
Expand All @@ -187,7 +187,7 @@
<p>This constraint uses SPITBOL (a language which is not
expressed in XML) to check whether the title and author are identical: </p>
<egXML xmlns="http://www.tei-c.org/ns/Examples" xml:id="gi-constraintSpec-egXML-qp">
<constraintSpec ident="author_ne_title" scheme="SPITBOL">
<constraintSpec ident="author_ne_title" scheme="SPITBOL" xml:lang="en">
<constraint>
(output = leq(title,author) "title and author cannot be the same")
</constraint>
Expand Down
2 changes: 1 addition & 1 deletion P5/Source/Specs/damageSpan.xml
Original file line number Diff line number Diff line change
Expand Up @@ -21,7 +21,7 @@
<memberOf key="model.global.edit"/>
</classes>
<content><empty/></content>
<constraintSpec ident="damageSpan-requires-spanTo" scheme="schematron">
<constraintSpec ident="damageSpan-requires-spanTo" scheme="schematron" xml:lang="en">
<constraint>
<sch:rule context="tei:damageSpan">
<sch:assert test="@spanTo">The @spanTo attribute of <sch:name/> is required.</sch:assert>
Expand Down
4 changes: 2 additions & 2 deletions P5/Source/Specs/dataRef.xml
Original file line number Diff line number Diff line change
Expand Up @@ -12,7 +12,7 @@
<content>
<elementRef minOccurs="0" maxOccurs="unbounded" key="dataFacet"/>
</content>
<constraintSpec ident="restrictDataFacet" scheme="schematron">
<constraintSpec ident="restrictDataFacet" scheme="schematron" xml:lang="en">
<constraint>
<sch:rule context="tei:dataRef[tei:dataFacet]">
<sch:assert test="@name" role="nonfatal">Data facets can only be specified for references to datatypes specified by
Expand All @@ -21,7 +21,7 @@
</sch:rule>
</constraint>
</constraintSpec>
<constraintSpec ident="restrictAttResctrictionName" scheme="schematron">
<constraintSpec ident="restrictAttResctrictionName" scheme="schematron" xml:lang="en">
<constraint>
<sch:rule context="tei:dataRef[@restriction]">
<sch:assert test="@name" role="nonfatal">Restrictions can only be specified for references to datatypes specified by
Expand Down
2 changes: 1 addition & 1 deletion P5/Source/Specs/delSpan.xml
Original file line number Diff line number Diff line change
Expand Up @@ -24,7 +24,7 @@
<memberOf key="model.global.edit"/>
</classes>
<content><empty/></content>
<constraintSpec ident="delSpan-requires-spanTo" scheme="schematron">
<constraintSpec ident="delSpan-requires-spanTo" scheme="schematron" xml:lang="en">
<constraint>
<sch:rule context="tei:delSpan">
<sch:assert test="@spanTo">The @spanTo attribute of <sch:name/> is required.</sch:assert>
Expand Down
2 changes: 1 addition & 1 deletion P5/Source/Specs/desc.xml
Original file line number Diff line number Diff line change
Expand Up @@ -40,7 +40,7 @@
<content>
<macroRef key="macro.limitedContent"/>
</content>
<constraintSpec ident="deprecationInfo-only-in-deprecated" scheme="schematron">
<constraintSpec ident="deprecationInfo-only-in-deprecated" scheme="schematron" xml:lang="en">
<desc versionDate="2018-09-13" xml:lang="en">A <gi>desc</gi> with
a <att>type</att> of <val>deprecationInfo</val> should only occur
when its parent element is being deprecated. Furthermore, it
Expand Down
4 changes: 2 additions & 2 deletions P5/Source/Specs/div.xml
Original file line number Diff line number Diff line change
Expand Up @@ -65,7 +65,7 @@
</sequence>
</sequence>
</content>
<constraintSpec ident="abstractModel-structure-div-in-l-or-lg" scheme="schematron">
<constraintSpec ident="abstractModel-structure-div-in-l-or-lg" scheme="schematron" xml:lang="en">
<constraint>
<sch:rule context="tei:div">
<sch:report test="(ancestor::tei:l or ancestor::tei:lg) and not(ancestor::tei:floatingText)">
Expand All @@ -74,7 +74,7 @@
</sch:rule>
</constraint>
</constraintSpec>
<constraintSpec ident="abstractModel-structure-div-in-ab-or-p" scheme="schematron">
<constraintSpec ident="abstractModel-structure-div-in-ab-or-p" scheme="schematron" xml:lang="en">
<constraint>
<sch:rule context="tei:div">
<sch:report test="(ancestor::tei:p or ancestor::tei:ab) and not(ancestor::tei:floatingText)">
Expand Down
2 changes: 1 addition & 1 deletion P5/Source/Specs/elementRef.xml
Original file line number Diff line number Diff line change
Expand Up @@ -10,7 +10,7 @@
<memberOf key="model.oddRef"/>
</classes>
<content><empty/></content>
<constraintSpec ident="only_sensible_attrs" scheme="schematron">
<constraintSpec ident="only_sensible_attrs" scheme="schematron" xml:lang="en">
<constraint>
<sch:pattern>
<sch:rule context="tei:elementRef[ parent::tei:schemaSpec | parent::tei:specGrp ]">
Expand Down
2 changes: 1 addition & 1 deletion P5/Source/Specs/join.xml
Original file line number Diff line number Diff line change
Expand Up @@ -24,7 +24,7 @@
<classRef key="model.certLike"/>
</alternate>
</content>
<constraintSpec ident="joinTargets3" scheme="schematron">
<constraintSpec ident="joinTargets3" scheme="schematron" xml:lang="en">
<constraint>
<sch:rule context="tei:join">
<sch:assert test="contains( normalize-space( @target ),' ')">
Expand Down
2 changes: 1 addition & 1 deletion P5/Source/Specs/l.xml
Original file line number Diff line number Diff line change
Expand Up @@ -34,7 +34,7 @@
<classRef key="model.global"/>
</alternate>
</content>
<constraintSpec ident="abstractModel-structure-l-in-l" scheme="schematron">
<constraintSpec ident="abstractModel-structure-l-in-l" scheme="schematron" xml:lang="en">
<constraint>
<sch:rule context="tei:l">
<sch:report test="ancestor::tei:l[not(.//tei:note//tei:l[. = current()])]">Abstract model violation: Lines may not contain lines or lg elements.</sch:report>
Expand Down
2 changes: 1 addition & 1 deletion P5/Source/Specs/lg.xml
Original file line number Diff line number Diff line change
Expand Up @@ -60,7 +60,7 @@
</sch:rule>
</constraint>
</constraintSpec>
<constraintSpec ident="abstractModel-structure-lg-in-l" scheme="schematron">
<constraintSpec ident="abstractModel-structure-lg-in-l" scheme="schematron" xml:lang="en">
<constraint>
<sch:rule context="tei:lg">
<sch:report test="ancestor::tei:l[not(.//tei:note//tei:lg[. = current()])]">Abstract model violation: Lines may not contain line groups.</sch:report>
Expand Down
Loading

0 comments on commit b9f073c

Please sign in to comment.