Musescore 1.3. Instruments .xml file has an unexpected end of file-HELP!
My Instruments.xml file, when read by musescore 1.3. says there is an unexpected end of file. I don't know where the error occurred at. Attached below is my custom instruments.xml file. If you see something that could help me fix the error, let me know!
Attachment | Size |
---|---|
instruments.xml | 95.34 KB |
Comments
Do you remember which instruments you customized? That would make a logical starting point.
In reply to Do you remember which by Marc Sabatella
I customized virtually every single instrument in some way, shape, or form.
In reply to I customized virtually every by The World of Music
And without checking in between changes? That was a mistake...
Also some changes in formatting, indenting, don't make it easier to run a diff against them
It is not using an UTF-8 encoding, and flat symbols are encoded as "<symbol="flat"/>"
Hmm, I see, this seems to be a difference between MuseScore 1.x and 2.0...
I couldn't spot any error so far
So you'd need to do a side-by-side comparison of your file with the original one. Or start from srcatch with your modifications and check whether it loads after each step.
In reply to It is not using an UTF-8 by Jojo-Schmitz
Chances are there are XML validation tools online that might be able to help. It's almost certainly an unclosed tag somewhere, and presumably this would be easy for a tool designed to look for syntax errors to catch.
In reply to Chances are there are XML by Marc Sabatella
By loading your file into http://www.xmlvalidation.com/, I didn't get a definitive statement of where the error is, but just browsing the file there and looking at the indenting it provides made it easier to spot the errors - I saw tags indented one way in part of the file, another way in another part, indicating there was a problem somewhere. The first errors I found as a result of this started at line 2322, where a series of instrument definitions have no proper closing tag (closing with "instrument" instead of "/instrument"). There may of course be other errors.
In reply to By loading your file into by Marc Sabatella
If those are fixed, MuseScore at least seems to load it without problems.
Hmm, maybe not, seems there are some more errors
In reply to If those are fixed, MuseScore by Jojo-Schmitz
Yes, I also saw a bynch of other tags that were obviously intended as closing tags but lacked the "/". Some short-name tags, some transpose tags. After fixing around a dozen and still gets errors, I gave up.
In reply to Yes, I also saw a bynch of by Marc Sabatella
same here
In reply to Yes, I also saw a bynch of by Marc Sabatella
Ah, finally a fixed version
In reply to Ah, finally a fixed version by Jojo-Schmitz
Thanks a million!