Skip to content

Commit

Permalink
updated schema
Browse files Browse the repository at this point in the history
  • Loading branch information
anneferger committed Mar 13, 2024
1 parent 7620184 commit 9c359c8
Show file tree
Hide file tree
Showing 2 changed files with 19 additions and 3 deletions.
10 changes: 9 additions & 1 deletion schema/tei_jtei_annotated.odd
Original file line number Diff line number Diff line change
Expand Up @@ -2069,6 +2069,7 @@
<sequence>
<elementRef key="title" minOccurs="1" maxOccurs="unbounded"/>
<elementRef key="author" minOccurs="1" maxOccurs="unbounded"/>

</sequence>
</content>
<constraintSpec ident="jtei.sch-title" scheme="schematron">
Expand Down Expand Up @@ -3558,8 +3559,15 @@
</constraintSpec>
</elementSpec>
<elementSpec ident="rs" mode="change">
<content>
<sequence>
<classRef key="model.biblPart" minOccurs="0" maxOccurs="unbounded"/>
<classRef key="model.imprintPart" minOccurs="0" maxOccurs="unbounded"/>
<macroRef key="macro.phraseSeq"/>
</sequence>
</content>
<attList>
<!-- To do: Pointers should point to ../taxonomy/citation-taxonomy.xml and multiple values divided by whitespaces are also allowed -->
<!-- Pointers point to ../taxonomy/citation-taxonomy.xml To do: multiple values divided by whitespaces are also allowed -->
<attDef ident="type" mode="change" usage="req">
<valList type="closed" mode="change">
<valItem mode="add" ident="cit:soft.bib"/>
Expand Down
12 changes: 10 additions & 2 deletions schema/tei_jtei_annotated.rng
Original file line number Diff line number Diff line change
Expand Up @@ -5,7 +5,7 @@
xmlns="http://relaxng.org/ns/structure/1.0"
datatypeLibrary="http://www.w3.org/2001/XMLSchema-datatypes"
ns="http://www.tei-c.org/ns/1.0"><!--
Schema generated from ODD source 2024-03-13T14:15:56Z. 2014.
Schema generated from ODD source 2024-03-13T15:47:12Z. 2014.
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 @@ -2455,7 +2455,15 @@ Sample values include: 1] rubbing (rubbing); 2] mildew (mildew); 3] smoke (smoke
<define name="rs">
<element name="rs">
<a:documentation xmlns:a="http://relaxng.org/ns/compatibility/annotations/1.0">(referencing string) contains a general purpose name or referring string. [13.2.1. Personal Names 3.6.1. Referring Strings]</a:documentation>
<ref name="macro.phraseSeq"/>
<group>
<zeroOrMore>
<ref name="model.biblPart"/>
</zeroOrMore>
<zeroOrMore>
<ref name="model.imprintPart"/>
</zeroOrMore>
<ref name="macro.phraseSeq"/>
</group>
<ref name="att.global.attributes"/>
<ref name="att.naming.attributes"/>
<attribute name="type">
Expand Down

0 comments on commit 9c359c8

Please sign in to comment.