grame-cncm / libmusicxml

A C/C++ library to support the MusicXML format.
Mozilla Public License 2.0
152 stars 33 forks source link

MusicXML 4.0 Support #63

Closed arshiacont closed 6 months ago

arshiacont commented 10 months ago

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

dfober commented 10 months ago

That's right. The latest supported version is 3.1

dfober commented 9 months ago

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?

arshiacont commented 9 months ago

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

dfober commented 9 months ago

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.

arshiacont commented 9 months ago

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.