Closed fabiancremer closed 4 years ago
<titleStmt>
muss entfernt werden:<title>
-Elemente und <composer>
sind direkte Kinder von <expression>
.language/@authority
wird zu language/@auth
Im Falle von zyklischen Stücken muss nichts zusätzlich geändert werden, da die zugehörigen Teile nicht innerhalb des MEI-Containers referenziert werden. Ansonsten würde auch hier von <componentGrp>
auf <componentList>
gewechselt werden.
Beispiele:
Kleines Beispiel für <componentList>
:
<componentList>
<expression codedval="cmo_expression_00000079">
<title></title>
</expression>
<!-- etc. ... -->
</componentList>
<classCode>
entfällt komplett.classCode/@authURI
wird in termList/@class
übernommen.Vorher:
<mei:classCode authURI="http://www.corpus-musicae-ottomanicae.de/api/v1/classifications/cmo_usuler" xml:id="id13ced91d"/>
<mei:termList classcode="#id13ced91d">
<mei:term>us-48625938-3-5f58ec7</mei:term>
</mei:termList>
Nachher:
<mei:termList class="http://www.corpus-musicae-ottomanicae.de/api/v1/classifications/cmo_usuler">
<mei:term>us-48625938-3-5f58ec7</mei:term>
</mei:termList>
<title>
-Element nach <identifier>
einfügen, um valide zu sein.<expression>
benötigt ebenfalls ein leeres <title>
-Element um valide zu sein:
<expressionList>
<expression data="cmo_expression_00001901" label="CMO_NE204, p. 65">
<title/>
</expression>
</expressionList>
expressionList/expression/@data
erzeugt eine Schematron-Warnung:
The value in @data should correspond to the @xml:id attribute of a descendant of the music element.
-> for identifying the expressions use codeval and auth.uri:
<expression data="cmo_expression_00001901" label="CMO_NE204, p. 65">
<expression codeval="cmo_expression_00001901" auth.uri="https://corpus-musicae-ottomanicae.de/receive/" label="CMO_NE204, p. 65">
codedval(optional) A value that represents or identifies other data. Often, it is a primary key in the database or a unique value in the coded list identified by the auth or auth.uri attributes. One or more values of datatype NMTOKEN, separated by spaces.
auth.uri(optional) A web-accessible location of the controlled vocabulary or other authoritative source of identification or definition for this element or its content. This attribute may contain a complete URI or a partial URI which is completed by the value of the codedval attribute. Value conforms to data.URI.
Siehe MEI 4.0 Guidelines: expression
Beispiel:
<source>
wird in <manifestation>
umbenanntlanguage/@authority
wird zu language/@auth
relation/@n
: Keine Leerzeichen in @n erlaubt!!!<componentGrp>
wird durch <componentList>
ersetzt.<componentList>
müssen die Kinder ebenfalls von <source>
in <manifestation>
geändert.Anmerkung: Ja, obwohl in <work>
und <expression>
das Element <titleStmt>
entfernt wurde, ist es für die Beschreibung von Manifestations noch vorhanden!
In MEI 4.0 gibt s mittlerweile als Teile von <physDesc>
das Element <scriptDesc>
(übernommen aus TEI); siehe Referenz & Dokumentation.
Für valides MEI 4.0 sind Anpassungen an der Eingabe nicht notwendig. Es stellt sich lediglich die Frage, ob man auf eine derart differenzierte Beschreibung der verwendeten Schriften umstellen möchte...
Beispiele:
Keine Änderung notwendig
cmo_person_00000120_MEI401.xml
https://corpus-musicae-ottomanicae.de/receive/cmo_source_00000028?XSL.Style=xml
<relation xmlns="http://www.music-encoding.org/ns/mei" rel="isEmbodimentOf" target="cmo_expression_00002912" n="p. 001" />
wird
<relation xmlns="http://www.music-encoding.org/ns/mei" rel="isEmbodimentOf" target="cmo_expression_00002912" n="p.001" />
https://corpus-musicae-ottomanicae.de/receive/cmo_source_00000028?XSL.Style=xml
<relation xmlns="http://www.music-encoding.org/ns/mei" rel="isEmbodimentOf" target="cmo_expression_00002912" n="p. 001" />
wird<relation xmlns="http://www.music-encoding.org/ns/mei" rel="isEmbodimentOf" target="cmo_expression_00002912" n="p.001" />
Yes.
The Migration commands are:
select objects with solr query objectType:expression in core main
execute for selected migrate to mei4 {x}
select objects with solr query objectType:source in core main
execute for selected migrate to mei4 {x}
select objects with solr query objectType:work in core main
execute for selected migrate to mei4 {x}
I found some minor validation errors while testing:
<expressionList>
have as attribute @codedval
and not @codeval (a d is missing in the middle)<title>
is mandatory. When the object has no title, the empty tag has to be there.<expressionList>
the expressions need to have a title to be valid<identifier>
must be above <title>
Because of the necessity of having at least an emtpy <title>
tag within work, we could add a title field to the work object. But I would refrain from making the title mandatory. If the field contains no text, then the element should be an empty element.
Would this be possible?
When adding an expression to a source, there is no check for spaces the field for the page numbers (will become @n
) .
This leads currently to a crash. Would it be possible to have some consistency check to prevent spaces?
MEI launched a new version: 4.0, Release Notes available on GitHub: https://github.com/music-encoding/music-encoding/releases/tag/v4.0.0
Changes affecting CMO data model: https://gitlab.gwdg.de/perspectivia.net/cmo/issues/32
We need to:
Changes on entity level are repeated here.