[MEI-L] Problems with transforming to 3.0.0

Klaus Rettinghaus klaus.rettinghaus at gmail.com
Wed Nov 9 18:45:35 CET 2016

Hi Jonas, 

at first you should try to figure out what is obviously a bug in the XSLT and then open an issue on GitHub. Your resulting MEI file should at least validate. If it doesn’t, it’s a bug. 
As far as I see <label> isn’t allowed in <event> any more, so the <p> should probably stay at it’s place. 
But after all in MerMEId maybe you don’t want to take the „free-form organization“ approach in event, but more the "data-like organization“? So you would have to edit the XSLT anyway. A solution could be to put the „First performance.“ into a <desc> or @label and make the other elements direct children of <event>. 

- Klaus

> Am 09.11.2016 um 17:55 schrieb Jonas Mortensen <jonm at kb.dk>:
> Hello List!
> My name is Jonas Mortensen and recently started as a student assistant at the Danish Centre for Music Editing who are working on the MerMEId project.
> I am fairly new to this world of XML schemas, XSLT as well as MEI so bare with me if my descriptive capabilities on the subject are lacking.
> I am currently working on readying MerMEId for MEI 3.0.0 and have stumbled in to some problems when transforming MEI 2.1.0 files using the mei21To30.xsl file on Github.
> I have discovered the following bugs:
> ·         The <acqSource> element is not part of 3.0.0 but is not removed in the transformation
> ·         The <notesStmt> element now requires an <annot> element but is not removed in the transformation if it is empty
> ·         The <p> element under <event> should now translate to a <desc> element (as far as I understood) but instead it is transformed to a <label> element that surrounds all other event-elements (geogName, persName etc.) see example in P.S
> I’m glad to be part of the community and I look forward to hopefully many coming discussions!
> Regards Jonas
> P.S
> Example of the ‘third-point’ bug
> <event>
>    <label>First performance.<date isodate=" 1930-04-11" xml:id="date_39a147c2"> 1930-04-11</date>
>       <geogName role="venue" xml:id="geogName_199N20139">Ny Carlsberg Glyptoteket</geogName>
>       <geogName role="place" xml:id="geogName_199N2013D">Copenhagen</geogName>
>       <corpName role="ensemble" xml:id="corpName_199N20141">Palestrina-Koret</corpName>
>       <persName role="conductor" xml:id="persName_199N20145">Mogens Wöldike</persName>
>    </label>
> </event>
> <image001.jpg>
> Det Kongelige Bibliotek
> Nationalbibliotek og Københavns Universitetsbibliotek 
> Jonas Mortensen
> Studentermedhjælp | Student Assistant
> Det Kongelige Bibliotek | The Royal Library
> Dansk Center for Musikudgivelse | Danish Centre for Music Editing
> P.O. Box 2149 | DK-1016 København K
> tel +45 9132 4747 | Fax +45 3393 2218 | jonm at kb.dk <mailto:jonm at kb.dk> | www.kb.dk <http://www.kb.dk/>
> Besøgsadresse | Visiting address | Søren Kierkegaards Plads 1
> Leveringsadresse | Delivery address | Christians Brygge 8 | 1219 København K
> EAN 5798 000 79 52 97 | Bank 0216 4069032583 | CVR 28 98 88 42
> IBAN DK2002164069032583 | Swiftcode DABADKKK
> _______________________________________________
> mei-l mailing list
> mei-l at lists.uni-paderborn.de <mailto:mei-l at lists.uni-paderborn.de>
> https://lists.uni-paderborn.de/mailman/listinfo/mei-l <https://lists.uni-paderborn.de/mailman/listinfo/mei-l>
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://lists.uni-paderborn.de/pipermail/mei-l/attachments/20161109/b4ad6d57/attachment.html>

More information about the mei-l mailing list