Skip to content

Commit

Permalink
allow for oneOrMore URIs in tei:ref/@target
Browse files Browse the repository at this point in the history
  • Loading branch information
peterstadler committed Jan 29, 2023
1 parent 44f47e3 commit 885a1a6
Show file tree
Hide file tree
Showing 37 changed files with 245 additions and 115 deletions.
2 changes: 1 addition & 1 deletion compiled-ODD/guidelines-de-wegaBiblio.compiled.xml
Original file line number Diff line number Diff line change
Expand Up @@ -5059,7 +5059,7 @@ which contain an XPath expression.</desc>
</attDef><attDef ident="target" usage="req">
<desc versionDate="2013-11-11" xml:lang="en">specifies the destination of the reference by supplying one or more URI References.</desc>
<desc versionDate="2013-11-11" xml:lang="de">spezifiziert das Ziel der Referenz in dem eine oder mehrere URI-Referenzen aufgeführt werden.</desc>
<datatype>
<datatype maxOccurs="unbounded">
<dataRef key="teidata.pointer"/>
</datatype>
</attDef><attDef 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" ident="cRef" mode="delete"/></attList><exemplum xml:lang="en">
Expand Down
2 changes: 1 addition & 1 deletion compiled-ODD/guidelines-de-wegaDiaries.compiled.xml
Original file line number Diff line number Diff line change
Expand Up @@ -7165,7 +7165,7 @@ attributes @target and @cRef may be supplied on <name/>.</report>
</attDef><attDef ident="target" usage="req">
<desc versionDate="2013-11-11" xml:lang="en">specifies the destination of the reference by supplying one or more URI References.</desc>
<desc versionDate="2013-11-11" xml:lang="de">spezifiziert das Ziel der Referenz in dem eine oder mehrere URI-Referenzen aufgeführt werden.</desc>
<datatype>
<datatype maxOccurs="unbounded">
<dataRef key="teidata.pointer"/>
</datatype>
</attDef><attDef 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" ident="cRef" mode="delete"/></attList><exemplum xml:lang="en">
Expand Down
2 changes: 1 addition & 1 deletion compiled-ODD/guidelines-de-wegaDocuments.compiled.xml
Original file line number Diff line number Diff line change
Expand Up @@ -7471,7 +7471,7 @@ attributes @target and @cRef may be supplied on <name/>.</report>
</attDef><attDef ident="target" usage="req">
<desc versionDate="2013-11-11" xml:lang="en">specifies the destination of the reference by supplying one or more URI References.</desc>
<desc versionDate="2013-11-11" xml:lang="de">spezifiziert das Ziel der Referenz in dem eine oder mehrere URI-Referenzen aufgeführt werden.</desc>
<datatype>
<datatype maxOccurs="unbounded">
<dataRef key="teidata.pointer"/>
</datatype>
</attDef><attDef 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" ident="cRef" mode="delete"/></attList><exemplum xml:lang="en">
Expand Down
2 changes: 1 addition & 1 deletion compiled-ODD/guidelines-de-wegaLetters.compiled.xml
Original file line number Diff line number Diff line change
Expand Up @@ -7925,7 +7925,7 @@ attributes @target and @cRef may be supplied on <name/>.</report>
</attDef><attDef ident="target" usage="req">
<desc versionDate="2013-11-11" xml:lang="en">specifies the destination of the reference by supplying one or more URI References.</desc>
<desc versionDate="2013-11-11" xml:lang="de">spezifiziert das Ziel der Referenz in dem eine oder mehrere URI-Referenzen aufgeführt werden.</desc>
<datatype>
<datatype maxOccurs="unbounded">
<dataRef key="teidata.pointer"/>
</datatype>
</attDef><attDef 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" ident="cRef" mode="delete"/></attList><exemplum xml:lang="en">
Expand Down
2 changes: 1 addition & 1 deletion compiled-ODD/guidelines-de-wegaNews.compiled.xml
Original file line number Diff line number Diff line change
Expand Up @@ -5987,7 +5987,7 @@ TOURS</addrLine>
</attDef><attDef ident="target" usage="req">
<desc versionDate="2013-11-11" xml:lang="en">specifies the destination of the reference by supplying one or more URI References.</desc>
<desc versionDate="2013-11-11" xml:lang="de">spezifiziert das Ziel der Referenz in dem eine oder mehrere URI-Referenzen aufgeführt werden.</desc>
<datatype>
<datatype maxOccurs="unbounded">
<dataRef key="teidata.pointer"/>
</datatype>
</attDef><attDef 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" ident="cRef" mode="delete"/></attList><exemplum xml:lang="en">
Expand Down
11 changes: 9 additions & 2 deletions compiled-ODD/guidelines-de-wegaOrgs.compiled.xml
Original file line number Diff line number Diff line change
Expand Up @@ -6660,7 +6660,7 @@ attributes @target and @cRef may be supplied on <name/>.</report>
</attDef><attDef ident="target" usage="req">
<desc versionDate="2013-11-11" xml:lang="en">specifies the destination of the reference by supplying one or more URI References.</desc>
<desc versionDate="2013-11-11" xml:lang="de">spezifiziert das Ziel der Referenz in dem eine oder mehrere URI-Referenzen aufgeführt werden.</desc>
<datatype>
<datatype maxOccurs="unbounded">
<dataRef key="teidata.pointer"/>
</datatype>
</attDef><attDef 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" ident="cRef" mode="delete"/></attList><exemplum xml:lang="en">
Expand Down Expand Up @@ -8601,7 +8601,7 @@ epistemology, methodology and history of
<ref target="https://www.tei-c.org/release/doc/tei-p5-doc/en/html/CO.html#CODV">3.13. Passages of Verse or Drama</ref>
<ref target="https://www.tei-c.org/release/doc/tei-p5-doc/en/html/DR.html#DRPAL">7.2.5. Speech Contents</ref>
</listRef>
</elementSpec><elementSpec rend="change" module="header" ident="idno"><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">identifier</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">Bezeichner</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">supplies any form of identifier used to identify some object, such as a bibliographic item, a person, a title, an organization, etc. in a standardized way.</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">lieferte jegliche Form eines Bezeichners in einer standardisierten Form, der benutzt werden kann um Objekte zu identifiziert, wie etwa ein bibliographisches Element, eine Organisation, usw.</desc><classes><memberOf key="att.datable"/><memberOf key="att.typed"/><memberOf key="model.nameLike"/></classes><content><choice xmlns="http://relaxng.org/ns/structure/1.0"><ref name="pnd.pattern"/><ref name="viaf.pattern"/><ref name="bd.pattern"/><ref name="geonames.pattern"/><ref name="geonames.pattern"/></choice></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="types-match-external-identifiers">
</elementSpec><elementSpec rend="change" module="header" ident="idno"><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">identifier</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">Bezeichner</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">supplies any form of identifier used to identify some object, such as a bibliographic item, a person, a title, an organization, etc. in a standardized way.</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">lieferte jegliche Form eines Bezeichners in einer standardisierten Form, der benutzt werden kann um Objekte zu identifiziert, wie etwa ein bibliographisches Element, eine Organisation, usw.</desc><classes><memberOf key="att.datable"/><memberOf key="att.typed"/><memberOf key="model.nameLike"/></classes><content><choice xmlns="http://relaxng.org/ns/structure/1.0"><ref name="pnd.pattern"/><ref name="viaf.pattern"/><ref name="bd.pattern"/><ref name="wikidata.id.pattern"/><ref name="geonames.pattern"/></choice></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="types-match-external-identifiers">
<desc xml:lang="en" versionDate="2019-07-08">assert that provided ID matches the external identifier's pattern for IDs.</desc>
<desc xml:lang="de" versionDate="2019-07-08">überprüfe die gegebene ID mit dem Muster für externe Identifikatoren</desc>
<constraint>
Expand Down Expand Up @@ -9744,6 +9744,13 @@ element is appropriate for which circumstance.</p>
<rng:param name="pattern">wega:A09\d{4}</rng:param>
</rng:data>
</content>
</macroSpec><macroSpec rend="add" ident="wikidata.id.pattern" mode="add" module="wega.core.module">
<content 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">
<rng:data type="string">

<rng:param name="pattern">Q[1-9]\d*</rng:param>
</rng:data>
</content>
</macroSpec><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="styleguide-document-node-content">
<constraint>
<sch:rule context="document-node()">
Expand Down
11 changes: 9 additions & 2 deletions compiled-ODD/guidelines-de-wegaPersons.compiled.xml
Original file line number Diff line number Diff line change
Expand Up @@ -6066,7 +6066,7 @@ TOURS</addrLine>
</attDef><attDef ident="target" usage="req">
<desc versionDate="2013-11-11" xml:lang="en">specifies the destination of the reference by supplying one or more URI References.</desc>
<desc versionDate="2013-11-11" xml:lang="de">spezifiziert das Ziel der Referenz in dem eine oder mehrere URI-Referenzen aufgeführt werden.</desc>
<datatype>
<datatype maxOccurs="unbounded">
<dataRef key="teidata.pointer"/>
</datatype>
</attDef><attDef 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" ident="cRef" mode="delete"/></attList><exemplum xml:lang="en">
Expand Down Expand Up @@ -6826,7 +6826,7 @@ psychological significance.
<ref target="https://www.tei-c.org/release/doc/tei-p5-doc/en/html/HD.html#HD27">2.2.6. The Notes Statement</ref>
<ref target="https://www.tei-c.org/release/doc/tei-p5-doc/en/html/CO.html#COBICON">3.12.2.8. Notes and Statement of Language</ref>
<ref target="https://www.tei-c.org/release/doc/tei-p5-doc/en/html/DI.html#DITPNO">9.3.5.4. Notes within Entries</ref>
</listRef></elementSpec><elementSpec xmlns:xi="http://www.w3.org/2001/XInclude" rend="change" module="header" ident="idno"><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">identifier</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">Bezeichner</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">supplies any form of identifier used to identify some object, such as a bibliographic item, a person, a title, an organization, etc. in a standardized way.</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">lieferte jegliche Form eines Bezeichners in einer standardisierten Form, der benutzt werden kann um Objekte zu identifiziert, wie etwa ein bibliographisches Element, eine Organisation, usw.</desc><classes><memberOf key="att.datable"/><memberOf key="att.typed"/><memberOf key="model.nameLike"/></classes><content><choice xmlns="http://relaxng.org/ns/structure/1.0"><ref name="pnd.pattern"/><ref name="viaf.pattern"/><ref name="bd.pattern"/><ref name="geonames.pattern"/><ref name="geonames.pattern"/></choice></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="types-match-external-identifiers">
</listRef></elementSpec><elementSpec xmlns:xi="http://www.w3.org/2001/XInclude" rend="change" module="header" ident="idno"><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">identifier</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">Bezeichner</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">supplies any form of identifier used to identify some object, such as a bibliographic item, a person, a title, an organization, etc. in a standardized way.</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">lieferte jegliche Form eines Bezeichners in einer standardisierten Form, der benutzt werden kann um Objekte zu identifiziert, wie etwa ein bibliographisches Element, eine Organisation, usw.</desc><classes><memberOf key="att.datable"/><memberOf key="att.typed"/><memberOf key="model.nameLike"/></classes><content><choice xmlns="http://relaxng.org/ns/structure/1.0"><ref name="pnd.pattern"/><ref name="viaf.pattern"/><ref name="bd.pattern"/><ref name="wikidata.id.pattern"/><ref name="geonames.pattern"/></choice></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="types-match-external-identifiers">
<desc xml:lang="en" versionDate="2019-07-08">assert that provided ID matches the external identifier's pattern for IDs.</desc>
<desc xml:lang="de" versionDate="2019-07-08">überprüfe die gegebene ID mit dem Muster für externe Identifikatoren</desc>
<constraint>
Expand Down Expand Up @@ -8400,6 +8400,13 @@ element is appropriate for which circumstance.</p>
<rng:param name="pattern">wega:A09\d{4}</rng:param>
</rng:data>
</content>
</macroSpec><macroSpec rend="add" ident="wikidata.id.pattern" mode="add" module="wega.core.module">
<content 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">
<rng:data type="string">

<rng:param name="pattern">Q[1-9]\d*</rng:param>
</rng:data>
</content>
</macroSpec><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="styleguide-document-node-content">
<constraint>
<sch:rule context="document-node()">
Expand Down
2 changes: 1 addition & 1 deletion compiled-ODD/guidelines-de-wegaPlaces.compiled.xml
Original file line number Diff line number Diff line change
Expand Up @@ -5299,7 +5299,7 @@ which contain an XPath expression.</desc>
</attDef><attDef ident="target" usage="req">
<desc versionDate="2013-11-11" xml:lang="en">specifies the destination of the reference by supplying one or more URI References.</desc>
<desc versionDate="2013-11-11" xml:lang="de">spezifiziert das Ziel der Referenz in dem eine oder mehrere URI-Referenzen aufgeführt werden.</desc>
<datatype>
<datatype maxOccurs="unbounded">
<dataRef key="teidata.pointer"/>
</datatype>
</attDef><attDef 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" ident="cRef" mode="delete"/></attList><exemplum xml:lang="en">
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -7007,7 +7007,7 @@ attributes @target and @cRef may be supplied on <name/>.</report>
</attDef><attDef ident="target" usage="req">
<desc versionDate="2013-11-11" xml:lang="en">specifies the destination of the reference by supplying one or more URI References.</desc>
<desc versionDate="2013-11-11" xml:lang="de">spezifiziert das Ziel der Referenz in dem eine oder mehrere URI-Referenzen aufgeführt werden.</desc>
<datatype>
<datatype maxOccurs="unbounded">
<dataRef key="teidata.pointer"/>
</datatype>
</attDef><attDef 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" ident="cRef" mode="delete"/></attList><exemplum xml:lang="en">
Expand Down
Loading

0 comments on commit 885a1a6

Please sign in to comment.