[MEI-L] Howto transform 2010-05 to MEI2012_v2.0.0

Maja Hartwig maja.hartwig at gmx.de
Mon Oct 29 09:04:05 CET 2012


Hi,

the <altmeiid/> becomes <altId>, but I´m not sure where to put all the content of <altmeiid/>,

<keychange/> never existed, I think, and would be encoded by <keySig/> (or am I wrong?),

<keywords/> were subelement of <classification/> and becomes <termlist> with <term/> now.

Best,
Maja

Am 28.10.2012 um 21:23 schrieb Andrew Hankinson:

> Hi Peter,
> 
> I'll answer inline, since we've dealt with this a bit before. Someone can correct me if I'm wrong, but this should give you a rough start.
> 
>> * accessdesc
> 
> This becomes <accessRestrict />
> 
>> * altmeiid
> 
> This becomes <meiId />
> 
>> * blockquote
> 
> This just becomes <quote />
> 
>> * clefchange
> 
> This can just be converted directly to <clef />
> 
>> * exhibithist
> 
> For some strange reason this was converted to <exhibHist />. (Not sure why two characters got lopped off here -- maybe we were running out of our limit of 256KB of RAM? ;)
> 
>> * extptr
>> * extref
> 
> These can be directly converted to <ptr /> and <ref />, since we now use anyURI.
> 
>> * fingerprint
> 
> This was removed. Not sure if it was ever used by anyone.
> 
>> * keychange
> 
> I *think*, like clefChange, that you can just directly convert this to <key />
> 
>> * keywords
> 
> I could find a reference that on 2011 Perry changed this to *something* but I can't tell what. 
> 
> http://code.google.com/p/music-encoding/source/search?q=keywords&origq=keywords&btnG=Search+Trunk (in-browser search for "keywords")
> 
> <change who="#PR" when="2011-01-13">Renamed <keywords> 'termList' and added @classcode</change>
> 
>> * pgfoot1
>> * pghead1
> 
> I think these have just been renamed pgFoot and pgHead. The pgFoot2 and pgHead2 ones still exist too.
> 
>> * profiledesc 
> 
> This becomes <workDesc> with an embedded <work> element, in which all the children of <profiledesc /> are copied;
> 
>> * treatmenthist
> 
> This becomes <treatHist />
> 
>> * treatmentsched
> 
> This becomes <treatSched />
> 
>> * @complete
> 
> I found this changelog message that may help you here:
> 
> <change who="#PR" when="2011-06-30">Reworked how metrical conformance is handled: removed @complete, added att.meterconformance and att.meterconformance.bar attribute classes in order to provide different levels of granularity at the measure, staff, and layer levels</change>
> 
>> * @entityref
>> * @href
> 
> Not sure about these two, but I think their fates are closely linked...
> 
>> * @label.full
> 
> This just becomes @label
> 
>> * @mediacontent
> 
> This becomes @avref
> 
>> * @medialength
> 
> I think you can just replace this with @end on <avFile />.
> 
>> If anyone can contribute a mapping for one of those, I'd be happy for any pull-request or notification on- or off-list.
> 
> Hope this helps!
> 
> PS: I'll put my Subversion admin hat on here and thank everyone who put in descriptive commit messages. It makes a request like this so much easier.
> 
>> 
>> All the best
>> Peter
>> 
>> Am 26.10.2012 um 18:18 schrieb Maja Hartwig <maja.hartwig at gmx.de>:
>> 
>>> Hi Peter,
>>> ProfileDesc has changed into workDesc!
>>> Did you use some templates of my Stylesheet? ;-)
>>> 
>>> Maja
>>> 
>>> Am 26.10.2012 um 18:02 schrieb Peter Stadler <stadler at edirom.de>:
>>> 
>>>> I couldn't wait ;-)
>>>> Here's what I came up with: https://github.com/peterstadler/MEI-2010to2012
>>>> 
>>>> But especially profiledesc is giving me headaches -- where is it gone?
>>>> 
>>>> All the best
>>>> Peter
>>>> 
>>>> Am 25.10.2012 um 16:23 schrieb Johannes Kepper <kepper at edirom.de>:
>>>> 
>>>>> Of course we're willing to share them. But first, I would suggest we put them on the agenda for the upcoming tech team meeting and see how we proceed with them. I'm somewhat reluctant to let them enter the wild without any further review. And adding comments on how they might fail with other files probably requires just the same amount of work than fixing these errors…
>>>>> 
>>>>> For those not following the developer's list: The meeting is scheduled for the first half of November, so this shouldn't take too long…
>>>>> 
>>>>> Johannes
>>>>> 
>>>>> 
>>>>> Am 25.10.2012 um 16:11 schrieb Andrew Hankinson <andrew.hankinson at mail.mcgill.ca>:
>>>>> 
>>>>>> We would also be interested in seeing these, since we have a large number of non-2012 files that we want to migrate. I did not know about your internal stylesheets, so we've just started writing our own.
>>>>>> 
>>>>>> Could they be posted "as-is" somewhere (in the SVN?) with appropriate warnings on them that they're not quite ready for prime-time. It would be nice if we don't duplicate effort in writing converters.
>>>>>> 
>>>>>> -Andrew
>>>>>> 
>>>>>> On 2012-10-25, at 5:55 AM, Johannes Kepper <kepper at edirom.de>
>>>>>> wrote:
>>>>>> 
>>>>>>> Hi Peter,
>>>>>>> 
>>>>>>> we have some preliminary internal converters here. They will be revised and published on the music-encoding.org website when stable enough. Right now, they more or less cover the subset of MEI used in the sample collection, but they also do some other cleanup, which might not be appropriate in all cases. In order to see what's possible, it would be great to know what your encodings contain. Could you send them to Maja, Kristina or me? 
>>>>>>> 
>>>>>>> It's good you're asking on MEI-L – of course we're willing to help anyone else with similar problems as well…
>>>>>>> 
>>>>>>> Best,
>>>>>>> Johannes
>>>>>>> 
>>>>>>> 
>>>>>>> 
>>>>>>> Am 25.10.2012 um 11:16 schrieb Peter Stadler <stadler at edirom.de>:
>>>>>>> 
>>>>>>>> Dear all,
>>>>>>>> 
>>>>>>>> propably at least a few of you did some sort of transformation of mei files from schema version 2010-05 to MEI2012_v2.0.0.
>>>>>>>> Is there an official stylesheet or is anyone willing to share his/her code?
>>>>>>>> 
>>>>>>>> Any pointers appreciated!
>>>>>>>> 
>>>>>>>> All the best
>>>>>>>> Peter
>> 
>> 
>> 
>> 
>> -- 
>> Peter Stadler
>> Carl-Maria-von-Weber-Gesamtausgabe
>> Arbeitsstelle Detmold
>> Gartenstr. 20
>> D-32756 Detmold
>> Tel. +49 5231 975-665
>> Fax: +49 5231 975-668
>> stadler at weber-gesamtausgabe.de
>> www.weber-gesamtausgabe.de
>> 
>> 
>> _______________________________________________
>> mei-l mailing list
>> mei-l at lists.uni-paderborn.de
>> https://lists.uni-paderborn.de/mailman/listinfo/mei-l
> 
> 
> _______________________________________________
> mei-l mailing list
> mei-l at lists.uni-paderborn.de
> https://lists.uni-paderborn.de/mailman/listinfo/mei-l




More information about the mei-l mailing list