Skip to content

Commit

Permalink
allow more than one rec. persons
Browse files Browse the repository at this point in the history
  • Loading branch information
rausch-supola committed Feb 13, 2025
1 parent 1550de8 commit 1cbf0fa
Show file tree
Hide file tree
Showing 2 changed files with 6 additions and 6 deletions.
4 changes: 2 additions & 2 deletions 802_tei_odd/out/shawi_corpus.rng
Original file line number Diff line number Diff line change
Expand Up @@ -5,7 +5,7 @@
xmlns:xlink="http://www.w3.org/1999/xlink"
datatypeLibrary="http://www.w3.org/2001/XMLSchema-datatypes"
ns="http://www.tei-c.org/ns/1.0"><!--
Schema generated from ODD source 2025-02-12T08:43:01Z. .
Schema generated from ODD source 2025-02-13T15:51:22Z. .
TEI Edition: P5 Version 4.7.0. Last updated on 16th November 2023, revision e5dd73ed0
TEI Edition Location: https://www.tei-c.org/Vault/P5/4.7.0/
Expand Down Expand Up @@ -3341,7 +3341,7 @@ Suggested values include: 1] deprecationInfo (deprecation information)</a:docume
xmlns:svg="http://www.w3.org/2000/svg"
xmlns:xi="http://www.w3.org/2001/XInclude"
context="tei:respStmt">
<s:assert test="not(tei:resp[. = preceding::tei:resp])">Each value inside 'respStmt' must be unique</s:assert>
<s:assert test="not(tei:resp[. != 'Rec. person' and . = preceding::tei:resp])">Each value inside 'respStmt' must be unique, except for 'Rec. person'</s:assert>
</s:rule>
</pattern>
</element>
Expand Down
8 changes: 4 additions & 4 deletions 802_tei_odd/shawi_corpus.odd
Original file line number Diff line number Diff line change
Expand Up @@ -51,9 +51,10 @@
</content>
<constraintSpec ident="uniqueRespValues" scheme="schematron">
<constraint>
<s:rule context="tei:respStmt">
<s:assert test="not(tei:resp[. = preceding::tei:resp])">Each value inside 'respStmt' must be unique</s:assert>
</s:rule></constraint>
<s:rule context="tei:respStmt">
<s:assert test="not(tei:resp[. != 'Rec. person' and . = preceding::tei:resp])">Each value inside 'respStmt' must be unique, except for 'Rec. person'</s:assert>
</s:rule>
</constraint>
</constraintSpec>
</elementSpec>

Expand Down Expand Up @@ -127,7 +128,6 @@
</constraint>
</constraintSpec>
</elementSpec>

<elementSpec ident="revisionDesc" module="header" mode="change">
<attList>
<attDef ident="status" mode="replace" usage="req">
Expand Down

0 comments on commit 1cbf0fa

Please sign in to comment.