Edirom / MerMEId

Metadata Editor and Repository for MEI Data

Home Page:https://mermeid.edirom.de/

Geek Repo:Geek Repo

Github PK Tool:Github PK Tool

Move to selection for sources does not display expression titles

dikastes opened this issue · comments

In the sources list, sources may be moved to expressions or the superordinated work. In the selector popup, expression titles are looked up by the path m:titleStmt/m:title/text(). If those titles are not found, it defaults to the expression's xml:id. However, expression titles are not contained by a titleStmt element when created by MerMEId.
Either MerMEId should use titleStmt elments in expressions or also scan for title elements outside titleStmt.

This is actually a bug that happened as a result of the update from MEI 3 to 4. In MEI 3 it was allowed to use titleStmt in expression, but not in MEI 4 (https://music-encoding.org/guidelines/v4/elements/expression.html). This means that MerMEId correctly generates only title in expression but the linking function or better displaying it has not been changed. there should not be a titleStmt in expression. I try to fix this in 61cb3d6