[MusicXML import] incomplete import from ScoreScan XML file

• Jan 20, 2021 - 17:21
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

Comments

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.

Status PR created fixed

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._

Fix version
3.6.2