[MusicXML import] check code for white space issues

• Feb 7, 2021 - 09:32
Reported version
3.6
Type
Functional
Severity
S5 - Suggestion
Reproducibility
Always
Status
active
Regression
No
Workaround
No
Project

See #315904: [MusicXML import] incomplete import from ScoreScan XML file, the solution fixes only the technical/fingering case, but the same problem may be present elsewhere. Also, using readNext() may be incorrect, as it does not check what type of element is read, meaning endElements may incorrectly be skipped.