grame-cncm / libmusicxml

A C/C++ library to support the MusicXML format.

Geek Repo:Geek Repo

Github PK Tool:Github PK Tool

MusicXML 4.0 Support

arshiacont opened this issue · comments

It seems to me that LibMusicXML is not on MusicXML 4.0 DTDs or I am making a mistake?!

That's right. The latest supported version is 3.1

It looks like version 4.0 doesn't introduces new elements. As far as I can see, the main changes concern documentation and types. Can you confirm ? And if you have any files encoded in version 4, could you send them to me?

I actually came across an export from Finale that had a the following element crashing LibMusicXML:

<sound>
        <swing>
          <straight/>
        </swing>
</sound>

which makes me think that there are some new elements that LibMusicXML doesn't like.

Here is one:
testMusicXML4.xml.zip

The file works on my side (using xmlread tool), it's also converted to gmn without problem. Now it makes use of the latest version but the src has not been affected by the update to v4.

Interesting! So it's something on my branch.. I'll do a quick check and will update here or close accordingly! Thanks for checking it up.