MuseScore generates unparseable MusicXML for ampersands in chord names

• May 12, 2020 - 10:40
Reported version
3.4
Type
Functional
Frequency
Once
Severity
S4 - Minor
Reproducibility
Always
Status
closed
Regression
No
Workaround
No
Project

See the attached .mscz file, which includes the ampersand character ("&") in a chord name. When exporting this as MusicXML, the resulting XML (also attached here) cannot be parsed by an XML parser because the ampersand isn't escaped.

The solution is to escape the ampersand as "&" in the MusicXML. MuseScore already does this in other places (e.g., system text).

Attachment Size
ampersands.mscz 4.51 KB
ampersands.musicxml 17.25 KB

Comments

Fix version
3.5.0