Skip to content
Schema_Okopenko.rng 330 KiB
Newer Older
csteindl's avatar
csteindl committed
         </optional>
         <optional>
            <attribute name="hand">
csteindl's avatar
csteindl committed
               <a:documentation xmlns:a="http://relaxng.org/ns/compatibility/annotations/1.0">points to a <code xmlns="http://www.w3.org/1999/xhtml">&lt;handNote&gt;</code> element describing the hand considered responsible for the content of the element concerned.
csteindl's avatar
csteindl committed
Sample values include: </a:documentation>
               <data type="anyURI"/>
            </attribute>
         </optional>
         <optional>
            <attribute name="spanTo">
               <a:documentation xmlns:a="http://relaxng.org/ns/compatibility/annotations/1.0">indicates the end of a span initiated by the element bearing this attribute.
Sample values include: </a:documentation>
               <data type="anyURI"/>
            </attribute>
         </optional> 
         <pattern xmlns="http://purl.oclc.org/dsdl/schematron"
csteindl's avatar
csteindl committed
                  id="Schema_Okopenko_5-delSpan-spanTo-spanTo-2-constraint-rule-11">
csteindl's avatar
csteindl committed
            <sch:rule xmlns:sch="http://purl.oclc.org/dsdl/schematron"
                      xmlns="http://www.tei-c.org/ns/1.0"
                      xmlns:rng="http://relaxng.org/ns/structure/1.0"
                      context="tei:*[@spanTo]">
               <sch:assert test="id(substring(@spanTo,2)) and following::*[@xml:id=substring(current()/@spanTo,2)]">
The element indicated by @spanTo (<sch:value-of select="@spanTo"/>) must follow the current element <sch:name/>
                  </sch:assert>
            </sch:rule>
         </pattern>
         <empty/>
      </element>
   </define>
   <define name="handShift">
      <element name="handShift">
         <a:documentation xmlns:a="http://relaxng.org/ns/compatibility/annotations/1.0">Markierung des Wechsels zwischen Schreibmedien, Schriftquellen oder SchreiberInnenhänden. : Von Andreas Okopenko mit der Hand geschriebener Text, : Von Andreas Okopenko mit Schreibmaschine geschriebener Text, : Von Andreas Okopenko in Stenografie geschriebener Text, : Vorgedruckter Text unbekannter Hand, : Von unbekannter Hand handschriftlich geschriebener Text, : Von unbekannter Hand mit Schreibmaschine geschriebener Text. SchreiberInnenhände bekannter Personen wurden im Format #Nachname_Vorname_handwritten bzw. #Nachname_Vorname_typewritten vermerkt. : Von Friedrich Polakovics mit der Hand geschriebener Text, : Von Friedrich Polakovics mit Schreibmaschine geschriebener Text [11.3.2.1. Document Hands]</a:documentation>
         <empty/>
         <optional>
            <attribute name="resp">
               <a:documentation xmlns:a="http://relaxng.org/ns/compatibility/annotations/1.0">(responsible party) indicates the agency responsible for the intervention or interpretation, for example an editor or transcriber.
Sample values include: </a:documentation>
               <list>
                  <oneOrMore>
                     <data type="anyURI"/>
                  </oneOrMore>
               </list>
            </attribute>
         </optional>
         <optional>
            <attribute name="new">
csteindl's avatar
csteindl committed
               <a:documentation xmlns:a="http://relaxng.org/ns/compatibility/annotations/1.0">indicates a <code xmlns="http://www.w3.org/1999/xhtml">&lt;handNote&gt;</code> element describing the hand concerned.
csteindl's avatar
csteindl committed
Sample values include: </a:documentation>
               <data type="anyURI"/>
            </attribute>
         </optional>
         <empty/>
      </element>
   </define>
   <define name="restore">
      <element name="restore">
         <a:documentation xmlns:a="http://relaxng.org/ns/compatibility/annotations/1.0">Durchstreichungen, die durch den Autor rückgängig gemacht wurden (beispielsweise durch gepunktete Linien), wurden codiert als Text. [11.3.1.6. Cancellation of Deletions and Other Markings]</a:documentation>
         <ref name="macro.paraContent"/>
      </element>
   </define>
   <define name="space">
      <element name="space">
csteindl's avatar
csteindl committed
         <a:documentation xmlns:a="http://relaxng.org/ns/compatibility/annotations/1.0">
            <code xmlns="http://www.w3.org/1999/xhtml">&lt;space&gt;</code> wurde verwendet, um besonders große oder bedeutungsentscheidende Leerräume innerhalb einer Zeile oder auf einer Seite zu markieren, wenn eine Intention des Autors vermutet werden konnte. [11.5.1. Space]</a:documentation>
csteindl's avatar
csteindl committed
         <zeroOrMore>
            <choice>
               <ref name="model.descLike"/>
               <ref name="model.certLike"/>
            </choice>
         </zeroOrMore>
         <optional>
            <attribute name="unit">
               <a:documentation xmlns:a="http://relaxng.org/ns/compatibility/annotations/1.0">names the unit used for the measurement</a:documentation>
               <choice>
                  <value>lines</value>
                  <a:documentation xmlns:a="http://relaxng.org/ns/compatibility/annotations/1.0"/>
                  <value>chars</value>
                  <a:documentation xmlns:a="http://relaxng.org/ns/compatibility/annotations/1.0"/>
               </choice>
            </attribute>
         </optional>
         <optional>
            <attribute name="quantity">
               <a:documentation xmlns:a="http://relaxng.org/ns/compatibility/annotations/1.0">specifies the length in the units specified
Sample values include: </a:documentation>
               <choice>
                  <data type="double"/>
                  <data type="token">
                     <param name="pattern">(\-?[\d]+/\-?[\d]+)</param>
                  </data>
                  <data type="decimal"/>
               </choice>
            </attribute>
         </optional>
         <empty/>
      </element>
   </define>
   <define name="subst">
      <element name="subst">
         <a:documentation xmlns:a="http://relaxng.org/ns/compatibility/annotations/1.0">(substitution) (Sofort-)Korrekturen des Autors, die eine Texttilgung und Texthinzufügung beinhalten: ……. [11.3.1.5. Substitutions]</a:documentation>
         <oneOrMore>
            <choice>
               <ref name="add"/>
               <ref name="del"/>
               <ref name="model.milestoneLike"/>
            </choice>
         </oneOrMore>
         <pattern xmlns="http://purl.oclc.org/dsdl/schematron"
csteindl's avatar
csteindl committed
                  id="Schema_Okopenko_5-subst-substContents1-constraint-assert-12">
csteindl's avatar
csteindl committed
            <rule context="tei:subst">
               <assert xmlns:rng="http://relaxng.org/ns/structure/1.0"
                       test="child::tei:add and child::tei:del">
                  <name/> must have at least one child add and at least one child del</assert>
            </rule>
         </pattern>
      </element>
   </define>
   <define name="supplied">
      <element name="supplied">
         <a:documentation xmlns:a="http://relaxng.org/ns/compatibility/annotations/1.0">Von den EditorInnen ergänzter unlesbarer oder fehlender Text. [11.3.3.1. Damage, Illegibility, and Supplied Text]</a:documentation>
         <ref name="macro.paraContent"/>
         <optional>
            <attribute name="reason">
csteindl's avatar
csteindl committed
               <a:documentation xmlns:a="http://relaxng.org/ns/compatibility/annotations/1.0">
                  <code xmlns="http://www.w3.org/1999/xhtml">@reason</code> gibt den Grund an, weshalb der Text erschlossen werden musste.</a:documentation>
csteindl's avatar
csteindl committed
               <list>
                  <oneOrMore>
                     <choice>
                        <value>border</value>
                        <a:documentation xmlns:a="http://relaxng.org/ns/compatibility/annotations/1.0">Über das Seitenende hinausgeschriebener Text</a:documentation>
                        <value>folded</value>
                        <a:documentation xmlns:a="http://relaxng.org/ns/compatibility/annotations/1.0">Text, der auf Zeitungsartikel geschrieben wurde, die später so gefaltet wurden, dass sich der Text nicht mehr zur Gänze lesen ließ.</a:documentation>
                        <value>illegible</value>
                        <a:documentation xmlns:a="http://relaxng.org/ns/compatibility/annotations/1.0">Unlesbarer Text</a:documentation>
                        <value>paper-missing</value>
                        <a:documentation xmlns:a="http://relaxng.org/ns/compatibility/annotations/1.0">Texttilgung durch Hinausschneiden oder -reißen; wurde gemeinsam mit  bzw.  verwendet.</a:documentation>
                     </choice>
                  </oneOrMore>
               </list>
            </attribute>
         </optional>
         <empty/>
      </element>
   </define>
   <define name="listTranspose">
      <element name="listTranspose">
csteindl's avatar
csteindl committed
         <a:documentation xmlns:a="http://relaxng.org/ns/compatibility/annotations/1.0">Nähere Ausführungen siehe <code xmlns="http://www.w3.org/1999/xhtml">&lt;transpose&gt;</code>. [11.3.4.5. Transpositions]</a:documentation>
         <group>
            <zeroOrMore>
               <ref name="desc"/>
            </zeroOrMore>
            <oneOrMore>
               <ref name="transpose"/>
            </oneOrMore>
         </group>
csteindl's avatar
csteindl committed
      </element>
   </define>
   <define name="metamark">
      <element name="metamark">
csteindl's avatar
csteindl committed
         <a:documentation xmlns:a="http://relaxng.org/ns/compatibility/annotations/1.0">Mit <code xmlns="http://www.w3.org/1999/xhtml">&lt;metamark&gt;</code> wurden Unterführungszeichen und Verweisstrukturen wie Ergänzungen des Autors an den Seitenrändern mittels Asterisken codiert. Die Codierung von Verweisstrukturen mit <code xmlns="http://www.w3.org/1999/xhtml">&lt;add&gt;</code> wurde verwendet, wenn sich die Ergänzung syntaktisch/grammatikalisch in den ergänzten Satz einfügen ließ. War dies nicht der Fall, wurde die Ergänzung mit <code xmlns="http://www.w3.org/1999/xhtml">&lt;note&gt;</code> codiert. Das Verweiszeichen wurde in <code xmlns="http://www.w3.org/1999/xhtml">&lt;add&gt;</code> bzw. <code xmlns="http://www.w3.org/1999/xhtml">&lt;note&gt;</code> integriert und mit <code xmlns="http://www.w3.org/1999/xhtml">&lt;metamark&gt;</code> codiert. Vor und nach <code xmlns="http://www.w3.org/1999/xhtml">&lt;add&gt;</code> bzw. <code xmlns="http://www.w3.org/1999/xhtml">&lt;note&gt;</code> wurde ein Abstand gesetzt. Die mit <code xmlns="http://www.w3.org/1999/xhtml">&lt;add&gt;</code> bzw. <code xmlns="http://www.w3.org/1999/xhtml">&lt;note&gt;</code> codierte Textergänzung wurde direkt nach dem Verweiszeichen transkribiert und ihre Situierung auf der Seite mittels <code xmlns="http://www.w3.org/1999/xhtml">@place</code> codiert (siehe mögliche Attributwerte für <code xmlns="http://www.w3.org/1999/xhtml">@place</code> bei <code xmlns="http://www.w3.org/1999/xhtml">&lt;add&gt;</code> und <code xmlns="http://www.w3.org/1999/xhtml">&lt;note&gt;</code>). Folgt auf die Textergänzung ein Satzzeichen, wurde nach den Schließelementen von <code xmlns="http://www.w3.org/1999/xhtml">&lt;add&gt;</code> bzw. <code xmlns="http://www.w3.org/1999/xhtml">&lt;note&gt;</code> kein Leerzeichen gesetzt. "Herzog, die sich x) bereits mehrmal um(...)". [11.3.4.2. Metamarks]</a:documentation>
csteindl's avatar
csteindl committed
         <ref name="macro.specialPara"/>
         <optional>
            <attribute name="rend">
               <a:documentation xmlns:a="http://relaxng.org/ns/compatibility/annotations/1.0">(rendition) indicates how the element in question was rendered or presented in the source text.</a:documentation>
               <list>
                  <oneOrMore>
                     <choice>
                        <value>ditto-mark</value>
csteindl's avatar
csteindl committed
                        <a:documentation xmlns:a="http://relaxng.org/ns/compatibility/annotations/1.0">Siehe Ausführungen zu ditto für <code xmlns="http://www.w3.org/1999/xhtml">@function</code> in <code xmlns="http://www.w3.org/1999/xhtml">&lt;metamark&gt;</code>.</a:documentation>
csteindl's avatar
csteindl committed
                     </choice>
                  </oneOrMore>
               </list>
            </attribute>
         </optional>
         <optional>
            <attribute name="copyOf">
csteindl's avatar
csteindl committed
               <a:documentation xmlns:a="http://relaxng.org/ns/compatibility/annotations/1.0">Siehe Ausführungen zu ditto für <code xmlns="http://www.w3.org/1999/xhtml">@function</code> in <code xmlns="http://www.w3.org/1999/xhtml">&lt;metamark&gt;</code>.
csteindl's avatar
csteindl committed
Sample values include: </a:documentation>
               <data type="anyURI"/>
            </attribute>
         </optional>
         <optional>
            <attribute name="function">
               <a:documentation xmlns:a="http://relaxng.org/ns/compatibility/annotations/1.0">describes the function (for example status, insertion, deletion, transposition) of the metamark.</a:documentation>
               <choice>
                  <value>ditto</value>
csteindl's avatar
csteindl committed
                  <a:documentation xmlns:a="http://relaxng.org/ns/compatibility/annotations/1.0">Der mittels Unterführungszeichen virtuell kopierte Text wurde mit <code xmlns="http://www.w3.org/1999/xhtml">&lt;seg&gt;</code> und <code xmlns="http://www.w3.org/1999/xhtml">@xml:id</code> ausgezeichnet. An der Stelle des Unterführungszeichens wurde diese virtuelle Kopie als  eingefügt.</a:documentation>
csteindl's avatar
csteindl committed
               </choice>
            </attribute>
         </optional>
         <empty/>
      </element>
   </define>
   <define name="transpose">
      <element name="transpose">
csteindl's avatar
csteindl committed
         <a:documentation xmlns:a="http://relaxng.org/ns/compatibility/annotations/1.0">Eigenkorrekturen Okopenkos, bei welchen er zwei vertauschte Buchstaben ("Buchstabendreher") selbst mittels eines Korrekturzeichens korrigierte, wurden mit <code xmlns="http://www.w3.org/1999/xhtml">&lt;seg&gt;</code> und <code xmlns="http://www.w3.org/1999/xhtml">&lt;transpose&gt;</code> korrigiert: Shcalheit. Im Header wurde dies in <code xmlns="http://www.w3.org/1999/xhtml">&lt;profileDesc&gt;</code> festgehalten: . [11.3.4.5. Transpositions]</a:documentation>
csteindl's avatar
csteindl committed
         <group>
            <ref name="ptr"/>
            <oneOrMore>
               <ref name="ptr"/>
            </oneOrMore>
         </group>
      </element>
   </define>
csteindl's avatar
csteindl committed
   <define name="att.tableDecoration.attributes">
      <ref name="att.tableDecoration.attribute.role"/>
      <ref name="att.tableDecoration.attribute.rows"/>
      <ref name="att.tableDecoration.attribute.cols"/>
   </define>
   <define name="att.tableDecoration.attribute.role">
      <optional>
         <attribute xmlns:a="http://relaxng.org/ns/compatibility/annotations/1.0"
                    name="role"
                    a:defaultValue="data">
            <a:documentation>indicates the kind of information held in this cell or in each cell of this row.
Suggested values include: 1] label; 2] data</a:documentation>
            <choice>
               <value>label</value>
               <a:documentation>labelling or descriptive information only.</a:documentation>
               <value>data</value>
               <a:documentation>data values.</a:documentation>
               <data type="token">
                  <param name="pattern">(\p{L}|\p{N}|\p{P}|\p{S})+</param>
               </data>
            </choice>
         </attribute>
      </optional>
   </define>
   <define name="att.tableDecoration.attribute.rows">
      <optional>
         <attribute xmlns:a="http://relaxng.org/ns/compatibility/annotations/1.0"
                    name="rows"
                    a:defaultValue="1">
            <a:documentation>indicates the number of rows occupied by this cell or row.</a:documentation>
            <data type="nonNegativeInteger"/>
         </attribute>
      </optional>
   </define>
   <define name="att.tableDecoration.attribute.cols">
      <optional>
         <attribute xmlns:a="http://relaxng.org/ns/compatibility/annotations/1.0"
                    name="cols"
                    a:defaultValue="1">
            <a:documentation>(columns) indicates the number of columns occupied by this cell or row.</a:documentation>
            <data type="nonNegativeInteger"/>
         </attribute>
      </optional>
   </define>
csteindl's avatar
csteindl committed
   <define name="table">
      <element name="table">
         <a:documentation xmlns:a="http://relaxng.org/ns/compatibility/annotations/1.0">contains text displayed in tabular form, in rows and columns. [14.1.1. TEI Tables]</a:documentation>
         <group>
      
            <zeroOrMore>
               <choice>
                  <ref name="model.headLike"/>
                  <ref name="model.global"/>
               </choice>
            </zeroOrMore>
      
            <choice>
               <oneOrMore>
                  <group>
                     <ref name="row"/>
          
                     <zeroOrMore>
                        <ref name="model.global"/>
                     </zeroOrMore>
          
                  </group>
               </oneOrMore>
               <oneOrMore>
                  <group>
          
                     <ref name="model.graphicLike"/>
          
          
                     <zeroOrMore>
                        <ref name="model.global"/>
                     </zeroOrMore>
          
                  </group>
               </oneOrMore>
            </choice>
            <zeroOrMore>
               <group>
        
                  <ref name="model.divBottom"/>
        
        
                  <zeroOrMore>
                     <ref name="model.global"/>
                  </zeroOrMore>
        
               </group>
            </zeroOrMore>
         </group>
         <ref name="att.global.attributes"/>
         <ref name="att.typed.attributes"/>
         <optional>
            <attribute name="rows">
               <a:documentation xmlns:a="http://relaxng.org/ns/compatibility/annotations/1.0">indicates the number of rows in the table.</a:documentation>
               <data type="nonNegativeInteger"/>
            </attribute>
         </optional>
         <optional>
            <attribute name="cols">
               <a:documentation xmlns:a="http://relaxng.org/ns/compatibility/annotations/1.0">(columns) indicates the number of columns in each row of the table.</a:documentation>
               <data type="nonNegativeInteger"/>
            </attribute>
         </optional>
         <empty/>
      </element>
   </define>
   <define name="row">
      <element name="row">
         <a:documentation xmlns:a="http://relaxng.org/ns/compatibility/annotations/1.0">contains one row of a table. [14.1.1. TEI Tables]</a:documentation>
         <oneOrMore>
            <ref name="cell"/>
         </oneOrMore>
         <ref name="att.global.attributes"/>
         <ref name="att.tableDecoration.attributes"/>
         <empty/>
      </element>
   </define>
   <define name="cell">
      <element name="cell">
         <a:documentation xmlns:a="http://relaxng.org/ns/compatibility/annotations/1.0">contains one cell of a table. [14.1.1. TEI Tables]</a:documentation>
         <ref name="macro.specialPara"/>
         <optional>
            <attribute name="style">
csteindl's avatar
csteindl committed
               <a:documentation xmlns:a="http://relaxng.org/ns/compatibility/annotations/1.0">Nähere Ausführungen zu <code xmlns="http://www.w3.org/1999/xhtml">@style</code> siehe <code xmlns="http://www.w3.org/1999/xhtml">&lt;note&gt;</code>.
csteindl's avatar
csteindl committed
Sample values include: </a:documentation>
               <data type="string"/>
            </attribute>
         </optional>
         <empty/>
      </element>
   </define>
   <define name="figure">
      <element name="figure">
csteindl's avatar
csteindl committed
         <a:documentation xmlns:a="http://relaxng.org/ns/compatibility/annotations/1.0">Markiert Zeichnungen und Piktogramme: Hier eine Beschreibung der Zeichnung.. Zeichen, die eine Entsprechung in Unicode haben, werden als solcher codiert. Sind in einen Text, der mit der Schreibmaschine geschrieben wurde, handschriftlich Pfeile (die nicht in Unicode darstellbar sind) oder andere Zeichnungen und Symbole, die mit dem Tag <code xmlns="http://www.w3.org/1999/xhtml">&lt;figure&gt;</code> codiert werden, eingefügt, so wurde der Umstand, dass es sich um handschriftliche Zeichen handelt, in <code xmlns="http://www.w3.org/1999/xhtml">&lt;figDesc&gt;</code> festgehalten. Pfeile, die nicht mittels Unicode transkribiert wurden, weil sie "Stimmungskurven" darstellen, wurden in <code xmlns="http://www.w3.org/1999/xhtml">&lt;figDesc&gt;</code> nur als "Stimmungskurve" benannt ohne nähere Richtungs- und Krümmungsangaben. Hier wurde auch auf die Angabe "handschriftlich" verzichtet. [14.4. Specific Elements for Graphic Images]</a:documentation>
csteindl's avatar
csteindl committed
         <zeroOrMore>
            <choice>
               <ref name="model.headLike"/>
               <ref name="model.common"/>
               <ref name="figDesc"/>
               <ref name="model.graphicLike"/>
               <ref name="model.global"/>
               <ref name="model.divBottom"/>
            </choice>
         </zeroOrMore>
         <optional>
            <attribute name="style">
csteindl's avatar
csteindl committed
               <a:documentation xmlns:a="http://relaxng.org/ns/compatibility/annotations/1.0">Nähere Ausführungen zu <code xmlns="http://www.w3.org/1999/xhtml">@style</code> siehe <code xmlns="http://www.w3.org/1999/xhtml">&lt;note&gt;</code>.</a:documentation>
csteindl's avatar
csteindl committed
               <choice>
                  <value>transform:rotateZ(+45deg)</value>
                  <a:documentation xmlns:a="http://relaxng.org/ns/compatibility/annotations/1.0"/>
               </choice>
            </attribute>
         </optional>
         <optional>
            <attribute name="place">
               <a:documentation xmlns:a="http://relaxng.org/ns/compatibility/annotations/1.0">specifies where this item is placed.</a:documentation>
               <list>
                  <oneOrMore>
                     <choice>
                        <value>margin-left</value>
                        <a:documentation xmlns:a="http://relaxng.org/ns/compatibility/annotations/1.0">Zeichnung am linken Seitenrand</a:documentation>
                        <value>margin-right</value>
                        <a:documentation xmlns:a="http://relaxng.org/ns/compatibility/annotations/1.0">Zeichnung am rechten Seitenrand</a:documentation>
                        <value>margin-top</value>
                        <a:documentation xmlns:a="http://relaxng.org/ns/compatibility/annotations/1.0">Zeichnung am oberen Seitenrand</a:documentation>
                        <value>margin-bottom</value>
                        <a:documentation xmlns:a="http://relaxng.org/ns/compatibility/annotations/1.0">Zeichnung am unteren Seitenrand</a:documentation>
                        <value>upper-left-corner</value>
                        <a:documentation xmlns:a="http://relaxng.org/ns/compatibility/annotations/1.0">Zeichnung in der oberen linken Ecke</a:documentation>
                        <value>upper-right-corner</value>
                        <a:documentation xmlns:a="http://relaxng.org/ns/compatibility/annotations/1.0">Zeichnung in der oberen rechten Ecke</a:documentation>
                        <value>lower-right-corner</value>
                        <a:documentation xmlns:a="http://relaxng.org/ns/compatibility/annotations/1.0">Zeichnung in der unteren rechten Ecke</a:documentation>
                        <value>lower-left-corner</value>
                        <a:documentation xmlns:a="http://relaxng.org/ns/compatibility/annotations/1.0">Zeichnung in der unteren linken Ecke</a:documentation>
                     </choice>
                  </oneOrMore>
               </list>
            </attribute>
         </optional>
         <empty/>
      </element>
   </define>
   <define name="figDesc">
      <element name="figDesc">
         <a:documentation xmlns:a="http://relaxng.org/ns/compatibility/annotations/1.0">(description of figure) contains a brief prose description of the appearance or content of a graphic figure, for use when documenting an image without displaying it. [14.4. Specific Elements for Graphic Images]</a:documentation>
         <ref name="macro.limitedContent"/>
      </element>
   </define>
   <define name="msDesc">
      <element name="msDesc">
         <a:documentation xmlns:a="http://relaxng.org/ns/compatibility/annotations/1.0">(manuscript description) contains a description of a single identifiable manuscript or other text-bearing object. [10.1. Overview]</a:documentation>
         <group>
            <ref name="msIdentifier"/>
            <zeroOrMore>
               <ref name="model.headLike"/>
            </zeroOrMore>
            <choice>
               <oneOrMore>
                  <ref name="model.pLike"/>
               </oneOrMore>
               <group>
                  <optional>
                     <ref name="physDesc"/>
                  </optional>
                  <empty/>
               </group>
            </choice>
         </group>
      </element>
   </define>
   <define name="material">
      <element name="material">
         <a:documentation xmlns:a="http://relaxng.org/ns/compatibility/annotations/1.0">contains a word or phrase describing the material of which the object being described is composed. [10.3.2. Material and Object Type]</a:documentation>
         <ref name="macro.phraseSeq"/>
      </element>
   </define>
   <define name="msIdentifier">
      <element name="msIdentifier">
csteindl's avatar
csteindl committed
         <a:documentation xmlns:a="http://relaxng.org/ns/compatibility/annotations/1.0">(manuscript identifier) contains the information required to identify the manuscript or similar object being described. [10.4. The Manuscript Identifier]</a:documentation>
csteindl's avatar
csteindl committed
         <group>
            <group>
               <optional>
                  <ref name="placeName"/>
               </optional>
               <optional>
                  <ref name="country"/>
               </optional>
               <optional>
                  <ref name="region"/>
               </optional>
               <optional>
                  <ref name="settlement"/>
               </optional>
               <optional>
                  <ref name="district"/>
               </optional>
               <optional>
                  <ref name="geogName"/>
               </optional>
               <optional>
                  <ref name="institution"/>
               </optional>
               <optional>
                  <ref name="repository"/>
               </optional>
csteindl's avatar
csteindl committed
               <zeroOrMore>
csteindl's avatar
csteindl committed
                  <ref name="idno"/>
csteindl's avatar
csteindl committed
               </zeroOrMore>
csteindl's avatar
csteindl committed
            </group>
            <zeroOrMore>
               <choice>
csteindl's avatar
csteindl committed
                  <ref name="objectName"/>
csteindl's avatar
csteindl committed
                  <ref name="altIdentifier"/>
               </choice>
            </zeroOrMore>
         </group>
         <pattern xmlns="http://purl.oclc.org/dsdl/schematron"
csteindl's avatar
csteindl committed
                  id="Schema_Okopenko_5-msIdentifier-msId_minimal-constraint-report-16">
csteindl's avatar
csteindl committed
            <rule context="tei:msIdentifier">
               <report xmlns:rng="http://relaxng.org/ns/structure/1.0"
csteindl's avatar
csteindl committed
                       test="not(parent::tei:msPart) and (local-name(*[1])='idno' or local-name(*[1])='altIdentifier' or normalize-space(.)='')">An msIdentifier must contain either a repository or location.</report>
csteindl's avatar
csteindl committed
            </rule>
         </pattern>
      </element>
   </define>
   <define name="institution">
      <element name="institution">
csteindl's avatar
csteindl committed
         <a:documentation xmlns:a="http://relaxng.org/ns/compatibility/annotations/1.0">contains the name of an organization such as a university or library, with which a manuscript or other object is identified, generally its holding institution. [10.4. The Manuscript Identifier]</a:documentation>
csteindl's avatar
csteindl committed
         <ref name="macro.xtext"/>
         <optional>
            <attribute name="ref">
               <a:documentation xmlns:a="http://relaxng.org/ns/compatibility/annotations/1.0">(reference) provides an explicit means of locating a full definition or identity for the entity being named by means of one or more URIs.
Sample values include: </a:documentation>
               <list>
                  <oneOrMore>
                     <data type="anyURI"/>
                  </oneOrMore>
               </list>
            </attribute>
         </optional>
         <empty/>
      </element>
   </define>
   <define name="repository">
      <element name="repository">
csteindl's avatar
csteindl committed
         <a:documentation xmlns:a="http://relaxng.org/ns/compatibility/annotations/1.0">contains the name of a repository within which manuscripts or other objects are stored, possibly forming part of an institution. [10.4. The Manuscript Identifier]</a:documentation>
csteindl's avatar
csteindl committed
         <ref name="macro.xtext"/>
      </element>
   </define>
   <define name="altIdentifier">
      <element name="altIdentifier">
csteindl's avatar
csteindl committed
         <a:documentation xmlns:a="http://relaxng.org/ns/compatibility/annotations/1.0">(alternative identifier) contains an alternative or former structured identifier used for a manuscript or other object, such as a former catalogue number. [10.4. The Manuscript Identifier]</a:documentation>
csteindl's avatar
csteindl committed
         <group>
            <optional>
               <ref name="placeName"/>
            </optional>
            <optional>
               <ref name="country"/>
            </optional>
            <optional>
               <ref name="region"/>
            </optional>
            <optional>
               <ref name="settlement"/>
            </optional>
            <optional>
               <ref name="district"/>
            </optional>
            <optional>
               <ref name="geogName"/>
            </optional>
            <optional>
               <ref name="institution"/>
            </optional>
            <optional>
               <ref name="repository"/>
            </optional>
            <ref name="idno"/>
            <optional>
               <ref name="note"/>
            </optional>
         </group>
      </element>
   </define>
   <define name="physDesc">
      <element name="physDesc">
csteindl's avatar
csteindl committed
         <a:documentation xmlns:a="http://relaxng.org/ns/compatibility/annotations/1.0">(physical description) contains a full physical description of a manuscript, manuscript part, or other object optionally subdivided using more specialized elements from the model.physDescPart class. [10.7. Physical Description]</a:documentation>
csteindl's avatar
csteindl committed
         <group>
            <zeroOrMore>
               <ref name="model.pLike"/>
            </zeroOrMore>
            <optional>
               <ref name="objectDesc"/>
            </optional>
            <optional>
               <ref name="handDesc"/>
            </optional>
         </group>
      </element>
   </define>
   <define name="objectDesc">
      <element name="objectDesc">
         <a:documentation xmlns:a="http://relaxng.org/ns/compatibility/annotations/1.0">contains a description of the physical components making up the object which is being described. [10.7.1. Object Description]</a:documentation>
         <choice>
            <oneOrMore>
               <ref name="model.pLike"/>
            </oneOrMore>
            <group>
               <optional>
                  <ref name="supportDesc"/>
               </optional>
            </group>
         </choice>
      </element>
   </define>
   <define name="supportDesc">
      <element name="supportDesc">
csteindl's avatar
csteindl committed
         <a:documentation xmlns:a="http://relaxng.org/ns/compatibility/annotations/1.0">(support description) groups elements describing the physical support for the written part of a manuscript or other object. [10.7.1. Object Description]</a:documentation>
csteindl's avatar
csteindl committed
         <choice>
            <oneOrMore>
               <ref name="model.pLike"/>
            </oneOrMore>
            <group>
               <optional>
                  <ref name="extent"/>
               </optional>
            </group>
         </choice>
      </element>
   </define>
   <define name="handDesc">
      <element name="handDesc">
csteindl's avatar
csteindl committed
         <a:documentation xmlns:a="http://relaxng.org/ns/compatibility/annotations/1.0">(description of hands) contains a description of all the different hands used in a manuscript or other object. [10.7.2. Writing, Decoration, and Other Notations]</a:documentation>
csteindl's avatar
csteindl committed
         <choice>
            <oneOrMore>
               <ref name="model.pLike"/>
            </oneOrMore>
            <group>
               <oneOrMore>
                  <ref name="handNote"/>
               </oneOrMore>
            </group>
         </choice>
      </element>
   </define>
   <start>
      <choice>
         <ref name="TEI"/>
      </choice>
   </start>
</grammar>