Skip to content

Commit

Permalink
Regenerate schema files from ODD
Browse files Browse the repository at this point in the history
  • Loading branch information
andrew-morrison committed Apr 12, 2019
1 parent 35f62f6 commit 7699a5c
Show file tree
Hide file tree
Showing 3 changed files with 137 additions and 89 deletions.
4 changes: 2 additions & 2 deletions alternatives/msdesc.dtd
Original file line number Diff line number Diff line change
@@ -1,6 +1,6 @@

<!--
DTD generated from ODD source 2019-02-15T15:45:11Z. .[https://creativecommons.org/licenses/by/4.0/] Creative Commons Attribution 4.0 International
DTD generated from ODD source 2019-04-12T16:59:12Z. .[https://creativecommons.org/licenses/by/4.0/] Creative Commons Attribution 4.0 International
TEI Edition: Version 3.5.0. Last updated on
29th January 2019, revision 3c0c64ec4
TEI Edition Location: http://www.tei-c.org/Vault/P5/Version 3.5.0/
Expand Down Expand Up @@ -2201,7 +2201,7 @@ reason CDATA #IMPLIED >
<!ATTLIST supportDesc xmlns CDATA "http://www.tei-c.org/ns/1.0">
<!ATTLIST supportDesc
%att.global.attributes;
material %teidata.enumerated; #IMPLIED >
material %teidata.word; #REQUIRED >
<!--doc:defines a written surface as a two-dimensional coordinate space, optionally grouping one or more graphic representations of that space, zones of interest within that space, and transcriptions of the writing within them. [11.1. Digital Facsimiles 11.2.2. Embedded Transcription] -->
<!ELEMENT surface (((%model.global;|%model.labelLike;|%model.graphicLike;)*,((zone|line|path|surface|surfaceGrp),(%model.global;)*)*))>
<!ATTLIST surface xmlns CDATA "http://www.tei-c.org/ns/1.0">
Expand Down
65 changes: 55 additions & 10 deletions alternatives/msdesc.xsd
Original file line number Diff line number Diff line change
Expand Up @@ -4,7 +4,7 @@
<xs:import namespace="http://www.w3.org/2001/XInclude" schemaLocation="xinclude.xsd"/>
<xs:import namespace="http://www.w3.org/XML/1998/namespace" schemaLocation="xml.xsd"/>
<!--
Schema generated from ODD source 2019-02-15T15:43:28Z. .
Schema generated from ODD source 2019-04-12T16:59:47Z. .
TEI Edition: Version 3.5.0. Last updated on
29th January 2019, revision 3c0c64ec4
TEI Edition Location: http://www.tei-c.org/Vault/P5/Version 3.5.0/
Expand Down Expand Up @@ -5978,27 +5978,45 @@ Suggested values include: 1] binding; 2] folia; 3] leaf; 4] line-height; 5] rule
</xs:sequence>
</xs:choice>
<xs:attributeGroup ref="tei:att.global.attributes"/>
<xs:attribute name="material">
<xs:attribute name="material" use="required">
<xs:annotation>
<xs:documentation>a short project-defined name for the material composing the majority of the support
Suggested values include: 1] paper; 2] parch (parchment) ; 3] mixed</xs:documentation>
<xs:documentation>The material composing the majority of the support
Suggested values include: 1] perg; 2] chart; 3] papyrus; 4] palm; 5] mixed; 6] other; 7] unknown</xs:documentation>
</xs:annotation>
<xs:simpleType>
<xs:union>
<xs:simpleType>
<xs:restriction base="xs:token">
<xs:enumeration value="paper">
<xs:enumeration value="perg">
<xs:annotation>
<xs:documentation/>
<xs:documentation>The object is composed of parchment or vellum</xs:documentation>
</xs:annotation>
</xs:enumeration>
</xs:restriction>
</xs:simpleType>
<xs:simpleType>
<xs:restriction base="xs:token">
<xs:enumeration value="chart">
<xs:annotation>
<xs:documentation>The object is composed of any kind of paper. Give more details, if any, in a child support element.</xs:documentation>
</xs:annotation>
</xs:enumeration>
</xs:restriction>
</xs:simpleType>
<xs:simpleType>
<xs:restriction base="xs:token">
<xs:enumeration value="papyrus">
<xs:annotation>
<xs:documentation>The object is composed of papyrus.</xs:documentation>
</xs:annotation>
</xs:enumeration>
</xs:restriction>
</xs:simpleType>
<xs:simpleType>
<xs:restriction base="xs:token">
<xs:enumeration value="parch">
<xs:enumeration value="palm">
<xs:annotation>
<xs:documentation>(parchment) </xs:documentation>
<xs:documentation>The object is composed of palm leaves.</xs:documentation>
</xs:annotation>
</xs:enumeration>
</xs:restriction>
Expand All @@ -6007,7 +6025,25 @@ Suggested values include: 1] paper; 2] parch (parchment) ; 3] mixed</xs:document
<xs:restriction base="xs:token">
<xs:enumeration value="mixed">
<xs:annotation>
<xs:documentation/>
<xs:documentation>The object is composed of a combination of paper and parchment. The nature of the combination should be specified in the support element.</xs:documentation>
</xs:annotation>
</xs:enumeration>
</xs:restriction>
</xs:simpleType>
<xs:simpleType>
<xs:restriction base="xs:token">
<xs:enumeration value="other">
<xs:annotation>
<xs:documentation>The object is composed of another material (e.g. wood).</xs:documentation>
</xs:annotation>
</xs:enumeration>
</xs:restriction>
</xs:simpleType>
<xs:simpleType>
<xs:restriction base="xs:token">
<xs:enumeration value="unknown">
<xs:annotation>
<xs:documentation>The material of which is object is composed is not known.</xs:documentation>
</xs:annotation>
</xs:enumeration>
</xs:restriction>
Expand Down Expand Up @@ -6134,7 +6170,7 @@ Suggested values include: 1] paper; 2] parch (parchment) ; 3] mixed</xs:document
<xs:attribute name="rulingMedium">
<xs:annotation>
<xs:documentation>Specifies the medium used to carry out the ruling. Note: This is a customization which is not currently part of the TEI P5 standard.
Suggested values include: 1] ink; 2] leadpoint; 3] hardpoint; 4] crayon; 5] board</xs:documentation>
Suggested values include: 1] ink; 2] leadpoint; 3] hardpoint; 4] crayon; 5] mixed; 6] board</xs:documentation>
</xs:annotation>
<xs:simpleType>
<xs:union>
Expand Down Expand Up @@ -6174,6 +6210,15 @@ Suggested values include: 1] ink; 2] leadpoint; 3] hardpoint; 4] crayon; 5] boar
</xs:enumeration>
</xs:restriction>
</xs:simpleType>
<xs:simpleType>
<xs:restriction base="xs:token">
<xs:enumeration value="mixed">
<xs:annotation>
<xs:documentation>The ruling is carried out using several methods.</xs:documentation>
</xs:annotation>
</xs:enumeration>
</xs:restriction>
</xs:simpleType>
<xs:simpleType>
<xs:restriction base="xs:token">
<xs:enumeration value="board">
Expand Down
Loading

0 comments on commit 7699a5c

Please sign in to comment.