forked from music-encoding/music-encoding
-
Notifications
You must be signed in to change notification settings - Fork 0
/
mei-Mensural.xml
188 lines (177 loc) · 7.97 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
177
178
179
180
181
182
183
184
185
186
187
188
<?xml version="1.0" encoding="UTF-8"?>
<!--
NOTICE: Copyright (c) by the Music Encoding Initiative (MEI) Board (formerly known as "MEI Council").
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 https://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="../source/validation/mei_odds.rng" type="application/xml" schematypens="http://purl.oclc.org/dsdl/schematron"?>
<?xml-model href="../source/validation/mei_odds.rng" type="application/xml" schematypens="http://relaxng.org/ns/structure/1.0"?>
<?xml-model href="../source/validation/mei-customizations.sch" type="application/xml" schematypens="http://purl.oclc.org/dsdl/schematron"?>
<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>
<publisher>Music Encoding Initiative (MEI) Board</publisher>
<availability>
<licence target="https://opensource.org/license/ECL-2.0/">Licensed under the Educational Community License version 2.0</licence>
</availability>
</publicationStmt>
<sourceDesc>
<p/>
</sourceDesc>
</fileDesc>
</teiHeader>
<text>
<front>
<divGen type="toc"/>
</front>
<body>
<!-- Limit the set of possible start elements -->
<schemaSpec ident="mei-Mensural" 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="schematron" mode="add">
<constraint>
<sch:ns prefix="mei" uri="http://www.music-encoding.org/ns/mei"/>
<sch:ns 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>
<classSpec ident="att.meiVersion" module="MEI.shared" type="atts" mode="change">
<attList>
<attDef ident="meiversion" usage="rec" mode="change">
<valList type="closed" mode="change">
<valItem ident="5.1-dev"/>
<valItem ident="5.1-dev+Mensural"/>
<valItem ident="5.1-dev+anyStart" mode="delete"/>
<valItem ident="5.1-dev+basic" mode="delete"/>
<valItem ident="5.1-dev+CMN" mode="delete"/>
<valItem ident="5.1-dev+Neumes" mode="delete"/>
</valList>
</attDef>
</attList>
</classSpec>
<!-- 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.anl"/>
<memberOf key="att.dot.ges"/>
<memberOf key="att.dot.log"/>
<memberOf key="att.dot.vis"/>
<memberOf key="model.noteModifierLike" mode="delete"/>
<memberOf key="model.eventLike.mensural"/>
</classes>
<content>
<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.anl"/>
<memberOf key="att.rest.ges"/>
<memberOf key="att.rest.log"/>
<memberOf key="att.rest.vis"/>
<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="schematron">
<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>