Closed musicog closed 10 months ago
The thing is that we only store the header for processing and save it back later without processing it. I don't think there is a MEI-all to MEI-basic converter out there, or is it?
It would make sense to prune / adjust the header to something valid. I will see what I can do.
Discovered by @wergo
Describe the problem When loading a valid MEI 4.0.1 encoding as MEI-Basic, invalid MEI is generated.
To Reproduce Steps to reproduce the behavior:
File->Save as MEI Basic
to generate an MEI Basic version using the Verovio JS Toolkit'stk.getMEI({ basic: true })
and store the file locallyFile->Open file
(or, click here to open the GitHub gist I've uploaded of the file).Expected behavior Valid MEI should produce valid MEI Basic.
Input data Valid MEI 4.0.1 encoding: https://raw.githubusercontent.com/trompamusic-encodings/Beethoven_WoO70_BreitkopfHaertel/master/Beethoven_WoO70-Breitkopf.mei Invalid MEI 5.0 Basic encoding: https://gist.githubusercontent.com/musicog/39754d97b2927c055ba59675aa085ced/raw/991f6832d2d1a497a28a98ef81fa7eab71a29b70/Beethoven_WoO70-Breitkopf-basic.mei
Verovio information
Environment information (as appropriate)