[MusicXML] musicxml from new version of Finale imports as blank sheet

• Nov 11, 2020 - 16:57
Reported version
3.5
Type
Functional
Frequency
Once
Severity
S3 - Major
Reproducibility
Always
Status
closed
Regression
Yes
Workaround
Yes
Project

Open the attached file with MuseScore 3.5;
Result is a blank page.
Workaround
Open with with a previous version (2.3.2/ 3.4.2) and save to use the score with 3.5.2 and 3.6

Attachment Size
Autumn In NY.musicxml 362.3 KB

Comments

Running the current 3.x on it in debug mode results in a failed assertion:

ASSERT: "_e.isEndElement() && _e.name() == "credit"" in file /Users/lvi/dev/MuseScore/importexport/musicxml/importmxmlpass1.cpp, line 1315

Those are typically not hard to fix. Will check.

I suspected "credit", but that was just a gut feeling from looking the xml and remembering that you recently fixed something there ;-)
As it didn't crash I didn't check it in a debug build, my bad.

Cause is a double credit-type element that was not handled correctly by the MusicXML parser. Trivial one line fix, will create a pull request shortly, still some QA to do first.

Status PR created fixed

Fixed in branch 3.x, commit da88e5ac0c

_fix #312854: [MusicXML] musicxml from new version of Finale imports as blank sheet

Support credit containing multiple credit-types. Before the fix, this made the parser
go out of sync, causing it to ignore the remainder of the file._

Fix version
3.6.0