XML export from 1.3 with "&" in text causes MSCZ corruption

• Apr 4, 2014 - 20:23
Type
Functional
Severity
S2 - Critical
Status
closed
Project

1. Create a score in 1.3 with an "&" in the title, or add some text with it. The supplied XML file is good. The title should be "1111 & 2222"
2. Export as XML
3. Load into 2.0
4. The text or title containing the & will be truncated right before the "&" character
5. Save as MSCZ
6. MS 2.0 will now claim the score is corrupt.

I don't know what other special characters might cause this corruption.

Attachment Size
1111.xml 18.6 KB

Comments

The 1.3 generated MusicXML file is encoded correctly (the ampersand is escaped), but the MSCZ file produced by the current trunk contains a literal (incorrect, unescaped) ampersand in the title text.

Note that the title gets lost when exporting to MusicXML, something is definitely wrong here ...

Status (old) fixed active

The issue with "&" in title text is fixed, but not with staff text. This also could affect System text, Tempo text, Copyright, any area where text can be entered.

System text, Staff text & Tempo text confirmed with this bug, Copyright text is OK, along with the title frame (title, subtitle, composer, lyricist).