[MusicXML] [1.2] empty measures are not imported
I created a musicXML 2.0 file from PDFtoMusicPro. (PUPscore.mxl)
When I imported it in Musescore 1.1 or the latest nightly 2.0.0 version, all the rests were gone!
Importing the same file in Finale Notepad 2012 created no problem at all (PUPFinaleImport.pdf )
Attachment | Size |
---|---|
PUPscore.mxl | 5.49 KB |
PUPFinaleImport.pdf | 26.76 KB |
Comments
In the MusicXML file, the multimeasure rests are coded with the following in the first measure
<measure-style>
<multiple-rest>10</multiple-rest>
</measure-style>
The next 10 measures are empty measure tags. Find attached the MusicXML file decompressed.
At least according to Sun's Multi-Schema XML Validator, the attached file is invalid, as empty measures are not allowed. Nevertheless, both Finale and Sibelius import the file without problems or error messages.
For compatibility, it is probably best for MuseScore to also interpret empty measures as whole measure rests.
The actual issue is not related to the handling of multi-measure rests: the empty measures are simply not imported.
Implemented simple fix where empty measures are automatically converted to (hidden) full-measure rests.
Fixed in the 0.9.6 branch in revision 5378.
See also #15156: [MusicXML] [trunk] empty measures are not imported.
Automatically closed -- issue fixed for 2 weeks with no activity.