forked from music-encoding/music-encoding
-
Notifications
You must be signed in to change notification settings - Fork 0
/
mei-basic.xml
1072 lines (1033 loc) · 71 KB
/
mei-basic.xml
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
43
44
45
46
47
48
49
50
51
52
53
54
55
56
57
58
59
60
61
62
63
64
65
66
67
68
69
70
71
72
73
74
75
76
77
78
79
80
81
82
83
84
85
86
87
88
89
90
91
92
93
94
95
96
97
98
99
100
101
102
103
104
105
106
107
108
109
110
111
112
113
114
115
116
117
118
119
120
121
122
123
124
125
126
127
128
129
130
131
132
133
134
135
136
137
138
139
140
141
142
143
144
145
146
147
148
149
150
151
152
153
154
155
156
157
158
159
160
161
162
163
164
165
166
167
168
169
170
171
172
173
174
175
176
177
178
179
180
181
182
183
184
185
186
187
188
189
190
191
192
193
194
195
196
197
198
199
200
201
202
203
204
205
206
207
208
209
210
211
212
213
214
215
216
217
218
219
220
221
222
223
224
225
226
227
228
229
230
231
232
233
234
235
236
237
238
239
240
241
242
243
244
245
246
247
248
249
250
251
252
253
254
255
256
257
258
259
260
261
262
263
264
265
266
267
268
269
270
271
272
273
274
275
276
277
278
279
280
281
282
283
284
285
286
287
288
289
290
291
292
293
294
295
296
297
298
299
300
301
302
303
304
305
306
307
308
309
310
311
312
313
314
315
316
317
318
319
320
321
322
323
324
325
326
327
328
329
330
331
332
333
334
335
336
337
338
339
340
341
342
343
344
345
346
347
348
349
350
351
352
353
354
355
356
357
358
359
360
361
362
363
364
365
366
367
368
369
370
371
372
373
374
375
376
377
378
379
380
381
382
383
384
385
386
387
388
389
390
391
392
393
394
395
396
397
398
399
400
401
402
403
404
405
406
407
408
409
410
411
412
413
414
415
416
417
418
419
420
421
422
423
424
425
426
427
428
429
430
431
432
433
434
435
436
437
438
439
440
441
442
443
444
445
446
447
448
449
450
451
452
453
454
455
456
457
458
459
460
461
462
463
464
465
466
467
468
469
470
471
472
473
474
475
476
477
478
479
480
481
482
483
484
485
486
487
488
489
490
491
492
493
494
495
496
497
498
499
500
501
502
503
504
505
506
507
508
509
510
511
512
513
514
515
516
517
518
519
520
521
522
523
524
525
526
527
528
529
530
531
532
533
534
535
536
537
538
539
540
541
542
543
544
545
546
547
548
549
550
551
552
553
554
555
556
557
558
559
560
561
562
563
564
565
566
567
568
569
570
571
572
573
574
575
576
577
578
579
580
581
582
583
584
585
586
587
588
589
590
591
592
593
594
595
596
597
598
599
600
601
602
603
604
605
606
607
608
609
610
611
612
613
614
615
616
617
618
619
620
621
622
623
624
625
626
627
628
629
630
631
632
633
634
635
636
637
638
639
640
641
642
643
644
645
646
647
648
649
650
651
652
653
654
655
656
657
658
659
660
661
662
663
664
665
666
667
668
669
670
671
672
673
674
675
676
677
678
679
680
681
682
683
684
685
686
687
688
689
690
691
692
693
694
695
696
697
698
699
700
701
702
703
704
705
706
707
708
709
710
711
712
713
714
715
716
717
718
719
720
721
722
723
724
725
726
727
728
729
730
731
732
733
734
735
736
737
738
739
740
741
742
743
744
745
746
747
748
749
750
751
752
753
754
755
756
757
758
759
760
761
762
763
764
765
766
767
768
769
770
771
772
773
774
775
776
777
778
779
780
781
782
783
784
785
786
787
788
789
790
791
792
793
794
795
796
797
798
799
800
801
802
803
804
805
806
807
808
809
810
811
812
813
814
815
816
817
818
819
820
821
822
823
824
825
826
827
828
829
830
831
832
833
834
835
836
837
838
839
840
841
842
843
844
845
846
847
848
849
850
851
852
853
854
855
856
857
858
859
860
861
862
863
864
865
866
867
868
869
870
871
872
873
874
875
876
877
878
879
880
881
882
883
884
885
886
887
888
889
890
891
892
893
894
895
896
897
898
899
900
901
902
903
904
905
906
907
908
909
910
911
912
913
914
915
916
917
918
919
920
921
922
923
924
925
926
927
928
929
930
931
932
933
934
935
936
937
938
939
940
941
942
943
944
945
946
947
948
949
950
951
952
953
954
955
956
957
958
959
960
961
962
963
964
965
966
967
968
969
970
971
972
973
974
975
976
977
978
979
980
981
982
983
984
985
986
987
988
989
990
991
992
993
994
995
996
997
998
999
1000
<?xml version="1.0" encoding="UTF-8"?>
<?xml-model href="http://www.tei-c.org/release/xml/tei/custom/schema/relaxng/tei_odds.rng" type="application/xml" schematypens="http://purl.oclc.org/dsdl/schematron"?>
<?xml-model href="http://www.tei-c.org/release/xml/tei/custom/schema/relaxng/tei_odds.rng" type="application/xml" schematypens="http://relaxng.org/ns/structure/1.0"?>
<TEI xmlns="http://www.tei-c.org/ns/1.0" xmlns:rng="http://relaxng.org/ns/structure/1.0"
xmlns:sch="http://purl.oclc.org/dsdl/schematron">
<teiHeader>
<fileDesc>
<titleStmt>
<title>Music Encoding Initiative Guidelines: <title type="sub">MEI Basic Profile</title></title>
<respStmt>
<resp>Authored by</resp>
<name xml:id="JK">Johannes Kepper</name>
</respStmt>
<respStmt>
<resp>In collaboration with</resp>
<name>The MEI Community</name>
</respStmt>
</titleStmt>
<publicationStmt>
<p/>
</publicationStmt>
<sourceDesc>
<p/>
</sourceDesc>
</fileDesc>
<revisionDesc>
<change n="1" when="2019-04-04" who="#JK">
<desc>Initial setup of the ODD.</desc>
</change>
<change n="2" when="2019-10-26" who="#JK">
<desc>Revisions following the discussions on GitHub, and at the Nashville Hackathon.</desc>
</change>
</revisionDesc>
</teiHeader>
<text>
<body>
<schemaSpec ident="mei" start="mei" prefix="mei_" ns="http://www.music-encoding.org/ns/mei">
<!-- Declare MEI and XLink namespaces for use in Schematron -->
<constraintSpec ident="set_ns" scheme="isoschematron" mode="add">
<constraint>
<sch:ns xmlns:sch="http://purl.oclc.org/dsdl/schematron" prefix="mei"
uri="http://www.music-encoding.org/ns/mei"/>
<sch:ns xmlns:sch="http://purl.oclc.org/dsdl/schematron" prefix="xlink"
uri="http://www.w3.org/1999/xlink"/>
</constraint>
</constraintSpec>
<moduleRef key="MEI"/>
<moduleRef key="MEI.analytical" include="att.keySigDefault.anl"/>
<moduleRef key="MEI.cmn"
except="attacca beamSpan bend bracketSpan meterSig meterSigGrp mRpt2 mSpace oLayer ossia oStaff tupletSpan"/>
<moduleRef key="MEI.cmnOrnaments"/>
<moduleRef key="MEI.figtable"/>
<moduleRef key="MEI.fingering"/>
<moduleRef key="MEI.frbr"/>
<moduleRef key="MEI.gestural"/>
<moduleRef key="MEI.harmony"/>
<moduleRef key="MEI.header" include="meiHead fileDesc titleStmt title pubStmt publisher pubPlace date availability composer lyricist arranger"/>
<moduleRef key="MEI.lyrics"/>
<moduleRef key="MEI.msDesc"/>
<moduleRef key="MEI.namesdates"/>
<moduleRef key="MEI.shared" except="annot barLine cb colLayout custos div group keySig pad part parts relation relationList"/>
<moduleRef key="MEI.stringtab"/>
<moduleRef key="MEI.text" except="front back"/>
<moduleRef key="MEI.visual"/>
<classSpec type="atts" ident="att.notationType" module="MEI" mode="delete"/>
<classSpec type="atts" ident="att.accid.anl" module="MEI.analytical" mode="delete"/>
<classSpec type="atts" ident="att.ambNote.anl" module="MEI.analytical" mode="delete"/>
<classSpec type="atts" ident="att.annot.anl" module="MEI.analytical" mode="delete"/>
<classSpec type="atts" ident="att.accid.anl" module="MEI.analytical" mode="delete"/>
<classSpec type="atts" ident="att.arpeg.anl" module="MEI.analytical" mode="delete"/>
<classSpec type="atts" ident="att.artic.anl" module="MEI.analytical" mode="delete"/>
<classSpec type="atts" ident="att.attacca.anl" module="MEI.analytical" mode="delete"/>
<classSpec type="atts" ident="att.barLine.anl" module="MEI.analytical" mode="delete"/>
<classSpec type="atts" ident="att.beam.anl" module="MEI.analytical" mode="delete"/>
<classSpec type="atts" ident="att.beamSpan.anl" module="MEI.analytical" mode="delete"/>
<classSpec type="atts" ident="att.beatRpt.anl" module="MEI.analytical" mode="delete"/>
<classSpec type="atts" ident="att.bend.anl" module="MEI.analytical" mode="delete"/>
<classSpec type="atts" ident="att.bracketSpan.anl" module="MEI.analytical" mode="delete"/>
<classSpec type="atts" ident="att.breath.anl" module="MEI.analytical" mode="delete"/>
<classSpec type="atts" ident="att.bTrem.anl" module="MEI.analytical" mode="delete"/>
<classSpec type="atts" ident="att.caesura.anl" module="MEI.analytical" mode="delete"/>
<classSpec type="atts" ident="att.chord.anl" module="MEI.analytical" mode="delete"/>
<classSpec type="atts" ident="att.chorddef.anl" module="MEI.analytical" mode="delete"/>
<classSpec type="atts" ident="att.accid.anl" module="MEI.analytical" mode="delete"/>
<classSpec type="atts" ident="att.chordMember.anl" module="MEI.analytical" mode="delete"/>
<classSpec type="atts" ident="att.clef.anl" module="MEI.analytical" mode="delete"/>
<classSpec type="atts" ident="att.clefGrp.anl" module="MEI.analytical" mode="delete"/>
<classSpec type="atts" ident="att.cpMark.anl" module="MEI.analytical" mode="delete"/>
<classSpec type="atts" ident="att.curve.anl" module="MEI.analytical" mode="delete"/>
<classSpec type="atts" ident="att.custos.anl" module="MEI.analytical" mode="delete"/>
<classSpec type="atts" ident="att.mdiv.anl" module="MEI.analytical" mode="delete"/>
<classSpec type="atts" ident="att.dir.anl" module="MEI.analytical" mode="delete"/>
<classSpec type="atts" ident="att.dot.anl" module="MEI.analytical" mode="delete"/>
<classSpec type="atts" ident="att.dynam.anl" module="MEI.analytical" mode="delete"/>
<classSpec type="atts" ident="att.ending.anl" module="MEI.analytical" mode="delete"/>
<classSpec type="atts" ident="att.episema.anl" module="MEI.analytical" mode="delete"/>
<classSpec type="atts" ident="att.f.anl" module="MEI.analytical" mode="delete"/>
<classSpec type="atts" ident="att.fermata.anl" module="MEI.analytical" mode="delete"/>
<classSpec type="atts" ident="att.fing.anl" module="MEI.analytical" mode="delete"/>
<classSpec type="atts" ident="att.fingGrp.anl" module="MEI.analytical" mode="delete"/>
<classSpec type="atts" ident="att.fTrem.anl" module="MEI.analytical" mode="delete"/>
<classSpec type="atts" ident="att.gliss.anl" module="MEI.analytical" mode="delete"/>
<classSpec type="atts" ident="att.grpSym.anl" module="MEI.analytical" mode="delete"/>
<classSpec type="atts" ident="att.hairpin.anl" module="MEI.analytical" mode="delete"/>
<classSpec type="atts" ident="att.halfmRpt.anl" module="MEI.analytical" mode="delete"/>
<classSpec type="atts" ident="att.harm.anl" module="MEI.analytical" mode="delete"/>
<classSpec type="atts" ident="att.harmonicFunction.anl" module="MEI.analytical" mode="delete"/>
<classSpec type="atts" ident="att.harpPedal.anl" module="MEI.analytical" mode="delete"/>
<classSpec type="atts" ident="att.hispanTick.anl" module="MEI.analytical" mode="delete"/>
<classSpec type="atts" ident="att.instrDef.anl" module="MEI.analytical" mode="delete"/>
<classSpec type="atts" ident="att.intervalHarmonic.anl" module="MEI.analytical" mode="delete"/>
<classSpec type="atts" ident="att.intervalMelodic.anl" module="MEI.analytical" mode="delete"/>
<classSpec type="atts" ident="att.intervallicDesc.anl" module="MEI.analytical" mode="delete"/>
<classSpec type="atts" ident="att.keyAccid.anl" module="MEI.analytical" mode="delete"/>
<classSpec type="atts" ident="att.keySig.anl" module="MEI.analytical" mode="delete"/>
<classSpec type="atts" ident="att.layer.anl" module="MEI.analytical" mode="delete"/>
<classSpec type="atts" ident="att.layerDef.anl" module="MEI.analytical" mode="delete"/>
<classSpec type="atts" ident="att.ligature.anl" module="MEI.analytical" mode="delete"/>
<classSpec type="atts" ident="att.line.anl" module="MEI.analytical" mode="delete"/>
<classSpec type="atts" ident="att.liquescent.anl" module="MEI.analytical" mode="delete"/>
<classSpec type="atts" ident="att.lv.anl" module="MEI.analytical" mode="delete"/>
<classSpec type="atts" ident="att.lyrics.anl" module="MEI.analytical" mode="delete"/>
<classSpec type="atts" ident="att.measure.anl" module="MEI.analytical" mode="delete"/>
<classSpec type="atts" ident="att.melodicFunction.anl" module="MEI.analytical" mode="delete"/>
<classSpec type="atts" ident="att.mensur.anl" module="MEI.analytical" mode="delete"/>
<classSpec type="atts" ident="att.meterSig.anl" module="MEI.analytical" mode="delete"/>
<classSpec type="atts" ident="att.meterSigGrp.anl" module="MEI.analytical" mode="delete"/>
<classSpec type="atts" ident="att.midi.anl" module="MEI.analytical" mode="delete"/>
<classSpec type="atts" ident="att.mordent.anl" module="MEI.analytical" mode="delete"/>
<classSpec type="atts" ident="att.mRest.anl" module="MEI.analytical" mode="delete"/>
<classSpec type="atts" ident="att.mRpt.anl" module="MEI.analytical" mode="delete"/>
<classSpec type="atts" ident="att.mRpt2.anl" module="MEI.analytical" mode="delete"/>
<classSpec type="atts" ident="att.mSpace.anl" module="MEI.analytical" mode="delete"/>
<classSpec type="atts" ident="att.multiRest.anl" module="MEI.analytical" mode="delete"/>
<classSpec type="atts" ident="att.multiRpt.anl" module="MEI.analytical" mode="delete"/>
<classSpec type="atts" ident="att.nc.anl" module="MEI.analytical" mode="delete"/>
<classSpec type="atts" ident="att.ncGrp.anl" module="MEI.analytical" mode="delete"/>
<classSpec type="atts" ident="att.neume.anl" module="MEI.analytical" mode="delete"/>
<classSpec type="atts" ident="att.note.anl" module="MEI.analytical" mode="delete"/>
<classSpec type="atts" ident="att.octave.anl" module="MEI.analytical" mode="delete"/>
<classSpec type="atts" ident="att.ornam.anl" module="MEI.analytical" mode="delete"/>
<classSpec type="atts" ident="att.oriscus.anl" module="MEI.analytical" mode="delete"/>
<classSpec type="atts" ident="att.ossia.anl" module="MEI.analytical" mode="delete"/>
<classSpec type="atts" ident="att.pad.anl" module="MEI.analytical" mode="delete"/>
<classSpec type="atts" ident="att.part.anl" module="MEI.analytical" mode="delete"/>
<classSpec type="atts" ident="att.accid.anl" module="MEI.analytical" mode="delete"/>
<classSpec type="atts" ident="att.parts.anl" module="MEI.analytical" mode="delete"/>
<classSpec type="atts" ident="att.pb.anl" module="MEI.analytical" mode="delete"/>
<classSpec type="atts" ident="att.pedal.anl" module="MEI.analytical" mode="delete"/>
<classSpec type="atts" ident="att.phrase.anl" module="MEI.analytical" mode="delete"/>
<classSpec type="atts" ident="att.pitchClass.anl" module="MEI.analytical" mode="delete"/>
<classSpec type="atts" ident="att.proport.anl" module="MEI.analytical" mode="delete"/>
<classSpec type="atts" ident="att.quilisma.anl" module="MEI.analytical" mode="delete"/>
<classSpec type="atts" ident="att.rdg.anl" module="MEI.analytical" mode="delete"/>
<classSpec type="atts" ident="att.refrain.anl" module="MEI.analytical" mode="delete"/>
<classSpec type="atts" ident="att.reh.anl" module="MEI.analytical" mode="delete"/>
<classSpec type="atts" ident="att.rest.anl" module="MEI.analytical" mode="delete"/>
<classSpec type="atts" ident="att.sb.anl" module="MEI.analytical" mode="delete"/>
<classSpec type="atts" ident="att.score.anl" module="MEI.analytical" mode="delete"/>
<classSpec type="atts" ident="att.scoreDef.anl" module="MEI.analytical" mode="delete"/>
<classSpec type="atts" ident="att.section.anl" module="MEI.analytical" mode="delete"/>
<classSpec type="atts" ident="att.slur.anl" module="MEI.analytical" mode="delete"/>
<classSpec type="atts" ident="att.signiflet.anl" module="MEI.analytical" mode="delete"/>
<classSpec type="atts" ident="att.solfa" module="MEI.analytical" mode="delete"/>
<classSpec type="atts" ident="att.sp.anl" module="MEI.analytical" mode="delete"/>
<classSpec type="atts" ident="att.space.anl" module="MEI.analytical" mode="delete"/>
<classSpec type="atts" ident="att.staff.anl" module="MEI.analytical" mode="delete"/>
<classSpec type="atts" ident="att.staffDef.anl" module="MEI.analytical" mode="delete"/>
<classSpec type="atts" ident="att.staffGrp.anl" module="MEI.analytical" mode="delete"/>
<classSpec type="atts" ident="att.stageDir.anl" module="MEI.analytical" mode="delete"/>
<classSpec type="atts" ident="att.strophicus.anl" module="MEI.analytical" mode="delete"/>
<classSpec type="atts" ident="att.syl.anl" module="MEI.analytical" mode="delete"/>
<classSpec type="atts" ident="att.syllable.anl" module="MEI.analytical" mode="delete"/>
<classSpec type="atts" ident="att.symbol.anl" module="MEI.analytical" mode="delete"/>
<classSpec type="atts" ident="att.tempo.anl" module="MEI.analytical" mode="delete"/>
<classSpec type="atts" ident="att.tie.anl" module="MEI.analytical" mode="delete"/>
<classSpec type="atts" ident="att.trill.anl" module="MEI.analytical" mode="delete"/>
<classSpec type="atts" ident="att.tuplet.anl" module="MEI.analytical" mode="delete"/>
<classSpec type="atts" ident="att.tupletSpan.anl" module="MEI.analytical" mode="delete"/>
<classSpec type="atts" ident="att.turn.anl" module="MEI.analytical" mode="delete"/>
<classSpec type="atts" ident="att.verse.anl" module="MEI.analytical" mode="delete"/>
<classSpec type="atts" ident="att.volta.anl" module="MEI.analytical" mode="delete"/>
<classSpec type="atts" ident="att.beamedWith" module="MEI.cmn" mode="delete"/>
<classSpec type="atts" ident="att.beaming.log" module="MEI.cmn" mode="delete"/>
<classSpec type="atts" ident="att.beamPresent" module="MEI.cmn" mode="delete"/>
<classSpec type="atts" ident="att.beamRend" module="MEI.cmn" mode="delete"/>
<classSpec type="atts" ident="att.beamSecondary" module="MEI.cmn" mode="delete"/>
<classSpec type="atts" ident="att.beamSpan.log" module="MEI.cmn" mode="delete"/>
<classSpec type="atts" ident="att.measure.vis" module="MEI.cmn" mode="delete"/>
<classSpec type="atts" ident="att.slurRend" module="MEI.cmn" mode="delete"/>
<classSpec type="atts" ident="att.tieRend" module="MEI.cmn" mode="delete"/>
<classSpec type="atts" ident="att.articulation.gestural" module="MEI.gestural" mode="delete"/>
<classSpec type="atts" ident="att.dir.ges" module="MEI.gestural" mode="delete"/>
<classSpec type="atts" ident="att.dot.ges" module="MEI.gestural" mode="delete"/>
<classSpec type="atts" ident="att.duration.gestural" module="MEI.gestural" mode="delete"/>
<classSpec type="atts" ident="att.dynam.ges" module="MEI.gestural" mode="delete"/>
<classSpec type="atts" ident="att.ending.ges" module="MEI.gestural" mode="delete"/>
<classSpec type="atts" ident="att.halfmRpt.ges" module="MEI.gestural" mode="delete"/>
<classSpec type="atts" ident="att.harm.ges" module="MEI.gestural" mode="delete"/>
<classSpec type="atts" ident="att.scoreDef.ges" module="MEI.gestural" mode="delete"/>
<classSpec type="atts" ident="att.timestamp.gestural" module="MEI.gestural" mode="delete"/>
<classSpec type="atts" ident="att.timestamp2.gestural" module="MEI.gestural" mode="delete"/>
<classSpec type="atts" ident="att.authorized" module="MEI.shared" mode="delete"/>
<classSpec type="atts" ident="att.barring" module="MEI.shared" mode="delete"/>
<classSpec type="atts" ident="att.bibl" module="MEI.shared" mode="delete"/>
<classSpec type="atts" ident="att.classed" module="MEI.shared" mode="delete"/>
<classSpec type="atts" ident="att.color" module="MEI.shared" mode="delete"/>
<classSpec type="atts" ident="att.coloration" module="MEI.shared" mode="delete"/>
<classSpec type="atts" ident="att.curveRend" module="MEI.shared" mode="delete"/>
<classSpec type="atts" ident="att.distances" module="MEI.shared" mode="delete"/>
<classSpec type="atts" ident="att.duration.default" module="MEI.shared" mode="delete"/>
<classSpec type="atts" ident="att.enclosingChars" module="MEI.shared" mode="delete"/>
<classSpec type="atts" ident="att.endings" module="MEI.shared" mode="delete"/>
<classSpec type="atts" ident="att.evidence" module="MEI.shared" mode="delete"/>
<classSpec type="atts" ident="att.extender" module="MEI.shared" mode="delete"/>
<classSpec type="atts" ident="att.fermataPresent" module="MEI.shared" mode="delete"/>
<classSpec type="atts" ident="att.filing" module="MEI.shared" mode="delete"/>
<classSpec type="atts" ident="att.labelled" module="MEI.shared" mode="delete"/>
<classSpec type="atts" ident="att.layer.log" module="MEI.shared" mode="delete"/>
<classSpec type="atts" ident="att.linking" module="MEI.shared" mode="delete"/>
<classSpec type="atts" ident="att.lyricStyle" module="MEI.shared" mode="delete"/>
<classSpec type="atts" ident="att.metadataPointing" module="MEI.shared" mode="delete"/>
<classSpec type="atts" ident="att.notationStyle" module="MEI.shared" mode="delete"/>
<classSpec type="atts" ident="att.noteHeads" module="MEI.shared" mode="delete"/>
<classSpec type="atts" ident="att.octaveDefault" module="MEI.shared" mode="delete"/>
<classSpec type="atts" ident="att.pages" module="MEI.shared" mode="delete"/>
<classSpec type="atts" ident="att.partIdent" module="MEI.shared" mode="delete"/>
<classSpec type="atts" ident="att.pointing" module="MEI.shared" mode="delete"/>
<classSpec type="atts" ident="att.responsibility" module="MEI.shared" mode="delete"/>
<classSpec type="atts" ident="att.scoreDef.log" module="MEI.shared" mode="delete"/>
<classSpec type="atts" ident="att.source" module="MEI.shared" mode="delete"/>
<classSpec type="atts" ident="att.spacing" module="MEI.shared" mode="delete"/>
<classSpec type="atts" ident="att.staff.log" module="MEI.shared" mode="delete"/>
<classSpec type="atts" ident="att.staffItems" module="MEI.shared" mode="delete"/>
<classSpec type="atts" ident="att.staffLoc" module="MEI.shared" mode="delete"/>
<classSpec type="atts" ident="att.staffLoc.pitched" module="MEI.shared" mode="delete"/>
<classSpec type="atts" ident="att.systems" module="MEI.shared" mode="delete"/>
<classSpec type="atts" ident="att.targetEval" module="MEI.shared" mode="delete"/>
<classSpec type="atts" ident="att.textStyle" module="MEI.shared" mode="delete"/>
<classSpec type="atts" ident="att.tiePresent" module="MEI.shared" mode="delete"/>
<classSpec type="atts" ident="att.tupletPresent" module="MEI.shared" mode="delete"/>
<classSpec type="atts" ident="att.typed" module="MEI.shared" mode="delete"/>
<!--<classSpec type="atts" ident="att.typography" module="MEI.shared" mode="delete"/>-->
<classSpec type="atts" ident="att.verticalGroup" module="MEI.shared" mode="delete"/>
<classSpec type="atts" ident="att.visibility" module="MEI.shared" mode="delete"/>
<classSpec type="atts" ident="att.visualOffset" module="MEI.shared" mode="delete"/>
<classSpec type="atts" ident="att.visualOffset.ho" module="MEI.shared" mode="delete"/>
<classSpec type="atts" ident="att.visualOffset.to" module="MEI.shared" mode="delete"/>
<classSpec type="atts" ident="att.visualOffset.vo" module="MEI.shared" mode="delete"/>
<classSpec type="atts" ident="att.visualOffset2" module="MEI.shared" mode="delete"/>
<classSpec type="atts" ident="att.visualOffset2.ho" module="MEI.shared" mode="delete"/>
<classSpec type="atts" ident="att.visualOffset2.to" module="MEI.shared" mode="delete"/>
<classSpec type="atts" ident="att.visualOffset2.vo" module="MEI.shared" mode="delete"/>
<classSpec type="atts" ident="att.xy" module="MEI.shared" mode="delete"/>
<classSpec type="atts" ident="att.xy2" module="MEI.shared" mode="delete"/>
<classSpec type="atts" ident="att.accid.vis" module="MEI.visual" mode="delete"/>
<classSpec type="atts" ident="att.ambNote.vis" module="MEI.visual" mode="delete"/>
<classSpec type="atts" ident="att.beaming.vis" module="MEI.visual" mode="delete"/>
<classSpec type="atts" ident="att.barLine.vis" module="MEI.visual" mode="delete"/>
<classSpec type="atts" ident="att.chord.vis" module="MEI.visual" mode="delete"/>
<classSpec type="atts" ident="att.cleffing.vis" module="MEI.visual" mode="delete"/>
<classSpec type="atts" ident="att.fermata.vis" module="MEI.visual" mode="delete"/>
<classSpec type="atts" ident="att.fingGrp.vis" module="MEI.visual" mode="delete"/>
<classSpec type="atts" ident="att.fTrem.vis" module="MEI.visual" mode="delete"/>
<classSpec type="atts" ident="att.harm.vis" module="MEI.visual" mode="delete"/>
<classSpec type="atts" ident="att.keysigDefault.vis" module="MEI.visual" mode="delete"/>
<classSpec type="atts" ident="att.meterSigDefault.vis" module="MEI.visual" mode="delete"/>
<classSpec type="atts" ident="att.scoreDef.vis" module="MEI.visual" mode="delete"/>
<classSpec type="atts" ident="att.staffDef.vis" module="MEI.visual" mode="delete"/>
<!--<classSpec type="atts" ident="att.arpeg.vis" module="MEI.visual" mode="change">
<desc>Visual domain attributes.</desc>
<classes mode="replace">
<memberOf key="att.altSym" mode="add"></memberOf>
<memberOf key="att.color" mode="add"></memberOf>
<memberOf key="att.extSym" mode="add"></memberOf>
<memberOf key="att.typography" mode="add"></memberOf>
<memberOf key="att.visualOffset" mode="add"></memberOf>
<memberOf key="att.xy" mode="add"></memberOf>
</classes>
<attList org="group">
<attDef ident="arrow" mode="add" ns="http://www.tei-c.org/ns/1.0" predeclare="false" usage="opt">
<desc>Indicates if an arrowhead is to be drawn as part of the arpeggiation symbol.</desc>
<datatype maxOccurs="1" minOccurs="1">
<rng:ref name="data.BOOLEAN"></rng:ref>
</datatype>
</attDef>
<!-\-<attDef ident="arrow.shape" mode="add" ns="http://www.tei-c.org/ns/1.0" predeclare="false" usage="opt">
<desc>Symbol rendered at end of the line.</desc>
<datatype maxOccurs="1" minOccurs="1">
<rng:ref name="data.LINESTARTENDSYMBOL"></rng:ref>
</datatype>
</attDef>
<attDef ident="arrow.size" mode="add" ns="http://www.tei-c.org/ns/1.0" predeclare="false" usage="opt">
<desc>Holds the relative size of the arrow symbol.</desc>
<datatype maxOccurs="1" minOccurs="1">
<rng:ref name="data.FONTSIZESCALE"></rng:ref>
</datatype>
</attDef>
<attDef ident="arrow.color" mode="add" ns="http://www.tei-c.org/ns/1.0" predeclare="false" usage="opt">
<desc>Captures the overall color of the arrow.</desc>
<datatype maxOccurs="1" minOccurs="1">
<rng:ref name="data.COLOR"></rng:ref>
</datatype>
</attDef>
<attDef ident="arrow.fillcolor" mode="add" ns="http://www.tei-c.org/ns/1.0" predeclare="false" usage="opt">
<desc>Captures the fill color of the arrow if different from the line color.</desc>
<datatype maxOccurs="1" minOccurs="1">
<rng:ref name="data.COLOR"></rng:ref>
</datatype>
</attDef>
<attDef ident="line.form" mode="add" ns="http://www.tei-c.org/ns/1.0" predeclare="false" usage="opt">
<desc>Visual form of the line.</desc>
<datatype maxOccurs="1" minOccurs="1">
<rng:ref name="data.LINEFORM"></rng:ref>
</datatype>
</attDef>
<attDef ident="line.width" mode="add" ns="http://www.tei-c.org/ns/1.0" predeclare="false" usage="opt">
<desc>Width of the line.</desc>
<datatype maxOccurs="1" minOccurs="1">
<rng:ref name="data.LINEWIDTH"></rng:ref>
</datatype>
</attDef>-\->
</attList>
</classSpec>-->
<classSpec type="atts" ident="att.common" module="MEI.shared" mode="change">
<desc>Attributes common to many elements.</desc>
<classes mode="replace">
<memberOf key="att.basic" mode="add"/>
<!--<memberOf key="att.labelled" mode="add"/>-->
<!--<memberOf key="att.linking" mode="add"/>-->
<!--<memberOf key="att.nNumberLike" mode="add"/>-->
<!--<memberOf key="att.responsibility" mode="add"/>-->
<!--<memberOf key="att.typed" mode="add"/>-->
</classes>
</classSpec>
<classSpec type="atts" ident="att.curvature" module="MEI.shared" mode="change">
<desc>Attributes that describe curvature.</desc>
<attList org="group">
<!--<attDef ident="bezier" mode="add" ns="http://www.tei-c.org/ns/1.0" predeclare="false" usage="opt">
<desc>Records the placement of Bezier control points as a series of pairs of space-separated
values; e.g., 19 45 -32 118.</desc>
<datatype maxOccurs="1" minOccurs="1">
<rng:list>
<rng:oneOrMore>
<rng:data type="decimal"></rng:data>
<rng:data type="decimal"></rng:data>
</rng:oneOrMore>
</rng:list>
</datatype>
</attDef>-->
<!--<attDef ident="bulge" mode="add" ns="http://www.tei-c.org/ns/1.0" predeclare="false" usage="opt">
<desc>Describes a curve as one or more pairs of values with respect to an imaginary line
connecting the starting and ending points of the curve. The first value captures a
distance to the left (positive value) or right (negative value) of the line, expressed in
virtual units. The second value of each pair represents a point along the line, expressed
as a percentage of the line's length. N.B. An MEI virtual unit (VU) is half the distance
between adjacent staff lines.</desc>
<datatype maxOccurs="1" minOccurs="1">
<rng:list>
<rng:oneOrMore>
<rng:data type="decimal"></rng:data>
<rng:ref name="data.PERCENT"></rng:ref>
</rng:oneOrMore>
</rng:list>
</datatype>
</attDef>-->
<attDef ident="curvedir" mode="add" ns="http://www.tei-c.org/ns/1.0" predeclare="false"
usage="opt">
<desc>Describes a curve with a generic term indicating the direction of curvature.</desc>
<valList mode="add" type="closed">
<valItem ident="above" mode="add">
<desc>Upward curve.</desc>
</valItem>
<valItem ident="below" mode="add">
<desc>Downward curve.</desc>
</valItem>
<valItem ident="mixed" mode="add">
<desc>A "meandering" curve, both above and below the items it pertains to.</desc>
</valItem>
</valList>
</attDef>
</attList>
</classSpec>
<classSpec ident="att.event" module="MEI.shared" type="atts" mode="change">
<desc>Attributes that apply to all written events, e.g., note, chord, rest, etc.</desc>
<classes mode="replace">
<memberOf key="att.alignment" mode="add"/>
<memberOf key="att.layerIdent" mode="add"/>
<memberOf key="att.staffIdent" mode="add"/>
<!--<memberOf key="att.timestamp.gestural" mode="add"/>-->
<!--<memberOf key="att.timestamp.logical" mode="add"/>-->
</classes>
</classSpec>
<classSpec ident="att.stems" module="MEI.shared" type="atts" mode="replace">
<desc>Attributes that describe the properties of stemmed features; that is, chords and notes.</desc>
<classes mode="replace">
<!--<memberOf key="att.stems.cmn" mode="add"/>-->
</classes>
<attList org="group">
<attDef ident="stem.dir" mode="add" usage="opt">
<desc>Describes the direction of a stem.</desc>
<datatype maxOccurs="1" minOccurs="1">
<rng:ref name="data.STEMDIRECTION"/>
</datatype>
</attDef>
<attDef ident="stem.len" mode="add" usage="opt">
<desc>Encodes the stem length.</desc>
<datatype maxOccurs="1" minOccurs="1">
<rng:ref name="data.MEASUREMENTUNSIGNED"/>
</datatype>
</attDef>
<attDef ident="stem.mod" mode="add" usage="opt">
<desc>Encodes any stem "modifiers"; that is, symbols rendered on the stem, such as tremolo
or Sprechstimme indicators.</desc>
<datatype maxOccurs="1" minOccurs="1">
<rng:ref name="data.STEMMODIFIER"/>
</datatype>
</attDef>
<!--<attDef ident="stem.pos" mode="add" ns="http://www.tei-c.org/ns/1.0" predeclare="false" usage="opt">
<desc>Records the position of the stem in relation to the note head(s).</desc>
<datatype maxOccurs="1" minOccurs="1">
<rng:ref xmlns:rng="http://relaxng.org/ns/structure/1.0" name="data.STEMPOSITION"></rng:ref>
</datatype>
</attDef>-->
<!--<attDef ident="stem.visible" mode="add" ns="http://www.tei-c.org/ns/1.0" predeclare="false" usage="opt">
<desc>Determines whether a stem should be displayed.</desc>
<datatype maxOccurs="1" minOccurs="1">
<rng:ref xmlns:rng="http://relaxng.org/ns/structure/1.0" name="data.BOOLEAN"></rng:ref>
</datatype>
</attDef>-->
<!--<attDef ident="stem.x" mode="add" ns="http://www.tei-c.org/ns/1.0" predeclare="false" usage="opt">
<desc>Records the output x coordinate of the stem's attachment point.</desc>
<datatype maxOccurs="1" minOccurs="1">
<rng:data xmlns:rng="http://relaxng.org/ns/structure/1.0" type="decimal"></rng:data>
</datatype>
</attDef>-->
<!--<attDef ident="stem.y" mode="add" ns="http://www.tei-c.org/ns/1.0" predeclare="false" usage="opt">
<desc>Records the output y coordinate of the stem's attachment point.</desc>
<datatype maxOccurs="1" minOccurs="1">
<rng:data xmlns:rng="http://relaxng.org/ns/structure/1.0" type="decimal"></rng:data>
</datatype>
</attDef>-->
</attList>
</classSpec>
<classSpec ident="att.meterConformance.bar" module="MEI.shared" type="atts" mode="replace">
<desc>Attributes that provide information about a measure's conformance to the prevailing
meter.</desc>
<attList>
<attDef ident="metcon" usage="opt">
<desc>Indicates the relationship between the content of a measure and the prevailing
meter.</desc>
<datatype>
<rng:ref name="data.BOOLEAN"/>
</datatype>
</attDef>
<!--<attDef ident="control" usage="opt">
<desc>Indicates whether or not a bar line is "controlling"; that is, if it indicates a point
of alignment across all the parts. Bar lines within a score are usually controlling; that
is, they "line up". Bar lines within parts may or may not be controlling. When applied to
<gi scheme="MEI">measure</gi>, this attribute indicates the nature of the right barline
but not the left.</desc>
<datatype>
<rng:ref name="data.BOOLEAN"/>
</datatype>
</attDef>-->
</attList>
</classSpec>
<classSpec ident="att.basic" module="MEI.shared" type="atts" mode="replace">
<desc>Attributes that form the basis of the att.common class.</desc>
<classes>
<memberOf key="att.id"/>
</classes>
</classSpec>
<classSpec ident="att.note.ges" module="MEI.gestural" type="atts" mode="replace">
<desc>Gestural domain attributes.</desc>
<classes>
<!--<memberOf key="att.accidental.gestural"/>-->
<!--<memberOf key="att.articulation.gestural"/>-->
<!--<memberOf key="att.duration.gestural"/>-->
<memberOf key="att.instrumentIdent"/>
<memberOf key="att.midiVelocity"/>
<memberOf key="att.note.ges.mensural"/>
<memberOf key="att.stringtab"/>
</classes>
<attList>
<attDef ident="oct.ges" usage="opt">
<desc>Records performed octave information that differs from the written value.</desc>
<datatype>
<rng:ref name="data.OCTAVE"/>
</datatype>
</attDef>
<attDef ident="pname.ges" usage="opt">
<desc>Contains a performed pitch name that differs from the written value.</desc>
<datatype>
<rng:ref name="data.PITCHNAME.GES"/>
</datatype>
</attDef>
</attList>
</classSpec>
<classSpec ident="att.rest.vis" module="MEI.visual" type="atts" mode="change">
<desc>Visual domain attributes.</desc>
<classes mode="replace">
<memberOf key="att.altSym"/>
<memberOf key="att.color"/>
<memberOf key="att.enclosingChars"/>
<memberOf key="att.rest.vis.cmn"/>
<!--<memberOf key="att.rest.vis.mensural"/>-->
<memberOf key="att.staffLoc"/>
<memberOf key="att.staffLoc.pitched"/>
<memberOf key="att.typography"/>
<memberOf key="att.visualOffset"/>
<memberOf key="att.xy"/>
</classes>
</classSpec>
<classSpec ident="att.rest.ges" module="MEI.gestural" type="atts" mode="change">
<desc>Gestural domain attributes.</desc>
<classes mode="replace">
<!--<memberOf key="att.duration.gestural"/>-->
<memberOf key="att.instrumentIdent"/>
<!--<memberOf key="att.rest.ges.mensural"/>-->
</classes>
</classSpec>
<classSpec ident="att.chord.log" module="MEI.shared" type="atts" mode="change">
<desc>Logical domain attributes for chord. The artic, dots, and dur attributes encode the written
articulations, augmentation dots, and duration values. The beam, fermata, lv, slur, syl, tie,
and tuplet attributes may be used to indicate the attachment of these things to this chord. If
visual information about these things needs to be recorded, then either the elements
corresponding to these attributes or the attributes available in the att.vis.chord class should
be employed.</desc>
<classes mode="replace">
<!--<memberOf key="att.articulation"/>-->
<memberOf key="att.augmentDots"/>
<memberOf key="att.chord.log.cmn"/>
<memberOf key="att.cue"/>
<memberOf key="att.duration.logical"/>
<memberOf key="att.event"/>
<!--<memberOf key="att.sylText"/>-->
</classes>
</classSpec>
<classSpec ident="att.chord.vis" module="MEI.visual" type="atts" mode="replace">
<desc>Visual domain attributes for chord. The slur, slur.dir, slur.rend, tie, tie.dir, and tie.rend
attributes here are syntactic sugar for these attributes on each of the chord's individual
notes. The values here apply to all the notes in the chord. If some notes are slurred or tied
while others aren't, then the individual note attributes must be used.</desc>
<classes>
<memberOf key="att.altSym"/>
<memberOf key="att.color"/>
<memberOf key="att.enclosingChars"/>
<memberOf key="att.extSym"/>
<memberOf key="att.stems"/>
<memberOf key="att.typography"/>
<memberOf key="att.visibility"/>
<memberOf key="att.visualOffset.ho"/>
<memberOf key="att.visualOffset.to"/>
<memberOf key="att.xy"/>
<memberOf key="att.chord.vis.cmn"/>
</classes>
</classSpec>
<classSpec ident="att.curvature" module="MEI.shared" type="atts" mode="replace">
<desc>Attributes that describe curvature.</desc>
<attList>
<attDef ident="curvedir" usage="opt">
<desc>Describes a curve with a generic term indicating the direction of curvature.</desc>
<valList type="closed">
<valItem ident="above">
<desc>Upward curve.</desc>
</valItem>
<valItem ident="below">
<desc>Downward curve.</desc>
</valItem>
<valItem ident="mixed">
<desc>A "meandering" curve, both above and below the items it pertains to.</desc>
</valItem>
</valList>
</attDef>
</attList>
</classSpec>
<classSpec ident="att.lang" module="MEI.shared" type="atts" mode="replace">
<desc>Language attributes common to text elements.</desc>
<attList org="group">
<attDef ident="xml:lang" mode="add" ns="http://www.tei-c.org/ns/1.0" predeclare="false"
usage="opt">
<desc>Identifies the language of the element's content. The values for this attribute are
language 'tags' as defined in BCP 47. All language tags that make use of private use
sub-tags must be documented in a corresponding language element in the MEI header whose
id attribute is the same as the language tag's value.</desc>
<datatype maxOccurs="1" minOccurs="1">
<rng:data type="language"/>
</datatype>
</attDef>
<!--<attDef ident="translit" mode="add" ns="http://www.tei-c.org/ns/1.0" predeclare="false" usage="opt">
<desc>Specifies the transliteration technique used.</desc>
<datatype maxOccurs="1" minOccurs="1">
<rng:data type="NMTOKEN"></rng:data>
</datatype>
<remarks>
<p part="N">There is no standard list of transliteration schemes.</p>
</remarks>
</attDef>-->
</attList>
<remarks>
<p part="N">BCP 47 is described at <ref target="https://tools.ietf.org/html/bcp47"
>https://tools.ietf.org/html/bcp47</ref>. The IANA Subtag Registry, from which BCP 47
language tags are constructed, may be found at <ref
target="www.iana.org/assignments/language-subtag-registry"
>www.iana.org/assignments/language-subtag-registry</ref>. A tool for locating subtags
and validating language tags is available at <ref
target="https://r12a.github.io/apps/subtags"
>https://r12a.github.io/apps/subtags</ref>.</p>
</remarks>
</classSpec>
<!-- re-allow @place on fermata -->
<elementSpec ident="fermata" module="MEI.cmn" mode="change">
<desc>An indication placed over a note or rest to indicate that it should be held longer than its
written value. May also occur over a bar line to indicate the end of a phrase or section.
Sometimes called a 'hold' or 'pause'.</desc>
<classes mode="replace">
<memberOf key="att.common"/>
<memberOf key="att.facsimile"/>
<memberOf key="att.fermata.log"/>
<memberOf key="att.fermata.vis"/>
<memberOf key="att.fermata.ges"/>
<memberOf key="att.fermata.anl"/>
<memberOf key="model.controlEventLike.cmn"/>
<memberOf key="att.placement" mode="add"/>
</classes>
<content autoPrefix="true">
<rng:empty/>
</content>
<constraintSpec ident="fermata_start-type_attributes_required" scheme="isoschematron">
<constraint>
<sch:rule context="mei:fermata">
<sch:assert test="@startid or @tstamp or @tstamp.ges or @tstamp.real">Must have one of
the attributes: startid, tstamp, tstamp.ges or tstamp.real.</sch:assert>
</sch:rule>
</constraint>
</constraintSpec>
<remarks>
<p part="N">The <att scheme="TEI">shape</att> attribute may be used to record whether the
fermata is curved, square, or triangular, while <att scheme="TEI">form</att> may be used to
capture whether the fermata is "upright", i.e., has the curve or bracket above the dot, or
inverted, i.e., has the curve or bracket below the dot. Other visual forms of a fermata may
be indicated via the <att scheme="TEI">altsym</att> attribute. The starting point of the
fermata may be indicated by either a <att scheme="TEI">startid</att>, <att scheme="TEI"
>tstamp</att>, <att scheme="TEI">tstamp.ges</att>, or <att scheme="TEI"
>tstamp.real</att> attribute. It is a semantic error not to specify a starting point
attribute.</p>
</remarks>
</elementSpec>
<!-- re-allow @stem.dir etc. on chords -->
<elementSpec ident="chord" module="MEI.shared" mode="change">
<desc>A simultaneous sounding of two or more notes in the same layer *with the same
duration*.</desc>
<classes mode="replace">
<memberOf key="att.common"/>
<memberOf key="att.facsimile"/>
<memberOf key="att.chord.log"/>
<memberOf key="att.chord.vis"/>
<memberOf key="att.chord.ges"/>
<memberOf key="att.chord.anl"/>
<memberOf key="att.stems" mode="add"/>
<memberOf key="model.eventLike"/>
</classes>
<content>
<rng:zeroOrMore>
<rng:choice>
<rng:ref name="model.chordPart"/>
<rng:ref name="model.appLike"/>
<rng:ref name="model.editLike"/>
<rng:ref name="model.sylLike"/>
<rng:ref name="model.transcriptionLike"/>
<rng:ref name="model.verseLike"/>
</rng:choice>
</rng:zeroOrMore>
</content>
</elementSpec>
<!-- re-allow @n on selected elements -->
<elementSpec ident="measure" module="MEI.cmn" mode="change">
<desc>Unit of musical time consisting of a fixed number of note values of a given type, as
determined by the prevailing meter, and delimited in musical notation by bar lines.</desc>
<classes mode="replace">
<memberOf key="att.common"/>
<memberOf key="att.facsimile"/>
<memberOf key="att.metadataPointing"/>
<memberOf key="att.pointing"/>
<memberOf key="att.measure.anl"/>
<memberOf key="att.measure.ges"/>
<memberOf key="att.measure.log"/>
<memberOf key="att.measure.vis"/>
<memberOf key="att.targetEval"/>
<memberOf key="model.measureLike"/>
<memberOf key="att.nNumberLike" mode="add"/>
</classes>
<content>
<rng:optional>
<rng:ref name="mNum"/>
</rng:optional>
<rng:zeroOrMore>
<rng:choice>
<rng:ref name="model.annotLike"/>
<rng:ref name="model.appLike"/>
<rng:ref name="model.editLike"/>
<rng:ref name="model.graphicPrimitiveLike"/>
<rng:ref name="model.measurePart"/>
<rng:ref name="model.milestoneLike.music"/>
<rng:ref name="model.relationLike"/>
<!--<rng:ref name="model.staffDefLike"/>-->
<rng:ref name="model.transcriptionLike"/>
</rng:choice>
</rng:zeroOrMore>
</content>
<remarks>
<p>In MEI, the <gi scheme="MEI">measure</gi> element is a grouping mechanism for events and
control events. Pointing attributes make it possible to connect this element to other
internal or external entities, such as media objects or annotations. The <att>width</att>
attribute may be used to capture the width of the measure for interchange with music
printing systems that utilize this information for printing.</p>
</remarks>
</elementSpec>
<classSpec ident="att.meiVersion" module="MEI.shared" type="atts" mode="replace">
<desc>Attributes that record the version of MEI in use.</desc>
<attList>
<attDef ident="meiversion" usage="req">
<desc>Specifies a generic MEI version label.</desc>
<valList type="closed">
<valItem ident="5.0.0-dev+basic">
<desc>This version of MEI.</desc>
</valItem>
</valList>
</attDef>
</attList>
</classSpec>
<!-- allow @meiversion on mei element only -->
<elementSpec ident="meiHead" module="MEI.header" mode="change">
<desc>(MEI header) – Supplies the descriptive and declarative metadata prefixed to every
MEI-conformant text.</desc>
<classes mode="replace">
<memberOf key="att.basic"/>
<memberOf key="att.bibl"/>
<memberOf key="att.labelled"/>
<memberOf key="att.lang"/>
<!--<memberOf key="att.meiVersion"/>-->
<memberOf key="att.responsibility"/>
<memberOf key="model.startLike.header"/>
</classes>
<content>
<rng:ref name="fileDesc"/>
</content>
<remarks>
<p part="N">For MEI Basic, an MEI header may contain a fileDesc element only.</p>
</remarks>
</elementSpec>
<elementSpec ident="music" module="MEI.shared" mode="change">
<desc>Contains a single musical text of any kind, whether unitary or composite, for example, an etude, opera, song cycle, symphony, or anthology of piano solos.</desc>
<classes mode="replace">
<memberOf key="att.common"/>
<!--<memberOf key="att.meiVersion"/>-->
<memberOf key="att.metadataPointing"/>
</classes>
<content>
<rng:zeroOrMore>
<rng:ref name="model.resourceLike" />
</rng:zeroOrMore>
<rng:ref name="macro.musicPart" />
</content>
<constraintSpec ident="check_controlEventLinking" scheme="schematron">
<constraint>
<sch:rule context="mei:*[@tstamp]">
<sch:assert test="not(@startid)">An element with @tstamp may not have @startid as well (and vice versa).</sch:assert>
</sch:rule>
<sch:rule context="mei:*[@tstamp2]">
<sch:assert test="not(@endid)">An element with @tstamp2 may not have @endid as well (and vice versa).</sch:assert>
</sch:rule>
</constraint>
</constraintSpec>
</elementSpec>
<!-- re-introduce @corresp on fileDesc to allow pointing to more complete MEI files -->
<elementSpec ident="fileDesc" module="MEI.header" mode="change">
<desc>(file description) – Contains a full bibliographic description of the MEI file.</desc>
<classes>
<memberOf key="att.common"/>
<memberOf key="att.bibl"/>
</classes>
<content>
<rng:ref name="titleStmt"/>
<rng:ref name="pubStmt" />
</content>
<attList org="group">
<attDef ident="corresp" usage="opt" mode="add">
<desc>Used to point to other elements that correspond to this one in a generic fashion.</desc>
<datatype maxOccurs="unbounded" minOccurs="1">
<rng:ref name="data.URI" />
</datatype>
<constraintSpec ident="check_correspTarget" scheme="schematron">
<constraint>
<sch:rule context="@corresp">
<sch:assert role="warning" test="not(normalize-space(.) eq '')">@corresp attribute should have content.</sch:assert>
</sch:rule>
</constraint>
</constraintSpec>
</attDef>
</attList>
<remarks>
<p part="N">The @corresp attribute on fileDesc may point to a more complete version of this content in a less restricted version of MEI.</p>
</remarks>
<remarks>
<p part="N">This element is modelled on elements in the Text Encoding Initiative (TEI) and Encoded Archival Description (EAD) standards.</p>
</remarks>
</elementSpec>
<!-- dis-allow date element everywhere (will be allowed specifically only inside pubStmt) -->
<elementSpec ident="date" module="MEI.shared" mode="change">
<desc>A string identifying a point in time or the time period between two such points.</desc>
<classes mode="replace">
<memberOf key="att.common"/>
<memberOf key="att.bibl"/>
<memberOf key="att.calendared"/>
<memberOf key="att.datable"/>
<memberOf key="att.edit"/>
<memberOf key="att.facsimile"/>
<memberOf key="att.lang"/>
<!--<memberOf key="model.dateLike"/>-->
</classes>
<content>
<rng:zeroOrMore>
<rng:choice>
<rng:text/>
<rng:ref name="model.textPhraseLike" />
</rng:choice>
</rng:zeroOrMore>
</content>
<remarks>
<p part="N">This element is modelled on elements in the Text Encoding Initiative (TEI) and Encoded Archival Description (EAD) standards.</p>
</remarks>
</elementSpec>
<!-- restrict content on pubStmt -->
<elementSpec ident="pubStmt" module="MEI.header" mode="change">
<desc>(publication statement) – Container for information regarding the publication or distribution of a bibliographic item, including the publisher's name and address, the date of publication, and other relevant details.</desc>
<classes>
<memberOf key="att.common"/>
<memberOf key="att.bibl"/>
</classes>
<content>
<rng:optional>
<rng:ref name="publisher"/>
</rng:optional>
<rng:optional>
<rng:ref name="pubPlace"/>
</rng:optional>
<rng:optional>
<rng:ref name="date"/>
</rng:optional>
<rng:optional>
<rng:ref name="availability"/>
</rng:optional>
</content>
<remarks>
<p part="N">This element is modelled on an element in the Text Encoding Initiative (TEI) standard.
In MEI Basic, it may contain only publisher, publishing place, date and availability information, in that order.</p>
</remarks>
</elementSpec>
<!-- re-allow @n on mdiv -->
<elementSpec ident="mdiv" module="MEI.shared" mode="change">
<desc>(musical division) – Contains a subdivision of the body of a musical text.</desc>
<classes mode="replace">
<memberOf key="att.common"/>
<!--<memberOf key="att.facsimile"/>-->
<!--<memberOf key="att.metadataPointing"/>-->
<!--<memberOf key="att.mdiv.anl"/>-->
<memberOf key="att.mdiv.ges"/>
<!--<memberOf key="att.mdiv.log"/>-->
<!--<memberOf key="att.mdiv.vis"/>-->
<memberOf key="model.mdivLike"/>
</classes>
<content>
<rng:choice>
<rng:ref name="model.scoreLike" />
<rng:zeroOrMore>
<rng:ref name="model.mdivLike" />
</rng:zeroOrMore>
</rng:choice>
</content>
<attList org="group">
<attDef ident="n" usage="opt">
<desc>Provides a number-like designation that indicates an element's position in a sequence of similar elements. May not contain space characters.</desc>
<datatype maxOccurs="1" minOccurs="1">
<rng:ref name="data.WORD" />
</datatype>
</attDef>
<attDef ident="label" usage="opt">
<desc>Captures text to be used to generate a label for the element to which it's attached, a "tool tip" or prefatory text, for example. Should not be used to record document content.</desc>
<datatype maxOccurs="1" minOccurs="1">
<rng:data type="string"/>
</datatype>
<remarks>
<p part="N">
<att scheme="TEI">label</att> is used to provide a display label for an element's contents,
for example in the form of a "tool tip" or as the "name" when the element's contents are
treated as the "value" in a "name-value pair". Unlike <att scheme="TEI">n</att>,
<att scheme="TEI">label</att> may contain space characters.</p>
<p part="N">Don't confuse this attribute with the <gi scheme="MEI">label</gi>
element, which records document content.</p>
</remarks>
</attDef>
</attList>
<remarks>
<p part="N">The <gi scheme="MEI">mdiv</gi> element may be recursively nested in
order to represent music which exhibits this kind of structure. For example,
an opera is normally divided into acts, which are in turn divided into scenes.</p>
</remarks>
</elementSpec>
<!-- re-allow @key.sig and @meter.*, remove some childs -->
<elementSpec ident="scoreDef" module="MEI.shared" mode="change">
<desc>(score definition) – Container for score meta-information.</desc>
<classes mode="replace">
<memberOf key="att.common"/>
<!--<memberOf key="att.scoreDef.log"/>-->
<!--<memberOf key="att.scoreDef.vis"/>-->
<!--<memberOf key="att.scoreDef.ges"/>-->
<memberOf key="att.scoreDef.anl"/>
<memberOf key="model.scoreDefLike"/>
<memberOf key="att.keySigDefault.log" mode="add"/>
<memberOf key="att.meterSigDefault.log" mode="add"/>
</classes>
<content>
<!--<rng:optional>
<rng:ref name="model.chordTableLike"/>
</rng:optional>-->
<rng:optional>
<rng:ref name="model.symbolTableLike"/>
</rng:optional>
<rng:optional>
<rng:ref name="model.keySigLike"/>
</rng:optional>
<rng:optional>
<rng:ref name="model.meterSigLike"/>
</rng:optional>
<!--<rng:optional>
<rng:ref name="pgHead"/>
</rng:optional>-->
<!--<rng:optional>
<rng:ref name="pgHead2"/>
</rng:optional>-->
<!--<rng:optional>
<rng:ref name="pgFoot"/>
</rng:optional>-->
<!--<rng:optional>
<rng:ref name="pgFoot2"/>
</rng:optional>-->
<rng:optional>
<rng:ref name="instrGrp"/>
</rng:optional>
<rng:choice>
<rng:optional>
<rng:ref name="model.staffGrpLike"/>
</rng:optional>
</rng:choice>
<!--<rng:zeroOrMore>
<rng:ref name="grpSym"/>
</rng:zeroOrMore>-->
<!--<rng:optional>
<rng:ref name="ambitus"/>
</rng:optional>-->
</content>
</elementSpec>