-
Notifications
You must be signed in to change notification settings - Fork 0
/
Copy pathtei-betamesaheft-expanded.xml
567 lines (506 loc) · 28.6 KB
/
tei-betamesaheft-expanded.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
<?xml version="1.0"?>
<?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"?>
<?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"?>
<TEI xmlns="http://www.tei-c.org/ns/1.0" xml:lang="en" xmlns:tei="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>Beta maṣāḥǝft schema</title>
<author xml:id="ES">Eugenia Sokolinski</author>
<author xml:id="PL">Pietro Liuzzo</author>
<author xml:id="DR">Dorothea Reule</author>
<author xml:id="MV">Massimo Villa</author>
<author xml:id="SG">Solomn Gebreyes Beyene</author>
</titleStmt>
<publicationStmt>
<authority>Hiob-Ludolf-Zentrum für Äthiopistik</authority>
<publisher>Die Schriftkultur des christlichen Äthiopiens: Eine multimediale
Forschungsumgebung / beta maṣāḥǝft</publisher>
<pubPlace>Hamburg</pubPlace>
<availability>
<licence target="http://creativecommons.org/licenses/by-sa/4.0/"> This file is
licensed under the Creative Commons Attribution-ShareAlike 4.0. </licence>
</availability>
</publicationStmt>
<sourceDesc>
<p>created electronically</p>
</sourceDesc>
</fileDesc>
<revisionDesc>
<change who="PL" when="2016-04-08">generated first version of the ODD from
requirements</change>
<change who="DR" when="2017-04-21">Added keyword</change>
<change who="DR" when="2017-05-02">Added value definitions @place</change>
<change who="jinntec" when="2023-09-25">Chained with tei-betamesaheft ODD</change>
</revisionDesc>
</teiHeader>
<text>
<front>
<divGen type="toc"/>
</front>
<body>
<schemaSpec ident="tei-betamesaheft-expanded" docLang="en" prefix="tei_" start="TEI"
xml:lang="en" source="tei-betamesaheft_compiled.xml">
<!-- MODULES USED BY THE Beta maṣāḥǝft: Manuscripts of Ethiopia and Eritrea SCHEMA
the @source ties our current schema to tei-betamesaheft
-->
<moduleRef key="core"/>
<moduleRef key="tei"/>
<moduleRef key="header" except="appInfo"/>
<moduleRef key="textstructure"
except="argument byline closer div1 div2 div3 div4 div5 div6 div7 imprimatur
opener postscript salute signed titlePage titlePart trailer"/>
<moduleRef key="transcr" except="damageSpan restore"/>
<moduleRef key="verse" except="caesura metDecl metSym rhyme"/>
<moduleRef key="analysis" except="cl span spanGrp"/>
<moduleRef key="certainty" except="respons"/>
<moduleRef key="gaiji" except="char charName unicodeName"/>
<moduleRef key="linking" except="alt altGrp joinGrp timeline when"/>
<moduleRef key="msdescription"/>
<moduleRef key="namesdates"
except="climate education geoFeat langKnowledge
langKnown nameLink population socecStatus terrain trait"/>
<moduleRef key="textcrit" except="lacunaEnd lacunaStart witDetail witEnd witStart"/>
<moduleRef key="figures" except="cell formula row table"/>
<moduleRef key="spoken"
except="broadcast equipment incident kinesic pause recording recordingStmt
scriptStmt shift u vocal writing"/>
<moduleRef key="corpus"
except="activity channel constitution derivation domain factuality interaction locale
preparedness purpose setting textDesc"/>
<!-- LISTS OF VALUES FOR ATTRIBUTES-->
<!-- adds value partly to del/@rend-->
<elementSpec ident="del" mode="change" module="core">
<attList>
<attDef ident="rend" mode="change">
<valList type="semi"/>
</attDef>
</attList>
</elementSpec>
<elementSpec ident="binding" mode="change" module="msdescription">
<attList>
<attDef ident="contemporary" mode="change">
<valList type="semi"/>
</attDef>
</attList>
</elementSpec>
<!-- adds value partly to add/@place-->
<elementSpec ident="add" mode="change" module="core">
<desc>Limits and defines values of the attribute <att>place</att> in
<gi>add</gi>. <ref target="https://betamasaheft.eu/Guidelines/?id=add"
>Beta maṣāḥǝft Guidelines</ref></desc>
<attList>
<attDef ident="place" mode="change">
<valList type="semi"/>
</attDef>
</attList>
</elementSpec>
<elementSpec ident="date" mode="change" module="header">
<constraintSpec scheme="schematron" ident="date" mode="delete"/>
<attList>
<attDef ident="calendar" usage="opt" mode="change">
<valList type="semi"/>
</attDef>
</attList>
</elementSpec>
<!-- controlled values for condition-->
<elementSpec ident="condition" mode="change" module="msdescription">
<attList>
<attDef ident="key" mode="change" usage="opt">
<valList type="semi"/>
</attDef>
</attList>
</elementSpec>
<!-- controlled values for subject typology -->
<elementSpec ident="term" mode="change" module="msdescription">
<attList>
<attDef ident="key" mode="change" usage="rec">
<valList type="semi"/>
</attDef>
</attList>
</elementSpec>
<!-- controlled values for language usage-->
<elementSpec ident="language" mode="change" module="header">
<attList>
<attDef ident="ident" mode="change" usage="opt">
<valList type="semi"/>
</attDef>
</attList>
</elementSpec>
<!-- allow usage of a list of types for ref-->
<elementSpec ident="ref" mode="change" module="core">
<constraintSpec scheme="schematron" ident="ref" mode="delete"/>
<attList>
<attDef ident="type" mode="change" usage="opt">
<valList type="semi"/>
</attDef>
</attList>
</elementSpec>
<!-- suggest use in title of type complete, incomplete, normalized or alternative-->
<elementSpec ident="title" mode="change" module="core">
<constraintSpec scheme="schematron" ident="title" mode="delete"/>
<attList>
<attDef ident="type" mode="change" usage="opt">
<valList type="semi"/>
</attDef>
<attDef ident="subtype" mode="change" usage="opt">
<valList type="semi"/>
</attDef>
</attList>
</elementSpec>
<!-- constrain use of type in listBibl and suggest values-->
<elementSpec ident="listBibl" mode="change" module="core">
<constraintSpec scheme="schematron" ident="listBibl" mode="delete"/>
<attList>
<attDef ident="type" mode="change" usage="opt">
<valList type="semi"/>
</attDef>
</attList>
</elementSpec>
<!-- constrain use of type in occupation and suggest values-->
<elementSpec ident="occupation" mode="change" module="namesdates">
<attList>
<attDef ident="type" mode="change" usage="opt">
<valList type="semi"/>
</attDef>
</attList>
</elementSpec>
<!-- specifies values for faith element, limiting number of values to 2 for "further specification"-->
<elementSpec ident="faith" mode="change" module="namesdates">
<attList>
<attDef ident="type" mode="change" usage="opt">
<valList type="semi"/>
</attDef>
</attList>
</elementSpec>
<elementSpec ident="nationality" mode="change" module="namesdates">
<attList>
<attDef ident="type" mode="change" usage="opt">
<valList type="semi"/>
</attDef>
</attList>
</elementSpec>
<!-- constrain use of type in roleName and suggest values-->
<elementSpec ident="roleName" mode="change" module="namesdates">
<constraintSpec scheme="schematron" ident="roleName" mode="delete"/>
<attList>
<attDef ident="type" mode="change" usage="opt">
<valList type="semi"/>
</attDef>
</attList>
</elementSpec>
<elementSpec ident="bibl" mode="change" module="core">
<constraintSpec scheme="schematron" ident="bibl" mode="delete"/>
</elementSpec>
<elementSpec ident="ptr" mode="change" module="core">
<constraintSpec scheme="schematron" ident="ptr" mode="delete"/>
</elementSpec>
<!-- test the content of witnesses list to be as described in guidelines and point to mss ids-->
<elementSpec ident="witness" mode="change" module="textcrit">
<constraintSpec scheme="schematron" ident="witness" mode="delete"/>
<!-- this optional value points to a manuscript not in BetMes catalogue-->
<attList>
<attDef ident="type" mode="change" usage="opt">
<valList type="semi"/>
</attDef>
</attList>
</elementSpec>
<!-- allow use in dimension of rend pricked and ruled
more values can be added, and up to 6 can be entered in the attribute
-->
<elementSpec ident="dimensions" mode="change" module="msdescription">
<constraintSpec scheme="schematron" ident="dimensions" mode="delete"/>
</elementSpec>
<!-- desc typologies -->
<elementSpec ident="desc" mode="change" module="msdescription">
<attList>
<attDef ident="type" mode="change" usage="opt">
<valList type="semi"/>
</attDef>
</attList>
</elementSpec>
<!-- suggests values for dim/@unit and dim/@type-->
<elementSpec ident="dim" mode="change" module="msdescription">
<attList>
<attDef ident="unit" mode="change" usage="opt">
<valList type="semi"/>
</attDef>
<attDef ident="type" mode="change" usage="opt">
<valList type="semi"/>
</attDef>
</attList>
</elementSpec>
<!-- deletes constraints in ab-->
<elementSpec ident="ab" mode="change" module="linking">
<constraintSpec scheme="schematron" ident="ab" mode="delete"/>
</elementSpec>
<!-- values for seg in handNote -->
<elementSpec ident="seg" mode="change" module="linking">
<constraintSpec scheme="schematron" ident="seg" mode="delete"/>
<attList>
<attDef ident="type" mode="change" usage="opt">
<valList type="semi"/>
</attDef>
<attDef ident="rend" mode="change" usage="opt">
<valList type="semi"/>
</attDef>
</attList>
</elementSpec>
<!-- suggest values for decoNote/@type-->
<elementSpec ident="decoNote" mode="change" module="msdescription">
<constraintSpec scheme="schematron" ident="decoNote" mode="delete"/>
<attList>
<attDef ident="xml:id" mode="change" usage="opt"/>
<attDef ident="repaired" mode="change" usage="opt">
<valList type="semi"/>
</attDef>
<attDef ident="type" mode="change" usage="opt">
<valList type="semi"/>
</attDef>
</attList>
</elementSpec>
<elementSpec ident="custEvent" mode="change" module="msdescription">
<attList>
<attDef ident="subtype" mode="change" usage="opt">
<valList type="semi"/>
</attDef>
</attList>
</elementSpec>
<!-- require @xml:id-->
<elementSpec ident="msPart" mode="change" module="msdescription">
<constraintSpec scheme="schematron" ident="msPart" mode="delete"/>
<attList>
<attDef ident="xml:id" mode="change" usage="opt"/>
</attList>
</elementSpec>
<elementSpec ident="msFrag" mode="change" module="msdescription">
<constraintSpec scheme="schematron" ident="msfrag" mode="delete"/>
<attList>
<attDef ident="xml:id" mode="change" usage="opt"/>
</attList>
</elementSpec>
<elementSpec ident="msItem" mode="change" module="msdescription">
<constraintSpec scheme="schematron" ident="msItem" mode="replace">
<constraint>
<sch:rule context="tei:msItem/@xml:id">
<sch:report test="not(matches(.,'_i\d+'))"> Content Items in
Manuscript parts must have ids starting with the reference to
the part in which they are contained, then underscore and the
letter 'i' followed by a progressive number, e.g. p1.1_i1.1,
p1.1_i2. </sch:report>
<sch:report test="matches(.,'(_.*){2}')"> The Underscore is used in
ids to mark a nesting of differnt ids, especially items in
parts. there should thus be only one of them as a maximum. If
you have parts into parts or items into items, please use a full
stop. p1.2_i3.4 is e.g. the subitem 4 of item 3 in subpart 2 of
part 1. </sch:report>
</sch:rule>
</constraint>
</constraintSpec>
<attList>
<attDef ident="xml:id" mode="change" usage="opt"/>
</attList>
</elementSpec>
<elementSpec ident="colophon" mode="change" module="msdescription">
<constraintSpec scheme="schematron" ident="colophon" mode="delete"/>
<attList>
<attDef ident="xml:id" mode="change" usage="opt"/>
<attDef ident="type" mode="change" usage="opt">
<valList type="semi"/>
</attDef>
</attList>
</elementSpec>
<!-- controlled values for SCRIPT-->
<elementSpec ident="handNote" mode="change" module="msdescription">
<attList>
<attDef ident="xml:id" mode="change" usage="opt"/>
<attDef ident="script" mode="change" usage="opt">
<valList type="semi"/>
</attDef>
</attList>
</elementSpec>
<elementSpec ident="editor" mode="change" module="core">
<attList>
<attDef ident="key" mode="change" usage="opt">
<valList type="semi"/>
</attDef>
</attList>
</elementSpec>
<elementSpec ident="change" mode="change" module="header">
<constraintSpec scheme="schematron" ident="change" mode="delete"/>
<attList>
<attDef ident="who" mode="change" usage="opt">
<valList type="semi"/>
</attDef>
<attDef ident="when" mode="change" usage="opt"/>
</attList>
</elementSpec>
<!-- recomend @corresp in persName and test that is always there in mss and work-->
<elementSpec ident="persName" mode="change" module="namesdates">
<constraintSpec scheme="schematron" ident="persName" mode="delete"/>
<attList>
<attDef ident="role" mode="change" usage="opt">
<valList type="semi"/>
</attDef>
<attDef ident="type" mode="change">
<valList type="semi"/>
</attDef>
</attList>
</elementSpec>
<elementSpec ident="placeName" mode="change" module="msdescription">
<constraintSpec scheme="schematron" ident="placeName" mode="delete"/>
</elementSpec>
<!-- controlled values for place Type-->
<elementSpec ident="place" mode="change" module="msdescription">
<attList>
<attDef ident="type" mode="change" usage="opt">
<valList type="semi"/>
</attDef>
</attList>
</elementSpec>
<!-- controlled values for material-->
<elementSpec ident="material" mode="change" module="msdescription">
<attList>
<attDef ident="key" mode="change" usage="opt">
<valList type="semi"/>
</attDef>
</attList>
</elementSpec>
<elementSpec ident="explicit" mode="change" module="msdescription">
<attList>
<attDef ident="type" mode="change" usage="opt">
<valList type="semi"/>
</attDef>
</attList>
</elementSpec>
<elementSpec ident="incipit" mode="change" module="msdescription">
<attList>
<attDef ident="type" mode="change" usage="opt">
<valList type="semi"/>
</attDef>
</attList>
</elementSpec>
<!-- controlled values for objectDesc @form -->
<elementSpec ident="objectDesc" mode="change" module="msdescription">
<attList>
<attDef ident="form" mode="change" usage="opt">
<valList type="semi"/>
</attDef>
</attList>
</elementSpec>
<!-- controlled values for note type commemoration in person records of Saints-->
<elementSpec ident="note" mode="change" module="core">
<attList>
<attDef ident="type" mode="change" usage="opt">
<valList type="semi"/>
</attDef>
</attList>
</elementSpec>
<!--controlled values for relation
between people, places, works-->
<elementSpec ident="relation" mode="change" module="namesdates">
<constraintSpec scheme="schematron" ident="relation" mode="delete"/>
<attList>
<attDef ident="name" mode="change" usage="opt">
<valList type="semi"/>
</attDef>
</attList>
</elementSpec>
<!-- constraining values of div/@type inherited from EpiDoc-->
<elementSpec ident="div" mode="change" module="textstructure">
<attList>
<attDef ident="type" mode="change" usage="opt">
<valList type="semi"/>
</attDef>
</attList>
</elementSpec>
<!-- TESTS ONLY -->
<elementSpec ident="TEI" module="textstructure" mode="change">
<attList>
<attDef ident="xml:id" mode="change" usage="opt">
<desc>For Manuscripts e.g. EMML2312 ES15 (Ethio-SPaRe) BLadd100 (British
Library, fondo, numero) BNFabb3 (Bibliotheque nationale de France,
fondo, numero) Works = LIT1001Homili (LIT + incremental number +
first world of title) Places = LOC2969Ensala (LOC + incremental
number + first world of place name) People = PRS1001AbbaTam (PRS +
incremental number + first world of name) Institutions =
INS0030Addaqaharsi (INS + 4 digit number + first world of
name)</desc>
</attDef>
<attDef ident="type" mode="change" usage="opt">
<valList type="semi"/>
</attDef>
</attList>
</elementSpec>
<elementSpec ident="geo" module="namesdates" mode="change">
<!-- testing for origDate in origin-->
<constraintSpec scheme="schematron" ident="geo" mode="replace">
<constraint>
<sch:rule context="tei:geo">
<sch:report
test="not(matches(.,'\-?\d{1,2}\.\d{3,6}\s\-?\d{1,2}\.\d{3,6}'))"
> Coordinates should be written as decimal degrees separated by
a single space e.g. "14.165289 39.447665" latitude first.
</sch:report>
</sch:rule>
</constraint>
</constraintSpec>
</elementSpec>
<elementSpec ident="locus" module="msdescription" mode="change">
<!-- checks that locus has @target or @from-->
<constraintSpec scheme="schematron" ident="locus" mode="replace">
<constraint>
<sch:rule context="tei:locus">
<sch:report test="not(@target or @from or @to)">locus must have
either an exact reference to a page with @target or a range
indicated with @from and @to or either of the two if the other
extreme of the range is unknown. Please do not use "unknown" as
value.</sch:report>
</sch:rule>
</constraint>
</constraintSpec>
</elementSpec>
<elementSpec ident="item" module="msdescription" mode="change">
<constraintSpec scheme="schematron" ident="item" mode="delete"/>
</elementSpec>
<elementSpec ident="supplied" module="transcr" mode="change">
<desc>This was initially inherited from the EpiDoc schema version 8.21.
Values for <att>reason</att> and <att>evidence</att>
are limited and controlled. This element is used both for transcription
and for text editions.<ref target="https://betamasaheft.eu/Guidelines/?id=supplied">Beta maṣāḥǝft
Guidelines</ref></desc>
<attList>
<!-- constrained attribute list for supplied/@reason -->
<attDef ident="reason" mode="change" usage="opt"/>
</attList>
</elementSpec>
<elementSpec ident="gap" module="core" mode="change">
<desc>This was initially inherited from the EpiDoc schema version 8.21.
<ref target="https://betamasaheft.eu/Guidelines/?id=gap">Beta maṣāḥǝft
Guidelines</ref></desc>
<attList>
<attDef ident="reason" mode="change" usage="opt"/>
</attList>
</elementSpec>
<elementSpec ident="damage" module="transcr" mode="change">
<constraintSpec scheme="schematron" ident="damage" mode="delete"/>
</elementSpec>
<classSpec type="atts" ident="att.dimensions" mode="change">
<attList>
<attDef ident="precision" mode="change">
<valList type="semi"/>
</attDef>
</attList>
</classSpec>
<classSpec type="atts" ident="att.responsibility" mode="change">
<attList>
<attDef ident="cert" mode="change">
<valList type="semi"/>
</attDef>
</attList>
</classSpec>
</schemaSpec>
</body>
</text>
</TEI>