Skip to content

Commit

Permalink
initial work on marking "Hauptquelle" #51
Browse files Browse the repository at this point in the history
  • Loading branch information
peterstadler committed Aug 2, 2022
1 parent 54e31d7 commit df5f35d
Showing 1 changed file with 12 additions and 4 deletions.
16 changes: 12 additions & 4 deletions src/Specs/common-specs.odd.xml
Original file line number Diff line number Diff line change
Expand Up @@ -3602,6 +3602,11 @@
<sch:report test="count(tei:witness) le 1">There should always be more than one witness within a listWit element.</sch:report>
</constraint>
</constraintSpec>
<constraintSpec scheme="schematron" ident="only-one-hauptquelle">
<constraint>
<sch:report test="count(tei:witness[@n='main']) gt 1">There should always be only one witness within a listWit element with the attribute @n='main'.</sch:report>
</constraint>
</constraintSpec>
</elementSpec>

<elementSpec ident="witness" mode="change" module="textcrit">
Expand All @@ -3618,10 +3623,13 @@
</alternate>
</content>
<attList>
<attDef ident="n" mode="add" usage="req">
<datatype>
<dataRef key="teidata.count"/>
</datatype>
<attDef ident="n" mode="add" usage="opt">
<valList type="closed">
<valItem ident="main">
<desc versionDate="2022-04-06" xml:lang="en">marks the main source</desc>
<desc versionDate="2022-04-06" xml:lang="de">markiert die Hauptquelle</desc>
</valItem>
</valList>
</attDef>
<attDef ident="rend" mode="add" usage="opt">
<gloss versionDate="2013-11-11" xml:lang="en">rendition</gloss>
Expand Down

0 comments on commit df5f35d

Please sign in to comment.