[Guitar pro] MusicXML file created from GP file with undefined drumset note cannot be imported

• Jul 2, 2013 - 00:58
Type
Functional
Severity
3
Status
closed
Project
Tags

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

Severity

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.