[XML and CAPX Import] An & in the partname or in a staff text of MusicXML or CAPX file results in unloadable MuseScore file
Came up in https://musescore.org/de/node/57826
Import the attached XML, save as mscz, close, open the mscz: it fails with an error claiming this not to be a valid file.
In the debug output if can be seen that it complains about lines were an & is in the part name.
importing the XML and fixing the partnames to not have an &, then save as mscz and all is OK
Problem exists in 2.0 and in the recent build from master, so both the old DOM as well as the new pull parser are affected.
Not 100% sure yet, but CAP/CAPX import might be affected too.
Attachment | Size |
---|---|
When I´m sixty-four (ST).xml | 113.16 KB |
Comments
Hmm..., probably not really critical, but I think at least major, depending how much work after the import went into the file, which then would go lost.
Similar issue with an & in a staff text (that should have been the composer text) from a CPAX import
A related issue is mentioned in https://musescore.org/en/node/57851
where text after an & gets ignored in Copyright, Header, Footer and Volta text
Fixed in 892e5887f9
Automatically closed -- issue fixed for 2 weeks with no activity.