[MusicXML] MusicXML from Sibelius comes up blank

• Jan 27, 2012 - 12:38
Type
Functional
Severity
3
Status
closed
Project

Got a MusicXML file from someone and it comes up blank when I open it in MuseScore. When I open it in a text editor though, it seems to have content and it does look like MusicXML from what I can see. Have compared it with one I exported from MuseScore, and although it's not the same song, it seems to have sort of the same elements anyways.

Is this an issue with MuseScore, or is the file buggy?

Have attached the file. Hopefully someone can tell me what's going on :)

Attachment Size
Herlige Sion.xml 307.65 KB

Comments

Severity

OK, I loaded it up into the latest v1.2 build. It loads, but the page settings are all whacked! (They are like that in the XML as well.)

Goto Layout/Page Settings and adjust the Page Size, Scaling and Margins to something more normal to see the score.

This file crashes the latest trunk R532x likely because of the whacked page size values.

Severity
Status (old) active needs info

From the xml file:
Software: Sibelius 7.1.0, Direct export, not from Dolet.

Could you ask that someone to create the export using the free Dolet plugin instead of the build in export?
See http://musescore.org/en/node/14319 for the plugin.

Since the only real issue with this file is the page width/height, margins and scaling factors, this seems like an opportune time to file an issue requesting sane limit checks on these numbers. Seriously, who would set 2000mm margins on a 2000x2000mm page, or use a scaling factor over 5.

Title MusicXML from Sibelius comes up blank [MusicXML] MusicXML from Sibelius comes up blank
Severity

All the dimentions in the MusicXML file are coded with comma (,) except of dot (.)

<millimeters>210,0000</millimeters>

Not sure if there is something in the MusicXML spec to define how to encode numbers but I think it's the first time I see comma used. Is your Sibelius in another language than english?

Hey, that is interesting. I'm not the one who did the export, but the program they used (or at least the computer they were on) is probably set up for norwegian culture settings. And here the comma is used as the decimal point...

Tried to do a regex search replace of (\d),(\d) to $1.$2, and when I opened it up in MuseScore it looked pretty normal!

In other words, this is not an issue with MuseScore really. Although maybe it could suggest converting those commas into periods if it detects ridiculous pages sizes and the like?

Severity
Status (old) needs info active

Not sure how to deal with that one. It's probably more a bug in Sibelius, and they will hopefully fix it. I put it on minor, let's see if we have more people with the same problem.

XML schema validation (using Sun's msv.jar) against the MusicXML 2.0 schema reports:

Error at line:25, column:39 of file:///home/lvi/node14667/Herlige Sion_4.xml
"210,0000" does not satisfy the "decimal" type

Error at line:46, column:47 of file:///home/lvi/node14667/Herlige Sion_4.xml
"0,9375" does not satisfy the "decimal" type

Error at line:68, column:60 of file:///home/lvi/node14667/Herlige Sion_4.xml
attribute "font-size" has a bad value

Error at line:82, column:173 of file:///home/lvi/node14667/Herlige Sion_4.xml
attribute "font-size" has a bad value

Error at line:85, column:173 of file:///home/lvi/node14667/Herlige Sion_4.xml
attribute "font-size" has a bad value

Error at line:88, column:173 of file:///home/lvi/node14667/Herlige Sion_4.xml
attribute "font-size" has a bad value

Error at line:91, column:173 of file:///home/lvi/node14667/Herlige Sion_4.xml
attribute "font-size" has a bad value

the document is NOT valid.

Translated into English this means a comma is not allowed in decimal numbers in MusicXML, a decimal point is required.
I suggest the original submitter reports this to Sibelius.

Severity
Status (old) active fixed

Schema validation has been implemented in the trunk recently. As a result, MuseScore 2.0 does not load the attached file. Instead it shows an error dialog stating that the file is invalid MusicXML.