Skip to content

Commit

Permalink
enforce TEI compliant order of physDesc child elements
Browse files Browse the repository at this point in the history
  • Loading branch information
peterstadler committed Feb 1, 2021
1 parent e4fcda3 commit 59abeaf
Show file tree
Hide file tree
Showing 17 changed files with 291 additions and 130 deletions.
6 changes: 5 additions & 1 deletion compiled-ODD/guidelines-de-wegaDocuments.compiled.xml
Original file line number Diff line number Diff line change
Expand Up @@ -14367,7 +14367,11 @@ nominum</soCalled>, o soprannome</desc>
<listRef>
<ref target="https://www.tei-c.org/release/doc/tei-p5-doc/en/html/MS.html#msid">10.4. The Manuscript Identifier</ref>
</listRef>
</elementSpec><elementSpec rend="change" module="msdescription" xml:id="PHYSDESC" ident="physDesc"><gloss xmlns:tei="http://www.tei-c.org/ns/1.0" xmlns:mei="http://www.music-encoding.org/ns/mei" xmlns:a="http://relaxng.org/ns/compatibility/annotations/1.0" xmlns:s="http://www.ascc.net/xml/schematron" rend="replace" versionDate="2013-11-11" xml:lang="en">physical description</gloss><gloss xmlns:tei="http://www.tei-c.org/ns/1.0" xmlns:mei="http://www.music-encoding.org/ns/mei" xmlns:a="http://relaxng.org/ns/compatibility/annotations/1.0" xmlns:s="http://www.ascc.net/xml/schematron" rend="replace" versionDate="2013-11-11" xml:lang="de">materielle Beschreibung</gloss><desc xmlns:tei="http://www.tei-c.org/ns/1.0" xmlns:mei="http://www.music-encoding.org/ns/mei" xmlns:a="http://relaxng.org/ns/compatibility/annotations/1.0" xmlns:s="http://www.ascc.net/xml/schematron" rend="replace" versionDate="2013-11-11" xml:lang="en">contains a full physical description of a manuscript or manuscript part, optionally subdivided using more specialized elements from the model.physDescPart class.</desc><desc xmlns:tei="http://www.tei-c.org/ns/1.0" xmlns:mei="http://www.music-encoding.org/ns/mei" xmlns:a="http://relaxng.org/ns/compatibility/annotations/1.0" xmlns:s="http://www.ascc.net/xml/schematron" rend="replace" versionDate="2013-11-11" xml:lang="de">enthält eine komplette materielle Beschreibung eines Manuskripts oder Teile eines Manuskripts, gegebenenfalls unterteilt mit mehr spezifischen Elementen aus der model.physDescPart Klasse.</desc><classes/><content><oneOrMore xmlns="http://relaxng.org/ns/structure/1.0"><choice><ref name="p"/><ref name="accMat"/></choice></oneOrMore></content><attList/><exemplum xml:lang="en">
</elementSpec><elementSpec rend="change" module="msdescription" xml:id="PHYSDESC" ident="physDesc"><gloss xmlns:tei="http://www.tei-c.org/ns/1.0" xmlns:mei="http://www.music-encoding.org/ns/mei" xmlns:a="http://relaxng.org/ns/compatibility/annotations/1.0" xmlns:s="http://www.ascc.net/xml/schematron" rend="replace" versionDate="2013-11-11" xml:lang="en">physical description</gloss><gloss xmlns:tei="http://www.tei-c.org/ns/1.0" xmlns:mei="http://www.music-encoding.org/ns/mei" xmlns:a="http://relaxng.org/ns/compatibility/annotations/1.0" xmlns:s="http://www.ascc.net/xml/schematron" rend="replace" versionDate="2013-11-11" xml:lang="de">materielle Beschreibung</gloss><desc xmlns:tei="http://www.tei-c.org/ns/1.0" xmlns:mei="http://www.music-encoding.org/ns/mei" xmlns:a="http://relaxng.org/ns/compatibility/annotations/1.0" xmlns:s="http://www.ascc.net/xml/schematron" rend="replace" versionDate="2013-11-11" xml:lang="en">contains a full physical description of a manuscript or manuscript part, optionally subdivided using more specialized elements from the model.physDescPart class.</desc><desc xmlns:tei="http://www.tei-c.org/ns/1.0" xmlns:mei="http://www.music-encoding.org/ns/mei" xmlns:a="http://relaxng.org/ns/compatibility/annotations/1.0" xmlns:s="http://www.ascc.net/xml/schematron" rend="replace" versionDate="2013-11-11" xml:lang="de">enthält eine komplette materielle Beschreibung eines Manuskripts oder Teile eines Manuskripts, gegebenenfalls unterteilt mit mehr spezifischen Elementen aus der model.physDescPart Klasse.</desc><classes/><content><sequence minOccurs="1" maxOccurs="1"><classRef xmlns:tei="http://www.tei-c.org/ns/1.0" xmlns:mei="http://www.music-encoding.org/ns/mei" xmlns:a="http://relaxng.org/ns/compatibility/annotations/1.0" xmlns:s="http://www.ascc.net/xml/schematron" key="model.pLike" minOccurs="0" maxOccurs="unbounded"/><elementRef xmlns:tei="http://www.tei-c.org/ns/1.0" xmlns:mei="http://www.music-encoding.org/ns/mei" xmlns:a="http://relaxng.org/ns/compatibility/annotations/1.0" xmlns:s="http://www.ascc.net/xml/schematron" key="accMat" minOccurs="0" maxOccurs="unbounded"/></sequence></content><constraintSpec xmlns:tei="http://www.tei-c.org/ns/1.0" xmlns:mei="http://www.music-encoding.org/ns/mei" xmlns:a="http://relaxng.org/ns/compatibility/annotations/1.0" xmlns:s="http://www.ascc.net/xml/schematron" scheme="schematron" ident="empty-physDesc">
<constraint>
<sch:assert test="*"><sch:name/> must contain at least one p or accMat element</sch:assert>
</constraint>
</constraintSpec><attList/><exemplum xml:lang="en">
<egXML xmlns="http://www.tei-c.org/ns/Examples">
<physDesc>
<objectDesc form="codex">
Expand Down
6 changes: 5 additions & 1 deletion compiled-ODD/guidelines-de-wegaLetters.compiled.xml
Original file line number Diff line number Diff line change
Expand Up @@ -15299,7 +15299,11 @@ nominum</soCalled>, o soprannome</desc>
<listRef>
<ref target="https://www.tei-c.org/release/doc/tei-p5-doc/en/html/MS.html#mscoit">10.6.1. The msItem and msItemStruct Elements</ref>
</listRef>
</elementSpec><elementSpec rend="change" module="msdescription" xml:id="PHYSDESC" ident="physDesc"><gloss xmlns:tei="http://www.tei-c.org/ns/1.0" xmlns:mei="http://www.music-encoding.org/ns/mei" xmlns:a="http://relaxng.org/ns/compatibility/annotations/1.0" xmlns:s="http://www.ascc.net/xml/schematron" rend="replace" versionDate="2013-11-11" xml:lang="en">physical description</gloss><gloss xmlns:tei="http://www.tei-c.org/ns/1.0" xmlns:mei="http://www.music-encoding.org/ns/mei" xmlns:a="http://relaxng.org/ns/compatibility/annotations/1.0" xmlns:s="http://www.ascc.net/xml/schematron" rend="replace" versionDate="2013-11-11" xml:lang="de">materielle Beschreibung</gloss><desc xmlns:tei="http://www.tei-c.org/ns/1.0" xmlns:mei="http://www.music-encoding.org/ns/mei" xmlns:a="http://relaxng.org/ns/compatibility/annotations/1.0" xmlns:s="http://www.ascc.net/xml/schematron" rend="replace" versionDate="2013-11-11" xml:lang="en">contains a full physical description of a manuscript or manuscript part, optionally subdivided using more specialized elements from the model.physDescPart class.</desc><desc xmlns:tei="http://www.tei-c.org/ns/1.0" xmlns:mei="http://www.music-encoding.org/ns/mei" xmlns:a="http://relaxng.org/ns/compatibility/annotations/1.0" xmlns:s="http://www.ascc.net/xml/schematron" rend="replace" versionDate="2013-11-11" xml:lang="de">enthält eine komplette materielle Beschreibung eines Manuskripts oder Teile eines Manuskripts, gegebenenfalls unterteilt mit mehr spezifischen Elementen aus der model.physDescPart Klasse.</desc><classes/><content><oneOrMore xmlns="http://relaxng.org/ns/structure/1.0"><choice><ref name="p"/><ref name="accMat"/></choice></oneOrMore></content><attList/><exemplum xml:lang="en">
</elementSpec><elementSpec rend="change" module="msdescription" xml:id="PHYSDESC" ident="physDesc"><gloss xmlns:tei="http://www.tei-c.org/ns/1.0" xmlns:mei="http://www.music-encoding.org/ns/mei" xmlns:a="http://relaxng.org/ns/compatibility/annotations/1.0" xmlns:s="http://www.ascc.net/xml/schematron" rend="replace" versionDate="2013-11-11" xml:lang="en">physical description</gloss><gloss xmlns:tei="http://www.tei-c.org/ns/1.0" xmlns:mei="http://www.music-encoding.org/ns/mei" xmlns:a="http://relaxng.org/ns/compatibility/annotations/1.0" xmlns:s="http://www.ascc.net/xml/schematron" rend="replace" versionDate="2013-11-11" xml:lang="de">materielle Beschreibung</gloss><desc xmlns:tei="http://www.tei-c.org/ns/1.0" xmlns:mei="http://www.music-encoding.org/ns/mei" xmlns:a="http://relaxng.org/ns/compatibility/annotations/1.0" xmlns:s="http://www.ascc.net/xml/schematron" rend="replace" versionDate="2013-11-11" xml:lang="en">contains a full physical description of a manuscript or manuscript part, optionally subdivided using more specialized elements from the model.physDescPart class.</desc><desc xmlns:tei="http://www.tei-c.org/ns/1.0" xmlns:mei="http://www.music-encoding.org/ns/mei" xmlns:a="http://relaxng.org/ns/compatibility/annotations/1.0" xmlns:s="http://www.ascc.net/xml/schematron" rend="replace" versionDate="2013-11-11" xml:lang="de">enthält eine komplette materielle Beschreibung eines Manuskripts oder Teile eines Manuskripts, gegebenenfalls unterteilt mit mehr spezifischen Elementen aus der model.physDescPart Klasse.</desc><classes/><content><sequence minOccurs="1" maxOccurs="1"><classRef xmlns:tei="http://www.tei-c.org/ns/1.0" xmlns:mei="http://www.music-encoding.org/ns/mei" xmlns:a="http://relaxng.org/ns/compatibility/annotations/1.0" xmlns:s="http://www.ascc.net/xml/schematron" key="model.pLike" minOccurs="0" maxOccurs="unbounded"/><elementRef xmlns:tei="http://www.tei-c.org/ns/1.0" xmlns:mei="http://www.music-encoding.org/ns/mei" xmlns:a="http://relaxng.org/ns/compatibility/annotations/1.0" xmlns:s="http://www.ascc.net/xml/schematron" key="accMat" minOccurs="0" maxOccurs="unbounded"/></sequence></content><constraintSpec xmlns:tei="http://www.tei-c.org/ns/1.0" xmlns:mei="http://www.music-encoding.org/ns/mei" xmlns:a="http://relaxng.org/ns/compatibility/annotations/1.0" xmlns:s="http://www.ascc.net/xml/schematron" scheme="schematron" ident="empty-physDesc">
<constraint>
<sch:assert test="*"><sch:name/> must contain at least one p or accMat element</sch:assert>
</constraint>
</constraintSpec><attList/><exemplum xml:lang="en">
<egXML xmlns="http://www.tei-c.org/ns/Examples">
<physDesc>
<objectDesc form="codex">
Expand Down
6 changes: 5 additions & 1 deletion compiled-ODD/guidelines-de-wegaWritings.compiled.xml
Original file line number Diff line number Diff line change
Expand Up @@ -14296,7 +14296,11 @@ nominum</soCalled>, o soprannome</desc>
<listRef>
<ref target="https://www.tei-c.org/release/doc/tei-p5-doc/en/html/MS.html#msid">10.4. The Manuscript Identifier</ref>
</listRef>
</elementSpec><elementSpec rend="change" module="msdescription" xml:id="PHYSDESC" ident="physDesc"><gloss xmlns:tei="http://www.tei-c.org/ns/1.0" xmlns:mei="http://www.music-encoding.org/ns/mei" xmlns:a="http://relaxng.org/ns/compatibility/annotations/1.0" xmlns:s="http://www.ascc.net/xml/schematron" rend="replace" versionDate="2013-11-11" xml:lang="en">physical description</gloss><gloss xmlns:tei="http://www.tei-c.org/ns/1.0" xmlns:mei="http://www.music-encoding.org/ns/mei" xmlns:a="http://relaxng.org/ns/compatibility/annotations/1.0" xmlns:s="http://www.ascc.net/xml/schematron" rend="replace" versionDate="2013-11-11" xml:lang="de">materielle Beschreibung</gloss><desc xmlns:tei="http://www.tei-c.org/ns/1.0" xmlns:mei="http://www.music-encoding.org/ns/mei" xmlns:a="http://relaxng.org/ns/compatibility/annotations/1.0" xmlns:s="http://www.ascc.net/xml/schematron" rend="replace" versionDate="2013-11-11" xml:lang="en">contains a full physical description of a manuscript or manuscript part, optionally subdivided using more specialized elements from the model.physDescPart class.</desc><desc xmlns:tei="http://www.tei-c.org/ns/1.0" xmlns:mei="http://www.music-encoding.org/ns/mei" xmlns:a="http://relaxng.org/ns/compatibility/annotations/1.0" xmlns:s="http://www.ascc.net/xml/schematron" rend="replace" versionDate="2013-11-11" xml:lang="de">enthält eine komplette materielle Beschreibung eines Manuskripts oder Teile eines Manuskripts, gegebenenfalls unterteilt mit mehr spezifischen Elementen aus der model.physDescPart Klasse.</desc><classes/><content><oneOrMore xmlns="http://relaxng.org/ns/structure/1.0"><choice><ref name="p"/><ref name="accMat"/></choice></oneOrMore></content><attList/><exemplum xml:lang="en">
</elementSpec><elementSpec rend="change" module="msdescription" xml:id="PHYSDESC" ident="physDesc"><gloss xmlns:tei="http://www.tei-c.org/ns/1.0" xmlns:mei="http://www.music-encoding.org/ns/mei" xmlns:a="http://relaxng.org/ns/compatibility/annotations/1.0" xmlns:s="http://www.ascc.net/xml/schematron" rend="replace" versionDate="2013-11-11" xml:lang="en">physical description</gloss><gloss xmlns:tei="http://www.tei-c.org/ns/1.0" xmlns:mei="http://www.music-encoding.org/ns/mei" xmlns:a="http://relaxng.org/ns/compatibility/annotations/1.0" xmlns:s="http://www.ascc.net/xml/schematron" rend="replace" versionDate="2013-11-11" xml:lang="de">materielle Beschreibung</gloss><desc xmlns:tei="http://www.tei-c.org/ns/1.0" xmlns:mei="http://www.music-encoding.org/ns/mei" xmlns:a="http://relaxng.org/ns/compatibility/annotations/1.0" xmlns:s="http://www.ascc.net/xml/schematron" rend="replace" versionDate="2013-11-11" xml:lang="en">contains a full physical description of a manuscript or manuscript part, optionally subdivided using more specialized elements from the model.physDescPart class.</desc><desc xmlns:tei="http://www.tei-c.org/ns/1.0" xmlns:mei="http://www.music-encoding.org/ns/mei" xmlns:a="http://relaxng.org/ns/compatibility/annotations/1.0" xmlns:s="http://www.ascc.net/xml/schematron" rend="replace" versionDate="2013-11-11" xml:lang="de">enthält eine komplette materielle Beschreibung eines Manuskripts oder Teile eines Manuskripts, gegebenenfalls unterteilt mit mehr spezifischen Elementen aus der model.physDescPart Klasse.</desc><classes/><content><sequence minOccurs="1" maxOccurs="1"><classRef xmlns:tei="http://www.tei-c.org/ns/1.0" xmlns:mei="http://www.music-encoding.org/ns/mei" xmlns:a="http://relaxng.org/ns/compatibility/annotations/1.0" xmlns:s="http://www.ascc.net/xml/schematron" key="model.pLike" minOccurs="0" maxOccurs="unbounded"/><elementRef xmlns:tei="http://www.tei-c.org/ns/1.0" xmlns:mei="http://www.music-encoding.org/ns/mei" xmlns:a="http://relaxng.org/ns/compatibility/annotations/1.0" xmlns:s="http://www.ascc.net/xml/schematron" key="accMat" minOccurs="0" maxOccurs="unbounded"/></sequence></content><constraintSpec xmlns:tei="http://www.tei-c.org/ns/1.0" xmlns:mei="http://www.music-encoding.org/ns/mei" xmlns:a="http://relaxng.org/ns/compatibility/annotations/1.0" xmlns:s="http://www.ascc.net/xml/schematron" scheme="schematron" ident="empty-physDesc">
<constraint>
<sch:assert test="*"><sch:name/> must contain at least one p or accMat element</sch:assert>
</constraint>
</constraintSpec><attList/><exemplum xml:lang="en">
<egXML xmlns="http://www.tei-c.org/ns/Examples">
<physDesc>
<objectDesc form="codex">
Expand Down
6 changes: 5 additions & 1 deletion compiled-ODD/guidelines-de-wega_all.compiled.xml
Original file line number Diff line number Diff line change
Expand Up @@ -16228,7 +16228,11 @@ nominum</soCalled>, o soprannome</desc>
<listRef>
<ref target="https://www.tei-c.org/release/doc/tei-p5-doc/en/html/MS.html#mscoit">10.6.1. The msItem and msItemStruct Elements</ref>
</listRef>
</elementSpec><elementSpec rend="change" module="msdescription" xml:id="PHYSDESC" ident="physDesc"><gloss xmlns:tei="http://www.tei-c.org/ns/1.0" xmlns:mei="http://www.music-encoding.org/ns/mei" xmlns:a="http://relaxng.org/ns/compatibility/annotations/1.0" xmlns:s="http://www.ascc.net/xml/schematron" rend="replace" versionDate="2013-11-11" xml:lang="en">physical description</gloss><gloss xmlns:tei="http://www.tei-c.org/ns/1.0" xmlns:mei="http://www.music-encoding.org/ns/mei" xmlns:a="http://relaxng.org/ns/compatibility/annotations/1.0" xmlns:s="http://www.ascc.net/xml/schematron" rend="replace" versionDate="2013-11-11" xml:lang="de">materielle Beschreibung</gloss><desc xmlns:tei="http://www.tei-c.org/ns/1.0" xmlns:mei="http://www.music-encoding.org/ns/mei" xmlns:a="http://relaxng.org/ns/compatibility/annotations/1.0" xmlns:s="http://www.ascc.net/xml/schematron" rend="replace" versionDate="2013-11-11" xml:lang="en">contains a full physical description of a manuscript or manuscript part, optionally subdivided using more specialized elements from the model.physDescPart class.</desc><desc xmlns:tei="http://www.tei-c.org/ns/1.0" xmlns:mei="http://www.music-encoding.org/ns/mei" xmlns:a="http://relaxng.org/ns/compatibility/annotations/1.0" xmlns:s="http://www.ascc.net/xml/schematron" rend="replace" versionDate="2013-11-11" xml:lang="de">enthält eine komplette materielle Beschreibung eines Manuskripts oder Teile eines Manuskripts, gegebenenfalls unterteilt mit mehr spezifischen Elementen aus der model.physDescPart Klasse.</desc><classes/><content><oneOrMore xmlns="http://relaxng.org/ns/structure/1.0"><choice><ref name="p"/><ref name="accMat"/></choice></oneOrMore></content><attList/><exemplum xml:lang="en">
</elementSpec><elementSpec rend="change" module="msdescription" xml:id="PHYSDESC" ident="physDesc"><gloss xmlns:tei="http://www.tei-c.org/ns/1.0" xmlns:mei="http://www.music-encoding.org/ns/mei" xmlns:a="http://relaxng.org/ns/compatibility/annotations/1.0" xmlns:s="http://www.ascc.net/xml/schematron" rend="replace" versionDate="2013-11-11" xml:lang="en">physical description</gloss><gloss xmlns:tei="http://www.tei-c.org/ns/1.0" xmlns:mei="http://www.music-encoding.org/ns/mei" xmlns:a="http://relaxng.org/ns/compatibility/annotations/1.0" xmlns:s="http://www.ascc.net/xml/schematron" rend="replace" versionDate="2013-11-11" xml:lang="de">materielle Beschreibung</gloss><desc xmlns:tei="http://www.tei-c.org/ns/1.0" xmlns:mei="http://www.music-encoding.org/ns/mei" xmlns:a="http://relaxng.org/ns/compatibility/annotations/1.0" xmlns:s="http://www.ascc.net/xml/schematron" rend="replace" versionDate="2013-11-11" xml:lang="en">contains a full physical description of a manuscript or manuscript part, optionally subdivided using more specialized elements from the model.physDescPart class.</desc><desc xmlns:tei="http://www.tei-c.org/ns/1.0" xmlns:mei="http://www.music-encoding.org/ns/mei" xmlns:a="http://relaxng.org/ns/compatibility/annotations/1.0" xmlns:s="http://www.ascc.net/xml/schematron" rend="replace" versionDate="2013-11-11" xml:lang="de">enthält eine komplette materielle Beschreibung eines Manuskripts oder Teile eines Manuskripts, gegebenenfalls unterteilt mit mehr spezifischen Elementen aus der model.physDescPart Klasse.</desc><classes/><content><sequence minOccurs="1" maxOccurs="1"><classRef xmlns:tei="http://www.tei-c.org/ns/1.0" xmlns:mei="http://www.music-encoding.org/ns/mei" xmlns:a="http://relaxng.org/ns/compatibility/annotations/1.0" xmlns:s="http://www.ascc.net/xml/schematron" key="model.pLike" minOccurs="0" maxOccurs="unbounded"/><elementRef xmlns:tei="http://www.tei-c.org/ns/1.0" xmlns:mei="http://www.music-encoding.org/ns/mei" xmlns:a="http://relaxng.org/ns/compatibility/annotations/1.0" xmlns:s="http://www.ascc.net/xml/schematron" key="accMat" minOccurs="0" maxOccurs="unbounded"/></sequence></content><constraintSpec xmlns:tei="http://www.tei-c.org/ns/1.0" xmlns:mei="http://www.music-encoding.org/ns/mei" xmlns:a="http://relaxng.org/ns/compatibility/annotations/1.0" xmlns:s="http://www.ascc.net/xml/schematron" scheme="schematron" ident="empty-physDesc">
<constraint>
<sch:assert test="*"><sch:name/> must contain at least one p or accMat element</sch:assert>
</constraint>
</constraintSpec><attList/><exemplum xml:lang="en">
<egXML xmlns="http://www.tei-c.org/ns/Examples">
<physDesc>
<objectDesc form="codex">
Expand Down
Loading

0 comments on commit 59abeaf

Please sign in to comment.