forked from music-encoding/music-encoding
-
Notifications
You must be signed in to change notification settings - Fork 0
/
mei-all_anyStart.xml
211 lines (199 loc) · 10.4 KB
/
mei-all_anyStart.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
<?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:rng="http://relaxng.org/ns/structure/1.0"
xmlns:sch="http://purl.oclc.org/dsdl/schematron"
xmlns:a="http://relaxng.org/ns/compatibility/annotations/1.0" xmlns="http://www.tei-c.org/ns/1.0"
xmlns:math="http://exslt.org/math">
<teiHeader>
<fileDesc>
<titleStmt>
<title>Music Encoding Initiative Guidelines: <title type="sub">All AnyStart
Customization</title></title>
<respStmt>
<resp>Authored by</resp>
<name xml:id="PR">Perry Roland</name>
<name xml:id="bwb">Benjamin W. Bohl</name>
</respStmt>
</titleStmt>
<publicationStmt>
<p/>
</publicationStmt>
<sourceDesc>
<p/>
</sourceDesc>
</fileDesc>
<revisionDesc>
<change n="2" when="2021-11-05" who="#bwb">
<desc>
<list>
<item>adding `@meiversion` (actually `att.meiVersion`) to `att.basic` and thus allowing it on any element, and consequently to prevent duplicate attributes, removing it from the elements that could have `@meiversion` before.</item>
<item>adding a schematron rule to assert `@meiversion` is present on the root element</item>
</list>
</desc>
</change>
<change n="1" when="2015-12-04" who="#PR">
<desc>Creation of the initial ODD.</desc>
</change>
</revisionDesc>
</teiHeader>
<text>
<front>
<divGen type="toc"/>
</front>
<body>
<!-- This file is a superset of the other customizations. It permits the validation of MEI fragments,
whereas mei-all and the other customizations presume a smaller set of possible start elements: mei,
meiHead, meiCorpus, and music. -->
<schemaSpec ident="mei" ns="http://www.music-encoding.org/ns/mei" prefix="mei_" start="abbr
accessRestrict accid accMat acquisition actor add addDesc addName address addrLine altId
ambitus ambNote anchoredText annot app appInfo application argument arpeg arranger artic
attacca attUsage audience author availability avFile back barLine barre beam beamSpan beatRpt
bend bibl biblList biblScope bifolium binding bindingDesc bloc body bracketSpan breath bTrem
byline caesura caption captureMode carrierForm castGrp castItem castList catchwords category
catRel cb cc chan change changeDesc chanPr choice chord chordDef chordMember chordTable
classDecls classification clef clefGrp clip collation colLayout colophon componentList composer
condition contentItem contents context contributor corpName corr correction country cpMark
creation cue curve custos cutout damage date decoDesc decoNote dedicatee dedication del depth
desc dim dimensions dir distributor district div domainsDecl dot dynam edition editionStmt
editor editorialDecl encodingDesc ending epigraph episema event eventList exhibHist expan
expansion explicit expression expressionList extent extMeta f facsimile famName fb fermata fig
figDesc fileChar fileDesc fing fingerprint fingGrp foliaDesc foliation folium foreName front
fTrem funder gap genDesc genName genre geogFeat geogName gliss graceGrp graphic group grpSym
hairpin halfmRpt hand handList handShift harm harpPedal head height heraldry hex hispanTick
history identifier imprimatur imprint incip incipCode incipit incipText inscription instrDef
instrGrp interpretation item itemList key keyAccid keySig l label labelAbbr language langUsage
layer layerDef layout layoutDesc lb lem lg li librettist ligature line liquescent list locus
locusGrp lv lyricist mapping marker material mdiv measure mei meiCorpus meiHead mensur
mensuration metaMark metaText meter meterSig meterSigGrp midi mNum mordent mRest mRpt mRpt2
mSpace multiRest multiRpt music name nameLink namespace nc ncGrp neume normalization note
noteOff noteOn notesStmt num octave oLayer orig ornam oriscus ossia oStaff otherChar p pad part
parts patch pb pedal perfDuration perfMedium performance perfRes perfResList periodName
persName pgDesc pgFoot pgFoot2 pgHead pgHead2 phrase physDesc physLoc physMedium plateNum
playingSpeed port postBox postCode price prog projectDesc propName proport propValue provenance
ptr publisher pubPlace pubStmt q quilisma quote rdg recipient recording ref refrain reg region
reh relatedItem relation relationList rend repository resp respStmt rest restore revisionDesc
role roleDesc roleName rubric samplingDecl sb score scoreDef scoreFormat scriptDesc scriptNote
seal sealDesc secFolio section seg segmentation seqNum series seriesStmt settlement sic
signatures signifLet slur soundChan source sourceDesc sp space speaker strophicus specRepro
sponsor stack staff staffDef staffGrp stageDir stamp state stdVals street styleName subst
supplied support supportDesc surface syl syllable symbol symbolDef symbolTable symName symProp
sysReq table tagsDecl tagUsage taxonomy td tempo term termList textLang th tie title titlePage
titlePart titleStmt tr trackConfig treatHist treatSched trill trkName tuplet tupletSpan turn
typeDesc typeNote unclear unpub useRestrict vel verse volta watermark when width work workList
zone">
<!-- Declare MEI and XLink namespaces for use in Schematron -->
<constraintSpec ident="set_ns" scheme="schematron" 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 -->
<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">
<desc>Specifies a generic MEI version label.</desc>
<valList type="closed">
<valItem ident="5.0.0-dev">
<desc>Development version of MEI 5.0.0</desc>
</valItem>
</valList>
</attDef>
</attList>
</classSpec>
<classSpec ident="att.basic" module="MEI.shared" type="atts" mode="change">
<classes>
<memberOf key="att.id"/>
<memberOf key="att.meiVersion"/>
</classes>
</classSpec>
<constraintSpec ident="meiVersion.root" scheme="schematron">
<desc>Require meiversion attribute on the root element.</desc>
<constraint>
<sch:rule context="root()">
<sch:assert test="/mei:*[@meiversion]">The root element must have the @meiversion attribute in order to indicate the MEI version of the snippet.</sch:assert>
</sch:rule>
</constraint>
</constraintSpec>
<elementSpec ident="meiCorpus" module="MEI.corpus" mode="change">
<classes>
<memberOf key="att.common"/>
<memberOf key="model.startLike.corpus"/>
</classes>
</elementSpec>
<elementSpec ident="meiHead" module="MEI.header" mode="change">
<classes>
<memberOf key="att.basic"/>
<memberOf key="att.bibl"/>
<memberOf key="att.labelled"/>
<memberOf key="att.lang"/>
<memberOf key="att.responsibility"/>
<memberOf key="model.startLike.header"/>
</classes>
</elementSpec>
<elementSpec ident="music" module="MEI.shared" mode="change">
<classes>
<memberOf key="att.common"/>
<memberOf key="att.metadataPointing"/>
</classes>
</elementSpec>
</schemaSpec>
</body>
</text>
</TEI>