[Guitar pro] MusicXML file created from GP file with undefined drumset note cannot be imported
1. Open attached GP5.
2. 'Export...'.
3. Choose 'MusicXML'.
4. 'Save'.
5. Open MusicXML.
Result: A dialogue appears saying it is not a valid MusicXML, with this message: "Fatal error: line 613 column 19 There is one IDREF value with no corresponding ID: P1-I77."
Note: The exported MusicXML also is attached.
Using MuseScore 2.0 Nightly Build (d4b323b) - Mac 10.7.5.
Attachment | Size |
---|---|
File opens with error.gp5 | 1.56 KB |
File opens with error.xml | 19.75 KB |
Comments
The root cause is that the GP file contains note for an instrument that is not defined in the default drumset. MusicXML export write the drumset and then the notes, assuming they are all defined in the drumset. On MusicXML import, the schema validation detect the missing match.
Solving the problem in MusicXML import time is not good. GP import could be tweaked but we need to know the meaning of the given note.
Marked as minor, since it's a GP import problem.
Note that MuseScore itself is also perfectly capable of creating scores with incomplete drum sets (i.e. with notes for which no definition is present in the drum set).
See #25982: [MusicXML Export] invalid MusicXML when instruments are missing from drumset
Fixed in fcd9b1b6006368698a3ea994e2fbe4bfbe63a101.
Automatically closed -- issue fixed for 2 weeks with no activity.