]> git.donarmstrong.com Git - lilypond.git/blob - input/regression/musicxml/41g-PartNoId.xml
MusicXML: Don't crash when a part is missing the id attribute
[lilypond.git] / input / regression / musicxml / 41g-PartNoId.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">A part with no id attribute.
7             Since this piece has only one part, it is clear which part 
8             is described by the one part element.</miscellaneous-field>
9     </miscellaneous>
10   </identification>
11   <part-list>
12     <score-part id="P1">
13       <part-name print-object="no">MusicXML Part</part-name>
14     </score-part>
15   </part-list>
16   <part>
17     <measure number="1">
18       <note>
19         <rest/>
20         <duration>4</duration>
21         <voice>1</voice>
22         <type>whole</type>
23       </note>
24     </measure>
25   </part>
26 </score-partwise>