<?xml version="1.0" encoding="UTF-8"?>
<!-- © TEI Consortium. Dual-licensed under CC-by and BSD2 licenses; see the file COPYING.txt for details. -->
<?xml-model href="https://jenkins.tei-c.org/job/TEIP5-dev/lastSuccessfulBuild/artifact/P5/release/xml/tei/odd/p5.nvdl" type="application/xml" schematypens="http://purl.oclc.org/dsdl/nvdl/ns/structure/1.0"?>
<elementSpec xmlns="http://www.tei-c.org/ns/1.0" xmlns:sch="http://purl.oclc.org/dsdl/schematron" module="msdescription" xml:id="MSDESC" ident="msDesc">
  <gloss versionDate="2007-07-04" xml:lang="en">manuscript description</gloss>
  <gloss versionDate="2007-12-20" xml:lang="ko">원고 기술</gloss>
  <gloss versionDate="2007-05-02" xml:lang="zh-TW"/>
  <gloss versionDate="2008-04-06" xml:lang="es">descripción del manuscrito</gloss>
  <gloss versionDate="2007-06-12" xml:lang="fr">description d'un manuscrit</gloss>
  <gloss versionDate="2007-11-06" xml:lang="it">decrizione del manoscritto</gloss>
  <desc versionDate="2022-02-23" xml:lang="en" xml:id="msdesc.desc">contains a description of a single identifiable
    manuscript or other text-bearing object such as an early printed book.</desc>
  <desc versionDate="2007-12-20" xml:lang="ko">하나의 식별가능한 원고에 대한 기술을 포함한다.</desc>
  <desc versionDate="2007-05-02" xml:lang="zh-TW">包含單一份可識別手稿的描述。</desc>
  <desc versionDate="2008-04-05" xml:lang="ja">単一の識別可能な手書き資料の解説を示す。</desc>
  <desc versionDate="2007-06-12" xml:lang="fr">contient la description d'un manuscrit individuel.</desc>
  <desc versionDate="2007-05-04" xml:lang="es">contiene la definición de un único manuscrito.</desc>
  <desc versionDate="2007-01-21" xml:lang="it">contiene la descrizione di un unico manoscritto</desc>
  <classes>
    <memberOf key="att.global"/>
    <memberOf key="att.declaring"/>
    <memberOf key="att.docStatus"/>
    <memberOf key="att.sortable"/>
    <memberOf key="att.typed"/>
    <memberOf key="model.biblLike"/>
  </classes>
  <content>
    <sequence>
      <elementRef key="msIdentifier"/>
      <classRef key="model.headLike" minOccurs="0" maxOccurs="unbounded"/>
      <!--
          The desired content model for the following is
            ( pLike | ( msContents? & physDesc? & history? & additional? & msPart* & msFrag* ) )
          but of course we can't use interleave, as DTDs (and maybe XSD)
          will not support that. See https://github.com/TEIC/TEI/issues/2214.
      -->
      <alternate>
        <classRef key="model.pLike" minOccurs="1" maxOccurs="unbounded"/>
        <alternate minOccurs="0" maxOccurs="unbounded">
          <elementRef key="msContents"/>
          <elementRef key="physDesc"/>
          <elementRef key="history"/>
          <elementRef key="additional"/>
          <elementRef key="msPart"/>
          <elementRef key="msFrag"/>
        </alternate>
      </alternate>
    </sequence>
  </content>
  <constraintSpec scheme="schematron" ident="one_ms_singleton_max" xml:lang="en">
    <constraint>
      <sch:rule context="tei:msContents|tei:physDesc|tei:history|tei:additional">
        <!-- Note: This rule applies to <msContents>, <physDesc>,
             <history>, and <additional> wherever they occur. Luckily
             they are only allowed in places where they are
             constrained to 0 or 1 occurrence. If that changes someday,
             this constraint may will likely need to be updated,
             too. -->
        <!-- Also worth noting that
             a) if & when we can use abstract patterns, this would be
             better handled as a single abstract rule somewhere, and
             concrete rules in the individual <elementSpec>s; and
             b) I did not test for the existence of "../*[name(.) eq
             $gi][2]" because then an error would be generated for
             each of the multiple occurrences of $gi. -->
        <sch:let name="gi" value="name(.)"/>
        <sch:report test="preceding-sibling::*[ name(.) eq $gi ]
                          and
                          not( following-sibling::*[ name(.) eq $gi ] )">
          Only one <sch:name/> is allowed as a child of <sch:value-of select="name(..)"/>.
        </sch:report>
      </sch:rule>
    </constraint>
  </constraintSpec>
  <exemplum xml:lang="en">
    <egXML xmlns="http://www.tei-c.org/ns/Examples" xml:id="MSDESC-egXML-cr">
      <msDesc>
        <msIdentifier>
          <settlement>Oxford</settlement>
          <repository>Bodleian Library</repository>
          <idno type="Bod">MS Poet. Rawl. D. 169.</idno>
        </msIdentifier>
        <msContents>
          <msItem>
            <author>Geoffrey Chaucer</author>
            <title>The Canterbury Tales</title>
          </msItem>
        </msContents>
        <physDesc>
          <objectDesc>
            <p>A parchment codex of 136 folios, measuring approx
              28 by 19 inches, and containing 24 quires.</p>
            <p>The pages are margined and ruled throughout.</p>
            <p>Four hands have been identified in the manuscript: the first 44
              folios being written in two cursive anglicana scripts, while the
              remainder is for the most part in a mixed secretary hand.</p>
          </objectDesc>
        </physDesc>
      </msDesc>
    </egXML>
  </exemplum>
  <exemplum versionDate="2008-04-06" xml:lang="fr">
    <egXML xmlns="http://www.tei-c.org/ns/Examples" xml:id="MSDESC-egXML-cc" source="#fr-ex-BnF-Reliures">
      <msDesc>
        <msIdentifier>
          <country>France</country>
          <settlement>Paris</settlement>
          <repository xml:lang="fr">Bibliothèque nationale de France. Réserve des livres rares&gt;</repository>
          <idno>RES P- YC- 1275</idno>
          <!-- dans le cas des recueils : cote uniquement sans les sous-cotes -->
          <altIdentifier>
            <idno>Y. 1341</idno>
            <note>Cote de la Bibliothèque royale au XVIIIe s. (Catalogue de 1750).</note>
          </altIdentifier>
        </msIdentifier>
        <msContents>
          <msItem>
            <!-- pour le traitement des recueils la solution possible est de répéter l'élément <msItem>  -->
            <docAuthor>
              <forename>Juvénal</forename>
            </docAuthor>
            <docAuthor>
              <forename>Perse</forename>
            </docAuthor>
            <docTitle>
              <titlePart type="main"/>
              <titlePart type="sub"/>
            </docTitle>
            <docImprint>
              <pubPlace>Venise</pubPlace>
              <publisher>F. Torresani</publisher>
              <!-- dans le Catalogue général: "in aedibus haeredum Aldi et Andreae soceri" -->
              <publisher>G.-F. Torresani</publisher>
            </docImprint>
            <docDate when="1535">1535</docDate>
            <note>In-8°.</note>
            <!-- in-32°; in-24°; in-16°; in-8°; in-4°; in-folio; gr. folio -->
            <note>Exemplaire avec rehauts peints en argent, or et bleu.</note>
            <note>
              <ref target="http://catalogue.bnf.fr/ark:/12148/cb31088624r">Notice bibliographique
                dans le Catalogue général</ref>
            </note>
          </msItem>
        </msContents>
        <physDesc>
          <p>
            <ref target="http://bnf.fr/ark://">Image de la reliure dans l'iconothèque</ref>
            <!-- RC-B-05225 (plat sup.) -->
          </p>
          <objectDesc>
            <supportDesc>
              <extent>
                <dimensions type="binding">
                  <height unit="mm">170</height>
                  <width unit="mm">98</width>
                  <depth unit="mm">15</depth>
                </dimensions>
              </extent>
            </supportDesc>
          </objectDesc>
          <bindingDesc>
            <binding contemporary="true">
              <p><index indexName="typo_reliure"><term>Reliure à décor</term></index><index indexName="typo_decor"><term>Entrelacs géométriques</term></index> Reliure en <material>maroquin</material> brun jaspé</p>
              <decoNote type="plats"> à décor d’entrelacs géométriques (structure de losange et
                rectangle) complété de fers évidés.</decoNote>
              <decoNote type="plat_sup">Titre <q>ivvenalis. persivs</q> et ex-libris de Jean
                Grolier <q>io. grolierii et amicorvm.</q> dorés respectivement au centre et au bas
                du plat supérieur. </decoNote>
              <decoNote type="plat_inf">Devise de Jean Grolier<q>portio mea sit in terra
                viventivm</q> dorée au centre du plat inférieur.</decoNote>
              <decoNote type="dos">Dos à cinq nerfs, sans décor ; simple filet doré sur chaque
                nerf et en encadrement des caissons ; passages de chaînette marqués de même.</decoNote>
              <decoNote type="tranchefiles">Tranchefiles simples unicolores, vert foncé.</decoNote>
              <decoNote type="coupes">Filet doré sur les coupes.</decoNote>
              <decoNote type="annexes"/>
              <decoNote type="tranches">Tranches dorées.</decoNote>
              <decoNote type="contreplats">Contreplats en vélin.</decoNote>
              <decoNote type="chasses">Filet doré sur les chasses.</decoNote>
              <!-- Description des gardes : gardes blanches ; gardes couleurs (marbrées, gaufrées, peintes, dominotées, etc.) généralement suivies de gardes blanches ; dans tous les cas, spécifier le nombre de gardes (début + fin du volume)-->
              <decoNote type="gardes">Gardes en papier et vélin (2+1+2 / 2+1+2) ; filigrane au
                pot.<ref>Briquet N° XX</ref>
              </decoNote>
              <!-- Élément qui inclut aussi bien des remarques sur la couture que les charnières, claies ou modes d'attaches des plats : tous éléments de la structure dont la description est jugée utile à la description et l'identification de la reliure-->
              <decoNote type="structure">Defet manuscrit utilisé comme claie au contreplat
                inférieur (visible par transparence, sous la contregarde en vélin).</decoNote>
              <condition>Traces de mouillures anciennes plus ou moins importantes au bas des
                feuillets, qui n'ont pas affecté la reliure ; éraflure en tête du plat
                inférieur.</condition>
            </binding>
          </bindingDesc>
        </physDesc>
        <history>
          <origin notBefore="1540-01-01" notAfter="1547-09-15">
            <p>Reliure exécutée pour Jean Grolier par Jean Picard, Paris, entre 1540 et 1547.</p>
          </origin>
          <provenance>
            <p/>
          </provenance>
          <acquisition notBefore="1680-12-31" notAfter="1724-12-31">Estampille n° 1, utilisée de
            la fin du XVIIe siècle à 1724 (page de titre).</acquisition>
        </history>
        <additional>
          <adminInfo>
            <recordHist>
              <source>Notice établie à partir du document original</source>
              <change when="2009-10-05" who="#Markova">Description mise à jour le <date type="crea">5 octobre 2009 </date>en vue de l'encodage en TEI des descriptions des reliure
                de la Réserve des livres rares</change>
              <change when="2009-06-01" who="#Le_Bars">Description revue le <date type="maj">1er
                juin 2009 </date> par Fabienne Le Bars</change>
              <change when="2009-06-25" who="#Le_Bars">Description validée le<date type="valid">25
                juin 2009</date>par Fabienne Le Bars</change>
            </recordHist>
          </adminInfo>
        </additional>
      </msDesc>
    </egXML>
  </exemplum>
  <exemplum xml:lang="zh-TW">
    <egXML xmlns="http://www.tei-c.org/ns/Examples" xml:id="MSDESC-egXML-hu">
      <msDesc>
        <msIdentifier>
          <settlement>台北</settlement>
          <repository>CBETA</repository>
          <idno type="cbeta">Taisho Tripitaka Vol. T08, No. 230</idno>
        </msIdentifier>
        <msContents>
          <msItem>
            <author>唐玄奘</author>
            <title>大般若波羅蜜多經電子版本</title>
          </msItem>
        </msContents>
        <physDesc>
          <objectDesc>
            <p>總共有600卷</p>
            <p>亦收錄於高麗藏、嘉興藏、永樂北藏、永樂南藏、乾隆藏、佛教大藏經、中華藏...等。</p>
            <p>唯獨新纂卍續藏未收錄此經</p>
          </objectDesc>
        </physDesc>
      </msDesc>
    </egXML>
  </exemplum>
  <remarks versionDate="2019-12-27" xml:lang="en">
    <p>Although the <gi>msDesc</gi> has primarily been designed with a
    view to encoding manuscript descriptions, it may also be used for
    other objects such as early printed books, fascicles, epigraphs,
    or any text-bearing objects that require substantial description.
    If an object is not text-bearing or the reasons for describing the
    object is not primarily the textual content, the more general
    <gi>object</gi> may be more suitable.</p>
  </remarks>
  <listRef>
    <ptr target="#msov"/>
  </listRef>
</elementSpec>
