Command line MIDI convert creates a corrupt file, but GUI works
I tried to convert the attached midi by using the command
mscore 100mph_z.mid -o 100mph_converted_using_command_line.mscx
and the resulting file could not be opened.
I believe this is because it fails to properly escape an ampersand in a midi text event. In the file there's a node
<text>TVF&TVA Env Decay </text>
But it should probably be output as
<text>TVF&TVA Env Decay </text>
In the version converted with the gui, I'm not seeing that node at all.
I just checked and I'm still on version 2.0.2. Sorry if this issue has already been raised or resolved.
Edit:
xmllint --valid 100mph_z.mscx 100mph_z.mscx:19351: parser error : EntityRef: expecting ';' <text>TVF&TVA Env Decay </text>
Edit again:
I just found another file that has a similar problem, but this time with a less than and greater than symbol not being properly escaped. Let me know if you need it.
Attachment | Size |
---|---|
100mph_z.mid | 46.88 KB |
100mph_z_converted_using_command_line.mscx | 1.4 MB |
100mph_z_converted_using_gui.mscx | 1.4 MB |
Comments
I tested it again using the latest nightly (MuseScoreNightly-201609061123-master-7dccb92-x86_64) and the problem still exists.
Thanks.
but also in 2.0.3, so let's keep the "version" at that. But thanks for checking and confirming that the latest version is affected too