-
Notifications
You must be signed in to change notification settings - Fork 0
/
Copy pathstandoff-proposal-ODD.xml
148 lines (139 loc) · 6.91 KB
/
standoff-proposal-ODD.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
<?xml version="1.0" encoding="UTF-8"?>
<?xml-model href="http://www.tei-c.org/release/xml/tei/custom/schema/relaxng/tei_all.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_all.rng" 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">
<teiHeader>
<fileDesc>
<titleStmt>
<title>Proposal for encoding standoff annotations in TEI</title>
</titleStmt>
<publicationStmt>
<authority>Berlin task force "standoff"</authority>
<availability>
<!-- no lincence allowed -->
<p>CC+BY and BSD-2 licences</p>
</availability>
</publicationStmt>
<sourceDesc>
<p>...</p>
</sourceDesc>
</fileDesc>
</teiHeader>
<text>
<body>
<schemaSpec ident="standoff-proposal" start="TEI" status="unstable">
<moduleRef key="core"/>
<moduleRef key="tei"/>
<moduleRef key="textstructure"/>
<moduleRef key="header"/>
<moduleRef key="linking"/>
<moduleRef key="analysis"/>
<moduleRef key="spoken"/>
<moduleRef key="namesdates"/>
<elementSpec ident="stdf" mode="add" ns="http://standoff.proposal">
<desc>Container element for standoff annotations</desc>
<classes>
<memberOf key="model.resourceLike" mode="add"/>
<memberOf key="att.global" mode="add"/>
<memberOf key="att.datcat" mode="add"/>
<memberOf key="att.ascribed" mode="add"/>
<memberOf key="att.datable.w3c" mode="add"/>
<memberOf key="att.typed" mode="add"/>
<memberOf key="att.responsibility" mode="add"/>
<memberOf key="att.pointing" mode="add"/>
</classes>
<content>
<rng:optional>
<rng:ref name="soHeader"/>
</rng:optional>
<rng:optional>
<rng:ref name="annotations"/>
</rng:optional>
<rng:zeroOrMore>
<rng:ref name="stdf"/>
</rng:zeroOrMore>
</content>
</elementSpec>
<elementSpec ident="soHeader" mode="add" ns="http://standoff.proposal">
<desc>Metadata for the <gi>stdf</gi> element(s)</desc>
<content>
<rng:interleave>
<rng:optional>
<rng:ref name="titleStmt"/>
</rng:optional>
<rng:optional>
<rng:ref name="publicationStmt"/>
</rng:optional>
<rng:optional>
<rng:ref name="notesStmt"/>
</rng:optional>
<rng:optional>
<rng:ref name="encodingDesc"/>
</rng:optional>
<rng:optional>
<rng:ref name="profileDesc"/>
</rng:optional>
<rng:optional>
<rng:ref name="revisionDesc"/>
</rng:optional>
</rng:interleave>
</content>
</elementSpec>
<elementSpec ident="annotations" mode="add" ns="http://standoff.proposal">
<desc>Content of the <gi>stdf</gi> element</desc>
<classes>
<memberOf key="att.global" mode="add"/>
</classes>
<content>
<rng:zeroOrMore>
<rng:choice>
<rng:ref name="model.global.meta"/>
<rng:ref name="model.annotationPart"/>
<rng:ref name="model.listLike"/>
<rng:ref name="listBibl"/>
<rng:ref name="mapStruct"/>
</rng:choice>
</rng:zeroOrMore>
</content>
</elementSpec>
<elementSpec ident="mapStruct" mode="add" ns="http://standoff.proposal">
<desc>Any element is to be interpreted as mapping its structure onto a text to
be annotated</desc>
<!-- need a specific namespace? -->
<!-- like in egXML -->
</elementSpec>
<elementSpec ident="annotationGrp" mode="add" ns="http://standoff.proposal">
<desc>Groups together various annotations, for instance for parallel
interpretations of a spoken segment</desc>
<classes>
<memberOf key="model.annotationPart"/>
<memberOf key="model.divPart.spoken"/>
<memberOf key="att.timed"/>
<memberOf key="att.global"/>
<memberOf key="att.ascribed"/>
<memberOf key="att.typed"/>
</classes>
<content>
<rng:zeroOrMore>
<rng:choice>
<rng:ref name="u"/>
<rng:ref name="model.global.meta"/>
<rng:ref name="model.annotationPart"/>
</rng:choice>
</rng:zeroOrMore>
</content>
</elementSpec>
<classSpec type="model" ident="model.annotationPart" mode="add">
<desc>Initially empty class for providing easy customization with additional TEI
elements or external schemas, e.g. PAULA</desc>
</classSpec>
<classSpec type="model" ident="model.global.meta" mode="change">
<classes mode="change">
<memberOf key="model.annotationPart" mode="add"/>
</classes>
</classSpec>
</schemaSpec>
</body>
</text>
</TEI>