Export to MusicXML

• Jul 11, 2017 - 16:24

I exported my score to MusicXML. Then tried to open it in MuseScore. It said that the file is not a valid MusicXML file, and gave the error:

Fatal error: line 44 column 19 Element credit is missing child element.

Help! Please!


Comments

Perhaps you can do some diagnosing yourself and narrow the problem down to something that can be duplicated.

the MSCZ file is simply a zip file that contains a few file including one that is called name.mscx where name is the name of the MSCZ file. This MSCX file is and XML file. If you open it in a XML editor, the error should be reported in the editor. There are plenty of free XML editors out there. You can then look at the previous

Measure number=

statement to determine which measure the error is in.

You can then trim down the score to include perhaps 3-5 measures including the offending measure and see if the error is duplicated. These few measures should not violate a copyright but rather be covered by fair use. You might be able to duplicate the problem by setting the notes to something like a scale if you feel better about that.

If the error is before the first measure (which is possible due to how early it is in the file), then you can save the file to include the first measure so it can be examined.

In reply to by Hamid-2016

Think of MusicXML as a kind of "generic" representation of a score, designed to be kind of a "least common denominator" between all the different formats used by all the different notation programs. It is indeed perfectly normal that some fine details of layout etc will not be preserved in the conversion to or from MusicXML. This is true for pretty much any notation program.

If you consider what happens if you take a paragraph of English text it through Google Translate to French and back, I'd say MusicXML conversion should be expected to be only slightly better.

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