Some XML files that I load are reported as corrupt or invalid.

• Jan 29, 2020 - 20:58

Some XML files that I load are reported as corrupt or invalid even though they don't appear to have any errors, and actually do load fine. What is causing the error messages?
Version: 3.4.1.9660
OS: Windows 10

To duplicate:
Go to File | Open, and load one of the attached .XML files.

test.xml:
Fatal error: line 882 column 28 Element tie is not defined in this scope.

test2.xml
Measure 20, staff 1 incomplete. Expected: 7/8; Found: 96/96
Measure 25, staff 1 incomplete. Expected: 7/8; Found: 672/672
Measure 28, staff 1 incomplete. Expected: 3/4; Found: 96/96
Measure 29, staff 1 incomplete. Expected: 3/4; Found: 672/672

Attachment Size
test.XML 137.67 KB
test2.XML 224.75 KB

Comments

I guess you may need to report this to Band-in-a-box, the producer of those XML files. Esp. the 1st one seems to be a plain XML error, the latter 'just' results a corrupted score in MuseScore.
MuseScore 2.3.2 gives the same errors BTW

First file is indeed invalid MusicXML, a number of notes contain three tie elements, while only two are allowed. The second files contains rounding errors in several notes duration, due to the divisions value being too small.

Both cases to be solved by the producer, there is nothing MuseScore can do about it. Note that both files seem to be imported correctly despite the errors.

Do you still have an unanswered question? Please log in first to post your question.