Skip to content

Commit 1865bce

Browse files
author
KristinaRichts
committed
added some elements (labelAbbr, choice, cpMark)
1 parent 1f11216 commit 1865bce

File tree

4 files changed

+335
-17
lines changed

4 files changed

+335
-17
lines changed

schema/de/wegaWorks.isosch

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,7 +1,7 @@
11
<?xml version="1.0" encoding="utf-8"?>
22
<schema xmlns="http://purl.oclc.org/dsdl/schematron" queryBinding="xslt2">
33
<title>ISO Schematron rules</title>
4-
<!-- This file generated 2020-10-07T15:43:30.383+02:00 by 'extract-isosch.xsl'. -->
4+
<!-- This file generated 2020-10-15T22:02:18.427+02:00 by 'extract-isosch.xsl'. -->
55

66
<!-- ********************* -->
77
<!-- namespaces, declared: -->

schema/de/wegaWorks.rng

Lines changed: 146 additions & 7 deletions
Original file line numberDiff line numberDiff line change
@@ -1,7 +1,7 @@
11
<?xml version="1.0" encoding="utf-8"?>
22
<grammar xmlns="http://relaxng.org/ns/structure/1.0" xmlns:xlink="http://www.w3.org/1999/xlink" datatypeLibrary="http://www.w3.org/2001/XMLSchema-datatypes" ns="http://www.music-encoding.org/ns/mei">
33
<!--
4-
Schema generated from ODD source 2020-10-07T15:43:28Z.
4+
Schema generated from ODD source 2020-10-15T22:02:16Z.
55
Edition: 2013 Release
66
Edition Location: http://www.tei-c.org/Vault/P5//
77
@@ -3968,6 +3968,7 @@ Edition Location: http://www.tei-c.org/Vault/P5//
39683968
<ref name="dynam"/>
39693969
<ref name="tempo"/>
39703970
<ref name="model.controleventLike.cmn"/>
3971+
<ref name="cpMark"/>
39713972
</choice>
39723973
</define>
39733974
<define name="model.dateLike">
@@ -4004,22 +4005,44 @@ Edition Location: http://www.tei-c.org/Vault/P5//
40044005
</choice>
40054006
</define>
40064007
<define name="model.editorialLike">
4007-
<notAllowed/>
4008+
<choice>
4009+
<ref name="abbr"/>
4010+
<ref name="expan"/>
4011+
</choice>
40084012
</define>
40094013
<define name="model.editorialLike_alternation">
4010-
<notAllowed/>
4014+
<choice>
4015+
<ref name="abbr"/>
4016+
<ref name="expan"/>
4017+
</choice>
40114018
</define>
40124019
<define name="model.editorialLike_sequence">
4013-
<empty/>
4020+
<ref name="abbr"/>
4021+
<ref name="expan"/>
40144022
</define>
40154023
<define name="model.editorialLike_sequenceOptional">
4016-
<empty/>
4024+
<optional>
4025+
<ref name="abbr"/>
4026+
</optional>
4027+
<optional>
4028+
<ref name="expan"/>
4029+
</optional>
40174030
</define>
40184031
<define name="model.editorialLike_sequenceOptionalRepeatable">
4019-
<empty/>
4032+
<zeroOrMore>
4033+
<ref name="abbr"/>
4034+
</zeroOrMore>
4035+
<zeroOrMore>
4036+
<ref name="expan"/>
4037+
</zeroOrMore>
40204038
</define>
40214039
<define name="model.editorialLike_sequenceRepeatable">
4022-
<notAllowed/>
4040+
<oneOrMore>
4041+
<ref name="abbr"/>
4042+
</oneOrMore>
4043+
<oneOrMore>
4044+
<ref name="expan"/>
4045+
</oneOrMore>
40234046
</define>
40244047
<define name="model.endingLike">
40254048
<notAllowed/>
@@ -4093,6 +4116,7 @@ Edition Location: http://www.tei-c.org/Vault/P5//
40934116
<define name="model.labelLike">
40944117
<choice>
40954118
<ref name="label"/>
4119+
<ref name="labelAbbr"/>
40964120
</choice>
40974121
</define>
40984122
<define name="model.layerDefLike">
@@ -8442,8 +8466,16 @@ Empfohlene Werte sind: 1] ms; 2] ms_score; 3] ms_piano_score; 4] ms_vocal_score;
84428466
<ref name="att.handident.attributes"/>
84438467
<ref name="att.sequence.attributes"/>
84448468
</define>
8469+
<define name="model.choicePart">
8470+
<choice>
8471+
<ref name="model.editorialLike"/>
8472+
<ref name="model.editLike"/>
8473+
<ref name="sic"/>
8474+
</choice>
8475+
</define>
84458476
<define name="model.editLike">
84468477
<choice>
8478+
<ref name="choice"/>
84478479
<ref name="subst"/>
84488480
</choice>
84498481
</define>
@@ -8458,6 +8490,40 @@ Empfohlene Werte sind: 1] ms; 2] ms_score; 3] ms_piano_score; 4] ms_vocal_score;
84588490
<ref name="supplied"/>
84598491
</choice>
84608492
</define>
8493+
<define name="abbr">
8494+
<element name="abbr">
8495+
<a:documentation xmlns:a="http://relaxng.org/ns/compatibility/annotations/1.0">(abbreviation) – A generic element for 1) a shortened form of a word, including an acronym or 2) a shorthand notation.</a:documentation>
8496+
<zeroOrMore>
8497+
<choice>
8498+
<text/>
8499+
<ref name="model.textphraseLike"/>
8500+
<ref name="model.eventLike"/>
8501+
<ref name="model.controleventLike"/>
8502+
<ref name="model.lyricsLike"/>
8503+
<ref name="model.editLike"/>
8504+
<ref name="model.transcriptionLike"/>
8505+
<ref name="model.eventLike.measureFilling"/>
8506+
<ref name="model.noteModifierLike"/>
8507+
<ref name="model.sectionLike"/>
8508+
<ref name="model.measureLike"/>
8509+
<ref name="model.staffLike"/>
8510+
<ref name="model.layerLike"/>
8511+
</choice>
8512+
</zeroOrMore>
8513+
<ref name="att.common.attributes"/>
8514+
<ref name="att.edit.attributes"/>
8515+
<ref name="att.lang.attributes"/>
8516+
<ref name="att.trans.attributes"/>
8517+
<ref name="att.typed.attributes"/>
8518+
<optional>
8519+
<attribute name="expan">
8520+
<a:documentation xmlns:a="http://relaxng.org/ns/compatibility/annotations/1.0">records the expansion of a text abbreviation.</a:documentation>
8521+
<text/>
8522+
</attribute>
8523+
</optional>
8524+
<empty/>
8525+
</element>
8526+
</define>
84618527
<define name="add">
84628528
<element name="add">
84638529
<a:documentation xmlns:a="http://relaxng.org/ns/compatibility/annotations/1.0">(addition) – Marks an addition to the text. </a:documentation>
@@ -8484,6 +8550,16 @@ Empfohlene Werte sind: 1] ms; 2] ms_score; 3] ms_piano_score; 4] ms_vocal_score;
84848550
<empty/>
84858551
</element>
84868552
</define>
8553+
<define name="choice">
8554+
<element name="choice">
8555+
<a:documentation xmlns:a="http://relaxng.org/ns/compatibility/annotations/1.0">Groups a number of alternative encodings for the same point in a text. </a:documentation>
8556+
<zeroOrMore>
8557+
<ref name="model.choicePart"/>
8558+
</zeroOrMore>
8559+
<ref name="att.common.attributes"/>
8560+
<empty/>
8561+
</element>
8562+
</define>
84878563
<define name="damage">
84888564
<element name="damage">
84898565
<a:documentation xmlns:a="http://relaxng.org/ns/compatibility/annotations/1.0">Contains an area of damage to the physical medium.</a:documentation>
@@ -8549,6 +8625,40 @@ Empfohlene Werte sind: 1] ms; 2] ms_score; 3] ms_piano_score; 4] ms_vocal_score;
85498625
<empty/>
85508626
</element>
85518627
</define>
8628+
<define name="expan">
8629+
<element name="expan">
8630+
<a:documentation xmlns:a="http://relaxng.org/ns/compatibility/annotations/1.0">(expansion) – Contains the expansion of an abbreviation.</a:documentation>
8631+
<zeroOrMore>
8632+
<choice>
8633+
<text/>
8634+
<ref name="model.textphraseLike"/>
8635+
<ref name="model.eventLike"/>
8636+
<ref name="model.controleventLike"/>
8637+
<ref name="model.lyricsLike"/>
8638+
<ref name="model.editLike"/>
8639+
<ref name="model.transcriptionLike"/>
8640+
<ref name="model.eventLike.measureFilling"/>
8641+
<ref name="model.noteModifierLike"/>
8642+
<ref name="model.sectionLike"/>
8643+
<ref name="model.measureLike"/>
8644+
<ref name="model.staffLike"/>
8645+
<ref name="model.layerLike"/>
8646+
</choice>
8647+
</zeroOrMore>
8648+
<ref name="att.common.attributes"/>
8649+
<ref name="att.edit.attributes"/>
8650+
<ref name="att.lang.attributes"/>
8651+
<ref name="att.trans.attributes"/>
8652+
<ref name="att.typed.attributes"/>
8653+
<optional>
8654+
<attribute name="abbr">
8655+
<a:documentation xmlns:a="http://relaxng.org/ns/compatibility/annotations/1.0">captures the unabbreviated form of the text.</a:documentation>
8656+
<text/>
8657+
</attribute>
8658+
</optional>
8659+
<empty/>
8660+
</element>
8661+
</define>
85528662
<define name="gap">
85538663
<element name="gap">
85548664
<a:documentation xmlns:a="http://relaxng.org/ns/compatibility/annotations/1.0">Indicates a point where material has been omitted in a transcription, whether as part of sampling practice or for editorial reasons described in the MEI header. </a:documentation>
@@ -8659,6 +8769,35 @@ Empfohlene Werte sind: 1] ms; 2] ms_score; 3] ms_piano_score; 4] ms_vocal_score;
86598769
<empty/>
86608770
</element>
86618771
</define>
8772+
<define name="labelAbbr">
8773+
<element name="labelAbbr" ns="http://www.music-encoding.org/ns/mei">
8774+
<a:documentation xmlns:a="http://relaxng.org/ns/compatibility/annotations/1.0"/>
8775+
<zeroOrMore>
8776+
<choice>
8777+
<text/>
8778+
<ref name="model.editLike"/>
8779+
<ref name="model.transcriptionLike"/>
8780+
</choice>
8781+
</zeroOrMore>
8782+
<ref name="att.common.attributes"/>
8783+
<ref name="att.lang.attributes"/>
8784+
<empty/>
8785+
</element>
8786+
</define>
8787+
<define name="cpMark">
8788+
<element name="cpMark" ns="http://www.music-encoding.org/ns/mei">
8789+
<a:documentation xmlns:a="http://relaxng.org/ns/compatibility/annotations/1.0"/>
8790+
<zeroOrMore>
8791+
<choice>
8792+
<text/>
8793+
<ref name="model.editLike"/>
8794+
<ref name="model.transcriptionLike"/>
8795+
</choice>
8796+
</zeroOrMore>
8797+
<ref name="att.common.attributes"/>
8798+
<empty/>
8799+
</element>
8800+
</define>
86628801
<start>
86638802
<choice>
86648803
<ref name="mei"/>

0 commit comments

Comments
 (0)