Musescore cannot open music xml file it created if title contains an ampersand
Workaround
No
⇒
Yes
Interesting, it stumbles accross the & in the title and only in the meta data, containers.xml, not the actual musicXML file (attached)
Workaround: Export as uncompress MusicXML, .musicxml or .xml instead (or unzip the .mxl file)
Comments
Score (.mscz) and/or XML (.mxl) needed, but at least the latter
Interesting, it stumbles accross the & in the title and only in the meta data, containers.xml, not the actual musicXML file (attached)
Workaround: Export as uncompress MusicXML, .musicxml or .xml instead (or unzip the .mxl file)
relates to #270643: [EPIC] MusicXML import/export issues
Came up again in https://musescore.org/en/node/321654
The (broken) container.xmp for the -mxl file looks like this:
wheras the (working) container.xml for the .mscz file looks like this:
Here the ampersand is properly 'escaped'.
Culprit found: src/importexport/musicxml/internal/musicxml/exportxml.cpp, line 7029
Compare src/libmscore/scorefile.cpp, line 602
PR(s) to follow shortly...
Glad to see this! I encountered the title ampersand bug a couple of days ago. Good work guys!
See https://github.com/musescore/MuseScore/pull/8187 (for 3.x)
and https://github.com/musescore/MuseScore/pull/8188 (for master)
Fixed in branch master, commit 2853b31142
Fix #321376: Musescore cannot open MusicXML file it created if filename contains an ampersand
Automatically closed -- issue fixed for 2 weeks with no activity.