]> git.donarmstrong.com Git - lilypond.git/blob - input/regression/musicxml/41h-TooManyParts.xml
MusicXML: Don't crash when a part is missing the id attribute
[lilypond.git] / input / regression / musicxml / 41h-TooManyParts.xml
1 <?xml version="1.0" encoding="UTF-8"?>
2 <!DOCTYPE score-partwise PUBLIC "-//Recordare//DTD MusicXML 2.0 Partwise//EN" "http://www.musicxml.org/dtds/partwise.dtd">
3 <score-partwise version="2.0">
4   <identification>
5     <miscellaneous>
6       <miscellaneous-field name="description">This piece has more part elements
7               than the part-list section gives. One can either convert all
8               the parts present, but not listed in the part-list, or simply 
9               not import / ignore them.</miscellaneous-field>
10     </miscellaneous>
11   </identification>
12   <part-list>
13     <score-part id="P1">
14       <part-name print-object="no">MusicXML Part</part-name>
15     </score-part>
16   </part-list>
17   <part id="P1">
18     <measure number="1">
19       <note>
20         <rest/>
21         <duration>4</duration>
22         <voice>1</voice>
23         <type>whole</type>
24       </note>
25     </measure>
26   </part>
27   <part id="P3">
28     <measure number="1">
29       <note>
30         <rest/>
31         <duration>4</duration>
32         <voice>1</voice>
33         <type>whole</type>
34       </note>
35     </measure>
36   </part>
37   <part id="P4">
38     <measure number="1">
39       <note>
40         <rest/>
41         <duration>4</duration>
42         <voice>1</voice>
43         <type>whole</type>
44       </note>
45     </measure>
46   </part>
47 </score-partwise>