Skip to content

Commit

Permalink
allow role attribute on corpName element
Browse files Browse the repository at this point in the history
  • Loading branch information
peterstadler committed Jul 24, 2024
1 parent 6a5eeb7 commit 51a662c
Show file tree
Hide file tree
Showing 4 changed files with 32 additions and 3 deletions.
8 changes: 7 additions & 1 deletion compiled-ODD/guidelines-de-wegaWorks.compiled.xml
Original file line number Diff line number Diff line change
Expand Up @@ -4647,7 +4647,13 @@
</classSpec><classSpec rend="add" predeclare="true" ident="model.persNamePart" module="MEI.namesdates" type="model">
<desc xmlns:tei="http://www.tei-c.org/ns/1.0" xmlns:xi="http://www.w3.org/2001/XInclude" xml:lang="en">Groups elements which form part of a personal name.</desc>
</classSpec><elementSpec rend="add" ident="corpName" module="MEI.namesdates" ns="http://www.music-encoding.org/ns/mei"><gloss xmlns:tei="http://www.tei-c.org/ns/1.0" xmlns:xi="http://www.w3.org/2001/XInclude" versionDate="2022-05-18" xml:lang="en">corporate name</gloss><desc xmlns:tei="http://www.tei-c.org/ns/1.0" xmlns:xi="http://www.w3.org/2001/XInclude" xml:lang="en">Identifies an organization or group of people that acts as a single
entity.</desc><classes><memberOf key="att.canonical"/><memberOf key="model.nameLike.agent"/></classes><content><zeroOrMore xmlns="http://relaxng.org/ns/structure/1.0"><choice><rng:text xmlns="http://www.tei-c.org/ns/1.0" xmlns:tei="http://www.tei-c.org/ns/1.0" xmlns:xi="http://www.w3.org/2001/XInclude"/><ref name="model.textPhraseLike"/><ref name="model.editLike"/><ref name="model.transcriptionLike"/></choice></zeroOrMore></content><attList><attDef ident="codedval" mode="change" usage="rec">
entity.</desc><classes><memberOf key="att.canonical"/><memberOf key="model.nameLike.agent"/></classes><content><zeroOrMore xmlns="http://relaxng.org/ns/structure/1.0"><choice><rng:text xmlns="http://www.tei-c.org/ns/1.0" xmlns:tei="http://www.tei-c.org/ns/1.0" xmlns:xi="http://www.w3.org/2001/XInclude"/><ref name="model.textPhraseLike"/><ref name="model.editLike"/><ref name="model.transcriptionLike"/></choice></zeroOrMore></content><attList><attDef ident="role" usage="rec">
<desc versionDate="2024-07-24" xml:lang="en">The role or relation of this organization with the text/score. Values are taken from the <ref target="http://www.loc.gov/marc/relators/relaterm.html">MARC Code List for Relators</ref>.</desc>
<desc versionDate="2024-07-24" xml:lang="de">Die Rolle oder Beziehung dieser Organisation mit dem Text/der Partitur. Werte werden von der <ref target="http://www.loc.gov/marc/relators/relaterm.html">MARC Code List for Relators</ref> genommen.</desc>
<datatype>
<ref xmlns="http://relaxng.org/ns/structure/1.0" name="marcRelator.list"/>
</datatype>
</attDef><attDef ident="codedval" mode="change" usage="rec">
<datatype>
<dataRef key="wega.orgs.pointer"/>
</datatype>
Expand Down
10 changes: 9 additions & 1 deletion schema/de/wegaWorks.rng
Original file line number Diff line number Diff line change
Expand Up @@ -5,7 +5,7 @@
xmlns="http://relaxng.org/ns/structure/1.0"
datatypeLibrary="http://www.w3.org/2001/XMLSchema-datatypes"
ns="http://www.music-encoding.org/ns/mei"><!--
Schema generated from ODD source 2024-05-20T16:09:50Z. .
Schema generated from ODD source 2024-07-24T09:14:26Z. .
TEI Edition: Version 5.0
TEI Edition Location: https://www.tei-c.org/Vault/P5//
Expand Down Expand Up @@ -2186,6 +2186,14 @@ Empfohlene Werte sind: 1] gnd (Gemeinsame Normdatei); 2] JV (Jähns-Verzeichnis)
</data>
</attribute>
</optional>
<optional>
<attribute name="role">
<a:documentation xmlns:a="http://relaxng.org/ns/compatibility/annotations/1.0">Die Rolle oder Beziehung dieser Organisation mit dem Text/der Partitur. Werte werden von der <a xmlns="http://www.w3.org/1999/xhtml"
xmlns:rng="http://relaxng.org/ns/structure/1.0"
href="http://www.loc.gov/marc/relators/relaterm.html">MARC Code List for Relators</a> genommen.</a:documentation>
<ref name="marcRelator.list"/>
</attribute>
</optional>
<empty/>
</element>
</define>
Expand Down
10 changes: 9 additions & 1 deletion schema/en/wegaWorks.rng
Original file line number Diff line number Diff line change
Expand Up @@ -5,7 +5,7 @@
xmlns="http://relaxng.org/ns/structure/1.0"
datatypeLibrary="http://www.w3.org/2001/XMLSchema-datatypes"
ns="http://www.music-encoding.org/ns/mei"><!--
Schema generated from ODD source 2024-05-20T16:09:56Z. .
Schema generated from ODD source 2024-07-24T09:19:01Z. .
TEI Edition: Version 5.0
TEI Edition Location: https://www.tei-c.org/Vault/P5//
Expand Down Expand Up @@ -2186,6 +2186,14 @@ Suggested values include: 1] gnd (Gemeinsame Normdatei); 2] JV (Jähns-Verzeichn
</data>
</attribute>
</optional>
<optional>
<attribute name="role">
<a:documentation xmlns:a="http://relaxng.org/ns/compatibility/annotations/1.0">The role or relation of this organization with the text/score. Values are taken from the <a xmlns="http://www.w3.org/1999/xhtml"
xmlns:rng="http://relaxng.org/ns/structure/1.0"
href="http://www.loc.gov/marc/relators/relaterm.html">MARC Code List for Relators</a>.</a:documentation>
<ref name="marcRelator.list"/>
</attribute>
</optional>
<empty/>
</element>
</define>
Expand Down
7 changes: 7 additions & 0 deletions src/Specs/schemaSpec-works.odd.xml
Original file line number Diff line number Diff line change
Expand Up @@ -729,6 +729,13 @@
<memberOf key="att.name" mode="delete"/>
</classes>
<attList>
<attDef ident="role" mode="add" usage="opt">
<desc versionDate="2024-07-24" xml:lang="en">The role or relation of this organization with the text/score. Values are taken from the <ref target="http://www.loc.gov/marc/relators/relaterm.html">MARC Code List for Relators</ref>.</desc>
<desc versionDate="2024-07-24" xml:lang="de">Die Rolle oder Beziehung dieser Organisation mit dem Text/der Partitur. Werte werden von der <ref target="http://www.loc.gov/marc/relators/relaterm.html">MARC Code List for Relators</ref> genommen.</desc>
<datatype>
<rng:ref name="marcRelator.list"/>
</datatype>
</attDef>
<attDef ident="codedval" mode="change" usage="rec">
<datatype>
<dataRef key="wega.orgs.pointer"/>
Expand Down

0 comments on commit 51a662c

Please sign in to comment.