[MusicXML import] incomplete import from ScoreScan XML file
Reported version
3.6
Type
Functional
Frequency
Few
Severity
S3 - Major
Reproducibility
Always
Status
closed
Regression
No
Workaround
No
Project
I have saved a project from ScoreScan as a xml file.
When I load this file in Musescore some staves are empty and the piano staves are totaly empty trio 4 Danses Slaves 3.xml trio 4 Danses Slaves 3.xml
Attachment | Size |
---|---|
trio 4 Danses Slaves 3.xml | 734.55 KB |
Fix version
3.6.2
Comments
Relates to #270643: [EPIC] MusicXML import/export issues
Quick investigation: caused by a MusicXML import bug. The parser gets out of sync when reading the notations element at line 4181 in the attached file. Structural issue, should be easy to fix.
Pull request https://github.com/musescore/MuseScore/pull/7442
Fixed in branch 3.x, commit 9c35ca1070
_Fix #315904: [MusicXML import] incomplete import from ScoreScan XML file
Resolves: https://musescore.org/en/node/315904
An incorrect readNext() caused the MusicXML parser to get out of sync
if no white space is present between the end elements of fingering
and technical. This is legal but seems to occur only in files produced
by ScanScore. It results in incomplete import._
Fixed in branch 3.6.2, commit d954d283a1
_Fix #315904: [MusicXML import] incomplete import from ScoreScan XML file
Resolves: https://musescore.org/en/node/315904
An incorrect readNext() caused the MusicXML parser to get out of sync
if no white space is present between the end elements of fingering
and technical. This is legal but seems to occur only in files produced
by ScanScore. It results in incomplete import._
Automatically closed -- issue fixed for 2 weeks with no activity.
Same issue also came up in #320995: Will not willingly upload MusicXML and MXL files, this time with a file created by Flat (https://flat.io).
Can't really be the same, as this issue here is fixed in 3.6.2, that other is still happening there. And the symptom with the xml from this issue is different too,: on top of the corruption and empts staves (indeed fioxed in 3.6.2) it also reports invaild XML:
More likely #317098: [MusicXML import] check code for white space issues?
Nah, it is #319210: MusicXML import detect corrupted file when the file is minified
Synced to master: https://github.com/musescore/MuseScore/pull/8201