forked from music-encoding/music-encoding
-
Notifications
You must be signed in to change notification settings - Fork 0
/
mei-Mensural.xml
176 lines (166 loc) · 7.37 KB
/
mei-Mensural.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
<?xml version="1.0" encoding="UTF-8"?>
<!--
© 2018 by the Music Encoding Initiative (MEI).
Licensed under the Educational Community License, Version 2.0 (the "License"); you may
not use this file except in compliance with the License. You may obtain a copy of the License
at http://opensource.org/licenses/ECL-2.0.
Unless required by applicable law or agreed to in writing, software distributed under the
License is distributed on an "AS IS" BASIS, WITHOUT WARRANTIES OR CONDITIONS
OF ANY KIND, either express or implied. See the License for the specific language
governing permissions and limitations under the License.
This is a derivative work based on earlier versions of the schema © 2001-2006 Perry Roland
and the Rector and Visitors of the University of Virginia; licensed under the Educational
Community License version 1.0.
CONTACT: [email protected]
-->
<?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">Mensural
Customization</title></title>
<respStmt>
<resp>Authored by</resp>
<name xml:id="PR">Perry Roland</name>
</respStmt>
</titleStmt>
<publicationStmt>
<p/>
</publicationStmt>
<sourceDesc>
<p/>
</sourceDesc>
</fileDesc>
</teiHeader>
<text>
<front>
<divGen type="toc"/>
</front>
<body>
<!-- Limit the set of possible start elements -->
<schemaSpec ident="mei" ns="http://www.music-encoding.org/ns/mei" prefix="mei_"
start="mei meiHead meiCorpus music">
<!-- 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>
<!-- Include all modules -->
<!-- Deactivate the CMN, cmnOrnaments, and neumes modules -->
<moduleRef key="MEI"/>
<moduleRef key="MEI.analytical"/>
<!--<moduleRef key="MEI.cmn"/>-->
<!--<moduleRef key="MEI.cmnOrnaments"/>-->
<moduleRef key="MEI.corpus"/>
<moduleRef key="MEI.critapp"/>
<moduleRef key="MEI.drama"/>
<moduleRef key="MEI.edittrans"/>
<moduleRef key="MEI.externalsymbols"/>
<moduleRef key="MEI.facsimile"/>
<moduleRef key="MEI.figtable"/>
<moduleRef key="MEI.fingering"/>
<moduleRef key="MEI.frbr"/>
<moduleRef key="MEI.genetic"/>
<moduleRef key="MEI.gestural"/>
<moduleRef key="MEI.harmony"/>
<moduleRef key="MEI.header"/>
<moduleRef key="MEI.lyrics"/>
<moduleRef key="MEI.mensural"/>
<moduleRef key="MEI.midi"/>
<moduleRef key="MEI.msDesc"/>
<moduleRef key="MEI.namesdates"/>
<!--<moduleRef key="MEI.neumes"/>-->
<moduleRef key="MEI.performance"/>
<moduleRef key="MEI.ptrref"/>
<moduleRef key="MEI.shared"/>
<moduleRef key="MEI.stringtab"/>
<moduleRef key="MEI.text"/>
<moduleRef key="MEI.usersymbols"/>
<moduleRef key="MEI.visual"/>
<!-- Include SVG -->
<moduleRef url="../source/svg11.rng"
prefix="svg_">
<content>
<rng:define name="mei_model.graphicLike" combine="choice">
<rng:ref name="svg_svg"/>
</rng:define>
</content>
</moduleRef>
<!-- Disable CMN-specific model classes in the shared module -->
<classSpec ident="model.sectionPart.cmn" module="MEI.shared" type="model" mode="delete"/>
<classSpec ident="model.layerPart.cmn" module="MEI.shared" type="model" mode="delete"/>
<!-- Change the availability of dots -->
<!-- Remove them as children of <note> -->
<elementSpec ident="dot" module="MEI.shared" mode="change">
<desc>Dot of augmentation or division.</desc>
<classes>
<memberOf key="att.common"/>
<memberOf key="att.facsimile"/>
<memberOf key="att.dot.log"/>
<memberOf key="att.dot.vis"/>
<memberOf key="att.dot.ges"/>
<memberOf key="att.dot.anl"/>
<memberOf key="model.noteModifierLike" mode="delete"/>
<memberOf key="model.eventLike.mensural"/>
</classes>
<content>
<rng:empty/>
</content>
<remarks>
<p>This element provides an alternative to the <att>dots</att> attribute on <gi scheme="MEI"
>note</gi> and <gi scheme="MEI">rest</gi> elements. It should be used when specific display
info, such as size or color, needs to be recorded for the dot. This element may also be used
for dots of division in the mensural repertoire.</p>
</remarks>
</elementSpec>
<!-- Remove them as children of <rest> -->
<elementSpec ident="rest" module="MEI.shared" mode="replace">
<desc>A non-sounding event found in the source being transcribed.</desc>
<classes>
<memberOf key="att.common"/>
<memberOf key="att.facsimile"/>
<memberOf key="att.rest.log"/>
<memberOf key="att.rest.vis"/>
<memberOf key="att.rest.ges"/>
<memberOf key="att.rest.anl"/>
<memberOf key="model.eventLike"/>
</classes>
<content>
<rng:zeroOrMore>
<rng:choice>
<!--<rng:ref name="dot"/>-->
<rng:ref name="model.appLike"/>
<rng:ref name="model.editLike"/>
<rng:ref name="model.transcriptionLike"/>
</rng:choice>
</rng:zeroOrMore>
</content>
<constraintSpec ident="Check_restline" scheme="isoschematron">
<constraint>
<sch:rule context="mei:rest[@line]">
<sch:let name="thisstaff" value="ancestor::mei:staff/@n"/>
<sch:assert
test="number(@line) <= number(preceding::mei:staffDef[@n=$thisstaff and @lines][1]/@lines)"
>The value of @line must be less than or equal to the number of lines on the
staff.</sch:assert>
</sch:rule>
</constraint>
</constraintSpec>
<remarks>
<p>See (Read, p. 96-102). Do not confuse this element with the <gi scheme="MEI">space</gi>
element, which is used as an aid for visual alignment.</p>
</remarks>
</elementSpec>
<!-- Remove them as attributes of <note> and <rest> -->
<classSpec ident="att.augmentDots" module="MEI.shared" type="atts" mode="delete"/>
</schemaSpec>
</body>
</text>
</TEI>