[MusicXML] [1.2] empty measures are not imported

Project:MuseScore
Component:Code
Category:bug report
Priority:normal
Assigned:Leon Vinken
Status:closed
Description

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 )

AttachmentSize
PUPscore.mxl5.49 KB
PUPFinaleImport.pdf26.76 KB

Comments

Title:No rests imported from musicXML» [MusicXML] measure-style -> multiple-rest is not import/exported

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.

AttachmentSize
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
Assigned to:Anonymous» Leon Vinken

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.

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.

Status:active» fixed

Fixed in the 0.9.6 branch in revision 5378.
See also #15156: [MusicXML] [trunk] empty measures are not imported.

Status:fixed» closed

Automatically closed -- issue fixed for 2 weeks with no activity.

Syndicate content