-
Notifications
You must be signed in to change notification settings - Fork 2
/
tei-lite_mei-cmn.xml
315 lines (291 loc) · 20.1 KB
/
tei-lite_mei-cmn.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
<?xml version="1.0"?>
<?oxygen RNGSchema="tei_odds.rng" type="xml"?>
<TEI xmlns="http://www.tei-c.org/ns/1.0" xmlns:rng="http://relaxng.org/ns/structure/1.0"
xml:lang="en">
<teiHeader>
<fileDesc>
<titleStmt>
<title>TEI Lite with MEI for Common Music Notation</title>
<author>Raffaele Viglianti</author>
</titleStmt>
<publicationStmt>
<authority>TEI Special Interest Group in Music</authority>
<availability>
<p><hi>Copyright 2010 TEI Consortium.</hi></p>
<p>This is free software; you can redistribute it and/or modify it under the
terms of the GNU General Public License as published by the Free Software
Foundation; either version 2 of the License, or (at your option) any later
version.</p>
<p>This material is distributed in the hope that it will be useful, but
<emph>without any warranty</emph>; without even the implied warranty of
<emph>merchantability</emph> or <emph>fitness for a particular
purpose.</emph> See the GNU General Public License for more details.</p>
<p>A copy of the GNU General Public License is stored on the TEI web site along
with this file; you can also contact the Free Software Foundation, Inc., 59
Temple Place, Suite 330, Boston, MA 02111-1307, USA, for a copy.</p>
<p>Copyright (c) 2010 by the Music Encoding Initiative (MEI) Council.</p>
<p>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://www.osedu.org/licenses/ECL-2.0.</p>
<p>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.</p>
<p>This is a derivative work based on earlier versions of the schema copyright
(c) 2001-2006 Perry Roland and the Rector and Visitors of the University of
Virginia; licensed under the Educational Community License version 1.0.</p>
</availability>
</publicationStmt>
<sourceDesc>
<bibl>TEI U5 (derived from TEI U1: An Introduction to TEI Tagging (derived from TEI
ED W21: Living with the Guidelines)</bibl>
<bibl>TEI Lite Customization, downloaded from http://www.tei-c.org/Roma</bibl>
</sourceDesc>
</fileDesc>
</teiHeader>
<text>
<body>
<div>
<head><title>TEI Lite with MEI for Common Music Notation</title></head>
<p>This customization combines the TEI Lite customization and the MEI modules for
Common Music Notation. Moreover, it builds upon the TEI with Music Notation
customization distributed on the Music SIG webspace at
http://www.tei-c.org/SIG/Music</p>
</div>
</body>
<back>
<div>
<head>Appendix</head>
<p>This is the ODD customzation.</p>
<schemaSpec ident="tei-lite_mei-cmn" start="TEI teiCorpus" defaultExceptions="http://www.tei-c.org/ns/1.0 teix:egXML http://www.music-encoding.org/ns/mei">
<!-- == TEI modules == -->
<moduleRef key="tei"/>
<moduleRef key="core"/>
<moduleRef key="header"/>
<moduleRef key="textstructure"/>
<moduleRef key="figures"/>
<moduleRef key="linking"/>
<moduleRef key="analysis"/>
<moduleRef key="tagdocs"/>
<!-- == Changes to TEI components == -->
<elementSpec module="linking" ident="ab" mode="delete"/>
<elementSpec module="linking" ident="altGrp" mode="delete"/>
<elementSpec module="tagdocs" ident="altIdent" mode="delete"/>
<elementSpec module="linking" ident="alt" mode="delete"/>
<elementSpec module="core" ident="analytic" mode="delete"/>
<elementSpec module="tagdocs" ident="attDef" mode="delete"/>
<elementSpec module="tagdocs" ident="attList" mode="delete"/>
<elementSpec module="tagdocs" ident="attRef" mode="delete"/>
<elementSpec module="core" ident="biblItem" mode="delete"/>
<elementSpec module="core" ident="biblStruct" mode="delete"/>
<elementSpec module="core" ident="binaryObject" mode="delete"/>
<elementSpec module="header" ident="broadcast" mode="delete"/>
<elementSpec module="core" ident="cb" mode="delete"/>
<elementSpec module="tagdocs" ident="classes" mode="delete"/>
<elementSpec module="tagdocs" ident="classSpec" mode="delete"/>
<elementSpec module="analysis" ident="cl" mode="delete"/>
<elementSpec module="analysis" ident="c" mode="delete"/>
<elementSpec module="tagdocs" ident="content" mode="delete"/>
<elementSpec module="tagdocs" ident="classRef" mode="delete"/>
<elementSpec ident="constraint" mode="delete" module="tagdocs"/>
<elementSpec ident="constraintSpec" mode="delete" module="tagdocs"/>
<elementSpec module="header" ident="correction" mode="delete"/>
<elementSpec module="tagdocs" ident="datatype" mode="delete"/>
<elementSpec module="tagdocs" ident="defaultVal" mode="delete"/>
<elementSpec module="core" ident="distinct" mode="delete"/>
<elementSpec module="textstructure" mode="delete" ident="div1"/>
<elementSpec module="textstructure" mode="delete" ident="div2"/>
<elementSpec module="textstructure" mode="delete" ident="div3"/>
<elementSpec module="textstructure" mode="delete" ident="div4"/>
<elementSpec module="textstructure" mode="delete" ident="div5"/>
<elementSpec module="textstructure" mode="delete" ident="div6"/>
<elementSpec module="textstructure" mode="delete" ident="div7"/>
<elementSpec module="tagdocs" ident="egXML" mode="delete"/>
<elementSpec module="tagdocs" ident="elementRef" mode="delete"/>
<elementSpec module="core" ident="email" mode="delete"/>
<elementSpec module="tagdocs" ident="elementSpec" mode="delete"/>
<elementSpec module="header" ident="equipment" mode="delete"/>
<elementSpec module="core" ident="equiv" mode="delete"/>
<elementSpec module="tagdocs" ident="exemplum" mode="delete"/>
<elementSpec module="textstructure" ident="floatingText" mode="delete"/>
<elementSpec module="header" ident="fsdDecl" mode="delete"/>
<elementSpec module="core" ident="headItem" mode="delete"/>
<elementSpec module="core" ident="headLabel" mode="delete"/>
<elementSpec module="header" ident="hyphenation" mode="delete"/>
<elementSpec module="textstructure" ident="imprimatur" mode="delete"/>
<elementSpec module="header" ident="interpretation" mode="delete"/>
<elementSpec module="linking" ident="joinGrp" mode="delete"/>
<elementSpec module="linking" ident="join" mode="delete"/>
<elementSpec module="linking" ident="linkGrp" mode="delete"/>
<elementSpec module="linking" ident="link" mode="delete"/>
<elementSpec module="tagdocs" ident="listRef" mode="delete"/>
<elementSpec module="tagdocs" ident="macroRef" mode="delete"/>
<elementSpec module="tagdocs" ident="macroSpec" mode="delete"/>
<elementSpec module="core" ident="measure" mode="delete"/>
<elementSpec module="core" ident="meeting" mode="delete"/>
<elementSpec module="tagdocs" ident="memberOf" mode="delete"/>
<elementSpec module="header" ident="metDecl" mode="delete"/>
<elementSpec module="header" ident="metSym" mode="delete"/>
<elementSpec module="analysis" ident="m" mode="delete"/>
<elementSpec ident="moduleRef" mode="delete" module="tagdocs"/>
<elementSpec ident="moduleSpec" mode="delete" module="tagdocs"/>
<elementSpec module="core" ident="monogr" mode="delete"/>
<elementSpec module="header" ident="normalization" mode="delete"/>
<elementSpec module="analysis" ident="phr" mode="delete"/>
<elementSpec module="core" ident="postBox" mode="delete"/>
<elementSpec module="core" ident="postCode" mode="delete"/>
<elementSpec module="header" ident="quotation" mode="delete"/>
<elementSpec module="header" ident="recording" mode="delete"/>
<elementSpec module="header" ident="recordingStmt" mode="delete"/>
<elementSpec module="tagdocs" ident="remarks" mode="delete"/>
<elementSpec module="tagdocs" ident="schemaSpec" mode="delete"/>
<elementSpec module="header" ident="scriptStmt" mode="delete"/>
<elementSpec module="header" ident="segmentation" mode="delete"/>
<elementSpec module="core" ident="series" mode="delete"/>
<elementSpec module="analysis" ident="spanGrp" mode="delete"/>
<elementSpec module="analysis" ident="span" mode="delete"/>
<elementSpec module="tagdocs" ident="specDesc" mode="delete"/>
<elementSpec module="tagdocs" ident="specGrp" mode="delete"/>
<elementSpec module="tagdocs" ident="specGrpRef" mode="delete"/>
<elementSpec module="tagdocs" ident="specList" mode="delete"/>
<elementSpec module="header" ident="state" mode="delete"/>
<elementSpec module="header" ident="stdVals" mode="delete"/>
<elementSpec module="core" ident="street" mode="delete"/>
<elementSpec module="tagdocs" ident="stringVal" mode="delete"/>
<elementSpec module="tagdocs" ident="tag" mode="delete"/>
<elementSpec module="header" ident="tagsDecl" mode="delete"/>
<elementSpec module="linking" ident="timeline" mode="delete"/>
<elementSpec module="tagdocs" ident="valDesc" mode="delete"/>
<elementSpec module="tagdocs" ident="valItem" mode="delete"/>
<elementSpec module="tagdocs" ident="valList" mode="delete"/>
<elementSpec module="header" ident="variantEncoding" mode="delete"/>
<elementSpec module="linking" ident="when" mode="delete"/>
<elementSpec module="analysis" ident="w" mode="delete"/>
<elementSpec module="header" ident="handNote" mode="delete"/>
<elementSpec module="header" ident="tagUsage" mode="delete"/>
<elementSpec module="core" ident="imprint" mode="delete"/>
<elementSpec module="header" ident="rendition" mode="delete"/>
<elementSpec module="header" ident="namespace" mode="delete"/>
<classSpec ident="att.global" type="atts" mode="change" module="tei">
<attList>
<attDef ident="rendition" mode="delete"/>
</attList>
</classSpec>
<elementSpec xmlns="http://www.tei-c.org/ns/1.0" module="figures" ident="notatedMusic" mode="change">
<equiv/>
<desc>encodes the presence of music notation in a text. Some MEI elements are allowed within.</desc>
<classes>
<memberOf key="model.global"/>
<memberOf key="att.global"/>
<memberOf key="att.placement"/>
<memberOf key="att.typed"/>
</classes>
<content>
<zeroOrMore xmlns="http://relaxng.org/ns/structure/1.0">
<choice>
<ref name="model.labelLike"/>
<ref name="model.ptrLike"/>
<ref name="graphic"/>
<ref name="binaryObject"/>
</choice>
</zeroOrMore>
<rng:optional>
<rng:choice>
<rng:ref name="mei_mei"/>
<rng:ref name="mei_music"/>
<rng:ref name="mei_mdiv"/>
<rng:ref name="mei_layer"/>
</rng:choice>
</rng:optional>
</content>
<exemplum xml:lang="en">
<egXML xmlns="http://www.tei-c.org/ns/Examples">
<notatedMusic>
<ptr target="bar1.xml"/>
<graphic url="bar1.jpg"/>
<desc>First bar of Chopin's Scherzo No.3 Op.39</desc>
</notatedMusic>
</egXML>
</exemplum>
<remarks> <p>It is possible to describe
the content of the notation using elements from the model.labelLike class and it is possible
to point to an external representation using elements from model.ptrLike. It is possible to
specify the location of digital objects representing the notated music in other media such
as images or audio-visual files. The encoder's interpretation of the correspondence between
the notated music and these digital objects is not encoded explicitly. We recommend the use
of graphic and binaryObject mainly as a fallback mechanism when the notated music format is
not displayable by the application using the encoding. The alignment of encoded notated
music, images carrying the notation, and audio files is a complex matter for which we refer
the encoder to other formats and specifications such as MPEG-SMR.</p>
<p>In this TEI with Music Notation customisation, some
elements from MEI are allowed to occur within the element to
encode the music notation.</p></remarks>
</elementSpec>
<!-- ==== MEI Modules ==== -->
<!-- NB. @source *MUST* point to MEI's ODD source-->
<moduleRef key="MEI" source="mei-source.xml"/>
<moduleRef key="MEI.analytical" source="mei-source.xml"/>
<moduleRef key="MEI.cmn" source="mei-source.xml"/>
<moduleRef key="MEI.cmnOrnaments" source="mei-source.xml"/>
<moduleRef key="MEI.corpus" source="mei-source.xml"/>
<moduleRef key="MEI.critapp" source="mei-source.xml"/>
<moduleRef key="MEI.drama" source="mei-source.xml"/>
<moduleRef key="MEI.edittrans" source="mei-source.xml"/>
<moduleRef key="MEI.externalsymbols" source="mei-source.xml"/>
<moduleRef key="MEI.facsimile" source="mei-source.xml"/>
<moduleRef key="MEI.figtable" source="mei-source.xml"/>
<moduleRef key="MEI.fingering" source="mei-source.xml"/>
<moduleRef key="MEI.frbr" source="mei-source.xml"/>
<moduleRef key="MEI.genetic" source="mei-source.xml"/>
<moduleRef key="MEI.gestural" source="mei-source.xml"/>
<moduleRef key="MEI.harmony" source="mei-source.xml"/>
<moduleRef key="MEI.header" source="mei-source.xml"/>
<moduleRef key="MEI.lyrics" source="mei-source.xml"/>
<!--<moduleRef key="MEI.mensural" source="mei-source.xml"/>-->
<moduleRef key="MEI.midi" source="mei-source.xml"/>
<moduleRef key="MEI.msdDesc" source="mei-source.xml"/>
<moduleRef key="MEI.namesdates" source="mei-source.xml"/>
<!--<moduleRef key="MEI.neumes" source="mei-source.xml"/>-->
<moduleRef key="MEI.performance" source="mei-source.xml"/>
<moduleRef key="MEI.ptrref" source="mei-source.xml"/>
<moduleRef key="MEI.shared" source="mei-source.xml"/>
<moduleRef key="MEI.stringtab" source="mei-source.xml"/>
<moduleRef key="MEI.text" source="mei-source.xml"/>
<moduleRef key="MEI.usersymbols" source="mei-source.xml"/>
<moduleRef key="MEI.visual" source="mei-source.xml"/>
<!-- == Changes to MEI components == -->
<!-- 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>
<!-- replace macro.anyXML with pureODD solution -->
<elementSpec ident="mei_extMeta" mode="change">
<content>
<alternate>
<textNode/>
<anyElement/>
</alternate>
</content>
</elementSpec>
<macroSpec ident="mei_macro.anyXML" module="MEI.shared" type="pe" mode="delete" />
<!-- Make @source mandatory when applicable. -->
<classSpec type="atts" module="MEI.shared" ident="mei_att.staffident" mode="replace">
<desc>signifies the staff on which a notated event occurs or to
which a control event applies.</desc>
<attList>
<attDef ident="staff" usage="mwa"/>
</attList>
<remarks><p>The attribute is made mandatory when applicable instead of always mandatory to allow MEI fragments.</p></remarks>
</classSpec>
</schemaSpec>
</div>
</back>
</text>
</TEI>