[MusicXML] [1.2] empty measures are not imported

• created 5 years ago
Priority
normal
Status
closed
Component
Code
Category
bug report
Project

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.

Attachment Size
Pick up the pieces 1e sax - Cpartij.xml 190.83 KB
Title [MusicXML] measure-style -> multiple-rest is not import/exported [MusicXML] [1.2] measure-style -> multiple-rest is not import/exported

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.

Title [MusicXML] [1.2] measure-style -> multiple-rest is not import/exported [MusicXML] [1.2] empty measures are not imported

Implemented simple fix where empty measures are automatically converted to (hidden) full-measure rests.