[MusicXML] invalid MusicXML generated from file in #34781

• Oct 3, 2014 - 08:45
Type
Functional
Severity
S2 - Critical
Status
closed
Project

After fixing #34781: Exporting MusicXML causes crash, the file produced when exporting the 'E. Guitar 1' part as MusicXML is invalid. This is caused by an empty credit element.


Comments

Root cause is an unescaped ampersand in the copyright string. This can be created by the GP3 importer, but also by MuseScores "new score" wizard.

The ampersand in the copyright string is correctly escaped in the resulting mscx file, but is not displayed in the page footer (on screen). It is also correctly escaped in the rights element in the MusicXML file, but not in the credit-words element.