musescore / MuseScore

MuseScore is an open source and free music notation software. For support, contribution, bug reports, visit MuseScore.org. Fork and make pull requests!
https://musescore.org
Other
12.09k stars 2.61k forks source link

File corruption when importing MusicXML files created by OMR software #17196

Open Lenbus opened 1 year ago

Lenbus commented 1 year ago

Issue type

Choose option...

Bug description

In order to make Learning Tracks for my group, I tend digitalize sheet music by means of OMR software. When I try to open it in MS4, some staffs are missing (or at least hidden). In MS3 this tends to work better.

Additionally: No import goes without some kind of file corruption hint -> the option to Show Details introduced in the recent update is a major improvement here, but somehow I have to accept to open anyway three times (of which one message box shows up twice) - and default button is No, which is not plausible to me -> should be Yes.

Steps to reproduce

Load an XML file created by OMR software (e.g. from Neuratron or Myriad)

Screenshots/Screen recordings

MS4: grafik

MS3: grafik

Due to legal issues, I can not attach this file. If you really need one, please call out and I'll try to mock one for you.

Here are the MessageBoxes that open up:

  1. grafik

  2. grafik

  3. 1st one shows up again (see above).

MuseScore Version

4.0.2

Regression

Yes, this used to work in Musescore 3.x and now is broken

Operating system

Windows 11

Additional context

No response

Jojo-Schmitz commented 12 months ago

Without the xml files we can't do much about this.

rettinghaus commented 2 weeks ago

I would even say, if MuseScore already warns about a non-valid file, it's not up to MuseScore trying to fix it.

Jojo-Schmitz commented 2 weeks ago

Unless that claim is wrong ;-) To verify we'd still need the XML files

rettinghaus commented 2 weeks ago

That is no claim, that's facts, because MuseScore validates against the DTD. What do you think @cbjeukendrup?

cbjeukendrup commented 2 weeks ago

When something doesn't pass the XML schema validation, I don't think we can expect MuseScore to read that correctly. And the schema check basically can't be wrong.

But the bad thing at the moment is: #23726