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
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
1 |
+
<?xml version="1.0" encoding="utf-8"?>
|
2 |
+
<grammar xmlns:xlink="http://www.w3.org/1999/xlink"
|
3 |
+
xmlns:tei="http://www.tei-c.org/ns/1.0"
|
4 |
+
xmlns:teix="http://www.tei-c.org/ns/Examples"
|
5 |
+
xmlns="http://relaxng.org/ns/structure/1.0"
|
6 |
+
datatypeLibrary="http://www.w3.org/2001/XMLSchema-datatypes"
|
7 |
+
ns="http://www.tei-c.org/ns/1.0"><!--
|
8 |
+
Schema generated from ODD source 2022-03-31T10:41:05Z. .
|
9 |
+
TEI Edition: Version 4.1.0. Last updated on
|
10 |
+
19th August 2020, revision b414ba550
|
11 |
+
TEI Edition Location: https://www.tei-c.org/Vault/P5/Version 4.1.0/
|
12 |
+
|
13 |
+
--><!--This material is dual-licensed.
|
14 |
+
[http://creativecommons.org/licenses/by-sa/3.0/] Distributed under a Creative Commons Attribution-ShareAlike 3.0 Unported License [http://www.opensource.org/licenses/BSD-2-Clause] Copyright 2013 TEI Consortium. All rights reserved. Redistribution and use in source and binary forms, with or without modification, are permitted provided that the following conditions are met: Redistributions of source code must retain the above copyright notice, this list of conditions and the following disclaimer. Redistributions in binary form must reproduce the above copyright notice, this list of conditions and the following disclaimer in the documentation and/or other materials provided with the distribution. The Open Corpus for Linguistics and Artificial Intelligence (Carolina) was compiled for academic purposes, namely linguistic and computational analysis. It is composed of texts assembled in various digital repositories, whose licenses are multiple and therefore should be observed when making use of the corpus. The Carolina headers are licensed under Creative Commons Attribution-NonCommercial-ShareAlike 4.0 International. -->
|
15 |
+
<define name="macro.paraContent">
|
16 |
+
<zeroOrMore>
|
17 |
+
<choice>
|
18 |
+
<text/>
|
19 |
+
<ref name="model.gLike"/>
|
20 |
+
<ref name="model.phrase"/>
|
21 |
+
<ref name="model.inter"/>
|
22 |
+
<ref name="model.global"/>
|
23 |
+
<ref name="model.lLike"/>
|
24 |
+
</choice>
|
25 |
+
</zeroOrMore>
|
26 |
+
</define>
|
27 |
+
<define name="att.canonical.attributes">
|
28 |
+
<empty/>
|
29 |
+
</define>
|
30 |
+
<define name="att.written.attributes">
|
31 |
+
<ref name="att.written.attribute.hand"/>
|
32 |
+
</define>
|
33 |
+
<define name="att.written.attribute.hand">
|
34 |
+
<optional>
|
35 |
+
<attribute name="hand">
|
36 |
+
<a:documentation xmlns:a="http://relaxng.org/ns/compatibility/annotations/1.0">points to a <code xmlns="http://www.w3.org/1999/xhtml"><handNote></code> element describing the hand considered responsible for the content of the element concerned.</a:documentation>
|
37 |
+
<data type="anyURI"/>
|
38 |
+
</attribute>
|
39 |
+
</optional>
|
40 |
+
</define>
|
41 |
+
<define name="att.datable.w3c.attributes">
|
42 |
+
<empty/>
|
43 |
+
</define>
|
44 |
+
<pattern xmlns="http://purl.oclc.org/dsdl/schematron"
|
45 |
+
id="tei_carolina_v1-att.datable.w3c-att-datable-w3c-when-constraint-rule-1">
|
46 |
+
<sch:rule xmlns:sch="http://purl.oclc.org/dsdl/schematron"
|
47 |
+
xmlns:xi="http://www.w3.org/2001/XInclude"
|
48 |
+
xmlns:rng="http://relaxng.org/ns/structure/1.0"
|
49 |
+
xmlns="http://www.tei-c.org/ns/1.0"
|
50 |
+
context="tei:*[@when]">
|
51 |
+
<sch:report test="@notBefore|@notAfter|@from|@to" role="nonfatal">The @when attribute cannot be used with any other att.datable.w3c attributes.</sch:report>
|
52 |
+
</sch:rule>
|
53 |
+
</pattern>
|
54 |
+
<pattern xmlns="http://purl.oclc.org/dsdl/schematron"
|
55 |
+
id="tei_carolina_v1-att.datable.w3c-att-datable-w3c-from-constraint-rule-2">
|
56 |
+
<sch:rule xmlns:sch="http://purl.oclc.org/dsdl/schematron"
|
57 |
+
xmlns:xi="http://www.w3.org/2001/XInclude"
|
58 |
+
xmlns:rng="http://relaxng.org/ns/structure/1.0"
|
59 |
+
xmlns="http://www.tei-c.org/ns/1.0"
|
60 |
+
context="tei:*[@from]">
|
61 |
+
<sch:report test="@notBefore" role="nonfatal">The @from and @notBefore attributes cannot be used together.</sch:report>
|
62 |
+
</sch:rule>
|
63 |
+
</pattern>
|
64 |
+
<pattern xmlns="http://purl.oclc.org/dsdl/schematron"
|
65 |
+
id="tei_carolina_v1-att.datable.w3c-att-datable-w3c-to-constraint-rule-3">
|
66 |
+
<sch:rule xmlns:sch="http://purl.oclc.org/dsdl/schematron"
|
67 |
+
xmlns:xi="http://www.w3.org/2001/XInclude"
|
68 |
+
xmlns:rng="http://relaxng.org/ns/structure/1.0"
|
69 |
+
xmlns="http://www.tei-c.org/ns/1.0"
|
70 |
+
context="tei:*[@to]">
|
71 |
+
<sch:report test="@notAfter" role="nonfatal">The @to and @notAfter attributes cannot be used together.</sch:report>
|
72 |
+
</sch:rule>
|
73 |
+
</pattern>
|
74 |
+
<define name="att.datable.attributes">
|
75 |
+
<ref name="att.datable.w3c.attributes"/>
|
76 |
+
<ref name="att.datable.iso.attributes"/>
|
77 |
+
<ref name="att.datable.custom.attributes"/>
|
78 |
+
</define>
|
79 |
+
<define name="att.declaring.attributes">
|
80 |
+
<ref name="att.declaring.attribute.decls"/>
|
81 |
+
</define>
|
82 |
+
<define name="att.declaring.attribute.decls">
|
83 |
+
<optional>
|
84 |
+
<attribute name="decls">
|
85 |
+
<a:documentation xmlns:a="http://relaxng.org/ns/compatibility/annotations/1.0">identifies one or more declarable elements within the header, which are understood to apply to the element bearing this attribute and its content.</a:documentation>
|
86 |
+
<list>
|
87 |
+
<oneOrMore>
|
88 |
+
<data type="anyURI"/>
|
89 |
+
</oneOrMore>
|
90 |
+
</list>
|
91 |
+
</attribute>
|
92 |
+
</optional>
|
93 |
+
</define>
|
94 |
+
<define name="att.fragmentable.attributes">
|
95 |
+
<ref name="att.fragmentable.attribute.part"/>
|
96 |
+
</define>
|
97 |
+
<define name="att.fragmentable.attribute.part">
|
98 |
+
<optional>
|
99 |
+
<attribute xmlns:a="http://relaxng.org/ns/compatibility/annotations/1.0"
|
100 |
+
name="part"
|
101 |
+
a:defaultValue="N">
|
102 |
+
<a:documentation>specifies whether or not its parent element is fragmented in some way, typically by some other overlapping structure: for example a speech which is divided between two or more verse stanzas, a paragraph which is split across a page division, a verse line which is divided between two speakers.</a:documentation>
|
103 |
+
<choice>
|
104 |
+
<value>Y</value>
|
105 |
+
<a:documentation>(yes) the element is fragmented in some (unspecified) respect</a:documentation>
|
106 |
+
<value>N</value>
|
107 |
+
<a:documentation>(no) the element is not fragmented, or no claim is made as to its completeness</a:documentation>
|
108 |
+
<value>I</value>
|
109 |
+
<a:documentation>(initial) this is the initial part of a fragmented element</a:documentation>
|
110 |
+
<value>M</value>
|
111 |
+
<a:documentation>(medial) this is a medial part of a fragmented element</a:documentation>
|
112 |
+
<value>F</value>
|
113 |
+
<a:documentation>(final) this is the final part of a fragmented element</a:documentation>
|
114 |
+
</choice>
|
115 |
+
</attribute>
|
116 |
+
</optional>
|
117 |
+
</define>
|
118 |
+
<define name="att.global.responsibility.attributes">
|
119 |
+
<empty/>
|
120 |
+
</define>
|
121 |
+
<define name="att.global.rendition.attributes">
|
122 |
+
<empty/>
|
123 |
+
</define>
|
124 |
+
<define name="att.global.source.attributes">
|
125 |
+
<empty/>
|
126 |
+
</define>
|
127 |
+
<define name="att.global.attributes">
|
128 |
+
<ref name="att.global.rendition.attributes"/>
|
129 |
+
<ref name="att.global.responsibility.attributes"/>
|
130 |
+
<ref name="att.global.source.attributes"/>
|
131 |
+
<ref name="att.global.attribute.xmlid"/>
|
132 |
+
</define>
|
133 |
+
<define name="att.global.attribute.xmlid">
|
134 |
+
<optional>
|
135 |
+
<attribute name="xml:id">
|
136 |
+
<a:documentation xmlns:a="http://relaxng.org/ns/compatibility/annotations/1.0">(identifier) provides a unique identifier for the element bearing the attribute.</a:documentation>
|
137 |
+
<data type="ID"/>
|
138 |
+
</attribute>
|
139 |
+
</optional>
|
140 |
+
</define>
|
141 |
+
<pattern xmlns="http://purl.oclc.org/dsdl/schematron"
|
142 |
+
id="tei_carolina_v1-att.measurement-att-measurement-unitRef-constraint-rule-4">
|
143 |
+
<sch:rule xmlns:sch="http://purl.oclc.org/dsdl/schematron"
|
144 |
+
xmlns:xi="http://www.w3.org/2001/XInclude"
|
145 |
+
xmlns:rng="http://relaxng.org/ns/structure/1.0"
|
146 |
+
xmlns="http://www.tei-c.org/ns/1.0"
|
147 |
+
context="tei:*[@unitRef]">
|
148 |
+
<sch:report test="@unit" role="info">The @unit attribute may be unnecessary when @unitRef is present.</sch:report>
|
149 |
+
</sch:rule>
|
150 |
+
</pattern>
|
151 |
+
<pattern xmlns="http://purl.oclc.org/dsdl/schematron"
|
152 |
+
id="tei_carolina_v1-att.typed-subtypeTyped-constraint-rule-5">
|
153 |
+
<sch:rule xmlns:sch="http://purl.oclc.org/dsdl/schematron"
|
154 |
+
xmlns:xi="http://www.w3.org/2001/XInclude"
|
155 |
+
xmlns:rng="http://relaxng.org/ns/structure/1.0"
|
156 |
+
xmlns="http://www.tei-c.org/ns/1.0"
|
157 |
+
context="tei:*[@subtype]">
|
158 |
+
<sch:assert test="@type">The <sch:name/> element should not be categorized in detail with @subtype unless also categorized in general with @type</sch:assert>
|
159 |
+
</sch:rule>
|
160 |
+
</pattern>
|
161 |
+
<pattern xmlns="http://purl.oclc.org/dsdl/schematron"
|
162 |
+
id="tei_carolina_v1-att.pointing-targetLang-targetLang-constraint-rule-6">
|
163 |
+
<sch:rule xmlns:sch="http://purl.oclc.org/dsdl/schematron"
|
164 |
+
xmlns:xi="http://www.w3.org/2001/XInclude"
|
165 |
+
xmlns:rng="http://relaxng.org/ns/structure/1.0"
|
166 |
+
xmlns="http://www.tei-c.org/ns/1.0"
|
167 |
+
context="tei:*[not(self::tei:schemaSpec)][@targetLang]">
|
168 |
+
<sch:assert test="@target">@targetLang should only be used on <sch:name/> if @target is specified.</sch:assert>
|
169 |
+
</sch:rule>
|
170 |
+
</pattern>
|
171 |
+
<define name="model.nameLike.agent">
|
172 |
+
<choice>
|
173 |
+
<ref name="name"/>
|
174 |
+
</choice>
|
175 |
+
</define>
|
176 |
+
<define name="model.nameLike.agent_alternation">
|
177 |
+
<choice>
|
178 |
+
<ref name="name"/>
|
179 |
+
</choice>
|
180 |
+
</define>
|
181 |
+
<define name="model.nameLike.agent_sequence">
|
182 |
+
<ref name="name"/>
|
183 |
+
</define>
|
184 |
+
<define name="model.nameLike.agent_sequenceOptional">
|
185 |
+
<optional>
|
186 |
+
<ref name="name"/>
|
187 |
+
</optional>
|
188 |
+
</define>
|
189 |
+
<define name="model.nameLike.agent_sequenceOptionalRepeatable">
|
190 |
+
<zeroOrMore>
|
191 |
+
<ref name="name"/>
|
192 |
+
</zeroOrMore>
|
193 |
+
</define>
|
194 |
+
<define name="model.nameLike.agent_sequenceRepeatable">
|
195 |
+
<oneOrMore>
|
196 |
+
<ref name="name"/>
|
197 |
+
</oneOrMore>
|
198 |
+
</define>
|
199 |
+
<define name="model.segLike">
|
200 |
+
<notAllowed/>
|
201 |
+
</define>
|
202 |
+
<define name="model.hiLike">
|
203 |
+
<notAllowed/>
|
204 |
+
</define>
|
205 |
+
<define name="model.hiLike_alternation">
|
206 |
+
<notAllowed/>
|
207 |
+
</define>
|
208 |
+
<define name="model.hiLike_sequence">
|
209 |
+
<empty/>
|
210 |
+
</define>
|
211 |
+
<define name="model.hiLike_sequenceOptional">
|
212 |
+
<empty/>
|
213 |
+
</define>
|
214 |
+
<define name="model.hiLike_sequenceOptionalRepeatable">
|
215 |
+
<empty/>
|
216 |
+
</define>
|
217 |
+
<define name="model.hiLike_sequenceRepeatable">
|
218 |
+
<notAllowed/>
|
219 |
+
</define>
|
220 |
+
<define name="model.emphLike">
|
221 |
+
<choice>
|
222 |
+
<ref name="title"/>
|
223 |
+
</choice>
|
224 |
+
</define>
|
225 |
+
<define name="model.emphLike_alternation">
|
226 |
+
<choice>
|
227 |
+
<ref name="title"/>
|
228 |
+
</choice>
|
229 |
+
</define>
|
230 |
+
<define name="model.emphLike_sequence">
|
231 |
+
<ref name="title"/>
|
232 |
+
</define>
|
233 |
+
<define name="model.emphLike_sequenceOptional">
|
234 |
+
<optional>
|
235 |
+
<ref name="title"/>
|
236 |
+
</optional>
|
237 |
+
</define>
|
238 |
+
<define name="model.emphLike_sequenceOptionalRepeatable">
|
239 |
+
<zeroOrMore>
|
240 |
+
<ref name="title"/>
|
241 |
+
</zeroOrMore>
|
242 |
+
</define>
|
243 |
+
<define name="model.emphLike_sequenceRepeatable">
|
244 |
+
<oneOrMore>
|
245 |
+
<ref name="title"/>
|
246 |
+
</oneOrMore>
|
247 |
+
</define>
|
248 |
+
<define name="model.highlighted">
|
249 |
+
<choice>
|
250 |
+
<ref name="model.hiLike"/>
|
251 |
+
<ref name="model.emphLike"/>
|
252 |
+
</choice>
|
253 |
+
</define>
|
254 |
+
<define name="model.dateLike">
|
255 |
+
<choice>
|
256 |
+
<ref name="date"/>
|
257 |
+
</choice>
|
258 |
+
</define>
|
259 |
+
<define name="model.dateLike_alternation">
|
260 |
+
<choice>
|
261 |
+
<ref name="date"/>
|
262 |
+
</choice>
|
263 |
+
</define>
|
264 |
+
<define name="model.dateLike_sequence">
|
265 |
+
<ref name="date"/>
|
266 |
+
</define>
|
267 |
+
<define name="model.dateLike_sequenceOptional">
|
268 |
+
<optional>
|
269 |
+
<ref name="date"/>
|
270 |
+
</optional>
|
271 |
+
</define>
|
272 |
+
<define name="model.dateLike_sequenceOptionalRepeatable">
|
273 |
+
<zeroOrMore>
|
274 |
+
<ref name="date"/>
|
275 |
+
</zeroOrMore>
|
276 |
+
</define>
|
277 |
+
<define name="model.dateLike_sequenceRepeatable">
|
278 |
+
<oneOrMore>
|
279 |
+
<ref name="date"/>
|
280 |
+
</oneOrMore>
|
281 |
+
</define>
|
282 |
+
<define name="model.measureLike">
|
283 |
+
<choice>
|
284 |
+
<ref name="measure"/>
|
285 |
+
</choice>
|
286 |
+
</define>
|
287 |
+
<define name="model.measureLike_alternation">
|
288 |
+
<choice>
|
289 |
+
<ref name="measure"/>
|
290 |
+
</choice>
|
291 |
+
</define>
|
292 |
+
<define name="model.measureLike_sequence">
|
293 |
+
<ref name="measure"/>
|
294 |
+
</define>
|
295 |
+
<define name="model.measureLike_sequenceOptional">
|
296 |
+
<optional>
|
297 |
+
<ref name="measure"/>
|
298 |
+
</optional>
|
299 |
+
</define>
|
300 |
+
<define name="model.measureLike_sequenceOptionalRepeatable">
|
301 |
+
<zeroOrMore>
|
302 |
+
<ref name="measure"/>
|
303 |
+
</zeroOrMore>
|
304 |
+
</define>
|
305 |
+
<define name="model.measureLike_sequenceRepeatable">
|
306 |
+
<oneOrMore>
|
307 |
+
<ref name="measure"/>
|
308 |
+
</oneOrMore>
|
309 |
+
</define>
|
310 |
+
<define name="model.egLike">
|
311 |
+
<notAllowed/>
|
312 |
+
</define>
|
313 |
+
<define name="model.graphicLike">
|
314 |
+
<choice>
|
315 |
+
<ref name="media"/>
|
316 |
+
</choice>
|
317 |
+
</define>
|
318 |
+
<define name="model.offsetLike">
|
319 |
+
<notAllowed/>
|
320 |
+
</define>
|
321 |
+
<define name="model.offsetLike_alternation">
|
322 |
+
<notAllowed/>
|
323 |
+
</define>
|
324 |
+
<define name="model.offsetLike_sequence">
|
325 |
+
<empty/>
|
326 |
+
</define>
|
327 |
+
<define name="model.offsetLike_sequenceOptional">
|
328 |
+
<empty/>
|
329 |
+
</define>
|
330 |
+
<define name="model.offsetLike_sequenceOptionalRepeatable">
|
331 |
+
<empty/>
|
332 |
+
</define>
|
333 |
+
<define name="model.offsetLike_sequenceRepeatable">
|
334 |
+
<notAllowed/>
|
335 |
+
</define>
|
336 |
+
<define name="model.pPart.msdesc">
|
337 |
+
<notAllowed/>
|
338 |
+
</define>
|
339 |
+
<define name="model.pPart.editorial">
|
340 |
+
<notAllowed/>
|
341 |
+
</define>
|
342 |
+
<define name="model.pPart.editorial_alternation">
|
343 |
+
<notAllowed/>
|
344 |
+
</define>
|
345 |
+
<define name="model.pPart.editorial_sequence">
|
346 |
+
<empty/>
|
347 |
+
</define>
|
348 |
+
<define name="model.pPart.editorial_sequenceOptional">
|
349 |
+
<empty/>
|
350 |
+
</define>
|
351 |
+
<define name="model.pPart.editorial_sequenceOptionalRepeatable">
|
352 |
+
<empty/>
|
353 |
+
</define>
|
354 |
+
<define name="model.pPart.editorial_sequenceRepeatable">
|
355 |
+
<notAllowed/>
|
356 |
+
</define>
|
357 |
+
<define name="model.pPart.transcriptional">
|
358 |
+
<notAllowed/>
|
359 |
+
</define>
|
360 |
+
<define name="model.pPart.transcriptional_alternation">
|
361 |
+
<notAllowed/>
|
362 |
+
</define>
|
363 |
+
<define name="model.pPart.transcriptional_sequence">
|
364 |
+
<empty/>
|
365 |
+
</define>
|
366 |
+
<define name="model.pPart.transcriptional_sequenceOptional">
|
367 |
+
<empty/>
|
368 |
+
</define>
|
369 |
+
<define name="model.pPart.transcriptional_sequenceOptionalRepeatable">
|
370 |
+
<empty/>
|
371 |
+
</define>
|
372 |
+
<define name="model.pPart.transcriptional_sequenceRepeatable">
|
373 |
+
<notAllowed/>
|
374 |
+
</define>
|
375 |
+
<define name="model.pPart.edit">
|
376 |
+
<choice>
|
377 |
+
<ref name="model.pPart.editorial"/>
|
378 |
+
<ref name="model.pPart.transcriptional"/>
|
379 |
+
</choice>
|
380 |
+
</define>
|
381 |
+
<define name="model.ptrLike">
|
382 |
+
<notAllowed/>
|
383 |
+
</define>
|
384 |
+
<define name="model.lPart">
|
385 |
+
<notAllowed/>
|
386 |
+
</define>
|
387 |
+
<define name="model.global.meta">
|
388 |
+
<notAllowed/>
|
389 |
+
</define>
|
390 |
+
<define name="model.milestoneLike">
|
391 |
+
<notAllowed/>
|
392 |
+
</define>
|
393 |
+
<define name="model.gLike">
|
394 |
+
<notAllowed/>
|
395 |
+
</define>
|
396 |
+
<define name="model.oddDecl">
|
397 |
+
<notAllowed/>
|
398 |
+
</define>
|
399 |
+
<define name="model.phrase.xml">
|
400 |
+
<notAllowed/>
|
401 |
+
</define>
|
402 |
+
<define name="model.specDescLike">
|
403 |
+
<notAllowed/>
|
404 |
+
</define>
|
405 |
+
<define name="model.biblLike">
|
406 |
+
<choice>
|
407 |
+
<ref name="biblFull"/>
|
408 |
+
</choice>
|
409 |
+
</define>
|
410 |
+
<define name="model.labelLike">
|
411 |
+
<notAllowed/>
|
412 |
+
</define>
|
413 |
+
<define name="model.listLike">
|
414 |
+
<notAllowed/>
|
415 |
+
</define>
|
416 |
+
<define name="model.noteLike">
|
417 |
+
<notAllowed/>
|
418 |
+
</define>
|
419 |
+
<define name="model.lLike">
|
420 |
+
<notAllowed/>
|
421 |
+
</define>
|
422 |
+
<define name="model.pLike">
|
423 |
+
<choice>
|
424 |
+
<ref name="p"/>
|
425 |
+
</choice>
|
426 |
+
</define>
|
427 |
+
<define name="model.stageLike">
|
428 |
+
<notAllowed/>
|
429 |
+
</define>
|
430 |
+
<define name="model.global.edit">
|
431 |
+
<notAllowed/>
|
432 |
+
</define>
|
433 |
+
<define name="model.placeNamePart">
|
434 |
+
<choice>
|
435 |
+
<ref name="region"/>
|
436 |
+
</choice>
|
437 |
+
</define>
|
438 |
+
<define name="model.placeNamePart_alternation">
|
439 |
+
<choice>
|
440 |
+
<ref name="region"/>
|
441 |
+
</choice>
|
442 |
+
</define>
|
443 |
+
<define name="model.placeNamePart_sequence">
|
444 |
+
<ref name="region"/>
|
445 |
+
</define>
|
446 |
+
<define name="model.placeNamePart_sequenceOptional">
|
447 |
+
<optional>
|
448 |
+
<ref name="region"/>
|
449 |
+
</optional>
|
450 |
+
</define>
|
451 |
+
<define name="model.placeNamePart_sequenceOptionalRepeatable">
|
452 |
+
<zeroOrMore>
|
453 |
+
<ref name="region"/>
|
454 |
+
</zeroOrMore>
|
455 |
+
</define>
|
456 |
+
<define name="model.placeNamePart_sequenceRepeatable">
|
457 |
+
<oneOrMore>
|
458 |
+
<ref name="region"/>
|
459 |
+
</oneOrMore>
|
460 |
+
</define>
|
461 |
+
<define name="model.placeStateLike">
|
462 |
+
<choice>
|
463 |
+
<ref name="model.placeNamePart"/>
|
464 |
+
</choice>
|
465 |
+
</define>
|
466 |
+
<define name="model.placeStateLike_alternation">
|
467 |
+
<choice>
|
468 |
+
<ref name="model.placeNamePart_alternation"/>
|
469 |
+
</choice>
|
470 |
+
</define>
|
471 |
+
<define name="model.placeStateLike_sequence">
|
472 |
+
<ref name="model.placeNamePart_sequence"/>
|
473 |
+
</define>
|
474 |
+
<define name="model.placeStateLike_sequenceOptional">
|
475 |
+
<optional>
|
476 |
+
<ref name="model.placeNamePart_sequenceOptional"/>
|
477 |
+
</optional>
|
478 |
+
</define>
|
479 |
+
<define name="model.placeStateLike_sequenceOptionalRepeatable">
|
480 |
+
<zeroOrMore>
|
481 |
+
<ref name="model.placeNamePart_sequenceOptionalRepeatable"/>
|
482 |
+
</zeroOrMore>
|
483 |
+
</define>
|
484 |
+
<define name="model.placeStateLike_sequenceRepeatable">
|
485 |
+
<oneOrMore>
|
486 |
+
<ref name="model.placeNamePart_sequenceRepeatable"/>
|
487 |
+
</oneOrMore>
|
488 |
+
</define>
|
489 |
+
<define name="model.quoteLike">
|
490 |
+
<notAllowed/>
|
491 |
+
</define>
|
492 |
+
<define name="model.quoteLike_alternation">
|
493 |
+
<notAllowed/>
|
494 |
+
</define>
|
495 |
+
<define name="model.quoteLike_sequence">
|
496 |
+
<empty/>
|
497 |
+
</define>
|
498 |
+
<define name="model.quoteLike_sequenceOptional">
|
499 |
+
<empty/>
|
500 |
+
</define>
|
501 |
+
<define name="model.quoteLike_sequenceOptionalRepeatable">
|
502 |
+
<empty/>
|
503 |
+
</define>
|
504 |
+
<define name="model.quoteLike_sequenceRepeatable">
|
505 |
+
<notAllowed/>
|
506 |
+
</define>
|
507 |
+
<define name="model.attributable">
|
508 |
+
<choice>
|
509 |
+
<ref name="model.quoteLike"/>
|
510 |
+
</choice>
|
511 |
+
</define>
|
512 |
+
<define name="model.addressLike">
|
513 |
+
<choice>
|
514 |
+
<ref name="address"/>
|
515 |
+
</choice>
|
516 |
+
</define>
|
517 |
+
<define name="model.addressLike_alternation">
|
518 |
+
<choice>
|
519 |
+
<ref name="address"/>
|
520 |
+
</choice>
|
521 |
+
</define>
|
522 |
+
<define name="model.addressLike_sequence">
|
523 |
+
<ref name="address"/>
|
524 |
+
</define>
|
525 |
+
<define name="model.addressLike_sequenceOptional">
|
526 |
+
<optional>
|
527 |
+
<ref name="address"/>
|
528 |
+
</optional>
|
529 |
+
</define>
|
530 |
+
<define name="model.addressLike_sequenceOptionalRepeatable">
|
531 |
+
<zeroOrMore>
|
532 |
+
<ref name="address"/>
|
533 |
+
</zeroOrMore>
|
534 |
+
</define>
|
535 |
+
<define name="model.addressLike_sequenceRepeatable">
|
536 |
+
<oneOrMore>
|
537 |
+
<ref name="address"/>
|
538 |
+
</oneOrMore>
|
539 |
+
</define>
|
540 |
+
<define name="model.nameLike">
|
541 |
+
<choice>
|
542 |
+
<ref name="model.nameLike.agent"/>
|
543 |
+
<ref name="model.offsetLike"/>
|
544 |
+
<ref name="model.placeStateLike"/>
|
545 |
+
<ref name="model.persNamePart"/>
|
546 |
+
</choice>
|
547 |
+
</define>
|
548 |
+
<define name="model.nameLike_alternation">
|
549 |
+
<choice>
|
550 |
+
<ref name="model.nameLike.agent_alternation"/>
|
551 |
+
<ref name="model.offsetLike_alternation"/>
|
552 |
+
<ref name="model.placeStateLike_alternation"/>
|
553 |
+
<ref name="model.persNamePart_alternation"/>
|
554 |
+
</choice>
|
555 |
+
</define>
|
556 |
+
<define name="model.nameLike_sequence">
|
557 |
+
<ref name="model.nameLike.agent_sequence"/>
|
558 |
+
<ref name="model.offsetLike_sequence"/>
|
559 |
+
<ref name="model.placeStateLike_sequence"/>
|
560 |
+
<ref name="model.persNamePart_sequence"/>
|
561 |
+
</define>
|
562 |
+
<define name="model.nameLike_sequenceOptional">
|
563 |
+
<optional>
|
564 |
+
<ref name="model.nameLike.agent_sequenceOptional"/>
|
565 |
+
</optional>
|
566 |
+
<optional>
|
567 |
+
<ref name="model.offsetLike_sequenceOptional"/>
|
568 |
+
</optional>
|
569 |
+
<optional>
|
570 |
+
<ref name="model.placeStateLike_sequenceOptional"/>
|
571 |
+
</optional>
|
572 |
+
<optional>
|
573 |
+
<ref name="model.persNamePart_sequenceOptional"/>
|
574 |
+
</optional>
|
575 |
+
</define>
|
576 |
+
<define name="model.nameLike_sequenceOptionalRepeatable">
|
577 |
+
<zeroOrMore>
|
578 |
+
<ref name="model.nameLike.agent_sequenceOptionalRepeatable"/>
|
579 |
+
</zeroOrMore>
|
580 |
+
<zeroOrMore>
|
581 |
+
<ref name="model.offsetLike_sequenceOptionalRepeatable"/>
|
582 |
+
</zeroOrMore>
|
583 |
+
<zeroOrMore>
|
584 |
+
<ref name="model.placeStateLike_sequenceOptionalRepeatable"/>
|
585 |
+
</zeroOrMore>
|
586 |
+
<zeroOrMore>
|
587 |
+
<ref name="model.persNamePart_sequenceOptionalRepeatable"/>
|
588 |
+
</zeroOrMore>
|
589 |
+
</define>
|
590 |
+
<define name="model.nameLike_sequenceRepeatable">
|
591 |
+
<oneOrMore>
|
592 |
+
<ref name="model.nameLike.agent_sequenceRepeatable"/>
|
593 |
+
</oneOrMore>
|
594 |
+
<oneOrMore>
|
595 |
+
<ref name="model.offsetLike_sequenceRepeatable"/>
|
596 |
+
</oneOrMore>
|
597 |
+
<oneOrMore>
|
598 |
+
<ref name="model.placeStateLike_sequenceRepeatable"/>
|
599 |
+
</oneOrMore>
|
600 |
+
<oneOrMore>
|
601 |
+
<ref name="model.persNamePart_sequenceRepeatable"/>
|
602 |
+
</oneOrMore>
|
603 |
+
</define>
|
604 |
+
<define name="model.global">
|
605 |
+
<choice>
|
606 |
+
<ref name="model.global.meta"/>
|
607 |
+
<ref name="model.milestoneLike"/>
|
608 |
+
<ref name="model.noteLike"/>
|
609 |
+
<ref name="model.global.edit"/>
|
610 |
+
</choice>
|
611 |
+
</define>
|
612 |
+
<define name="model.pPart.data">
|
613 |
+
<choice>
|
614 |
+
<ref name="model.dateLike"/>
|
615 |
+
<ref name="model.measureLike"/>
|
616 |
+
<ref name="model.addressLike"/>
|
617 |
+
<ref name="model.nameLike"/>
|
618 |
+
</choice>
|
619 |
+
</define>
|
620 |
+
<define name="model.inter">
|
621 |
+
<choice>
|
622 |
+
<ref name="model.egLike"/>
|
623 |
+
<ref name="model.oddDecl"/>
|
624 |
+
<ref name="model.biblLike"/>
|
625 |
+
<ref name="model.labelLike"/>
|
626 |
+
<ref name="model.listLike"/>
|
627 |
+
<ref name="model.stageLike"/>
|
628 |
+
<ref name="model.attributable"/>
|
629 |
+
</choice>
|
630 |
+
</define>
|
631 |
+
<define name="model.phrase">
|
632 |
+
<choice>
|
633 |
+
<ref name="model.segLike"/>
|
634 |
+
<ref name="model.highlighted"/>
|
635 |
+
<ref name="model.graphicLike"/>
|
636 |
+
<ref name="model.pPart.msdesc"/>
|
637 |
+
<ref name="model.pPart.edit"/>
|
638 |
+
<ref name="model.ptrLike"/>
|
639 |
+
<ref name="model.lPart"/>
|
640 |
+
<ref name="model.phrase.xml"/>
|
641 |
+
<ref name="model.specDescLike"/>
|
642 |
+
<ref name="model.pPart.data"/>
|
643 |
+
</choice>
|
644 |
+
</define>
|
645 |
+
<define name="model.limitedPhrase">
|
646 |
+
<choice>
|
647 |
+
<ref name="model.hiLike"/>
|
648 |
+
<ref name="model.emphLike"/>
|
649 |
+
<ref name="model.pPart.msdesc"/>
|
650 |
+
<ref name="model.pPart.editorial"/>
|
651 |
+
<ref name="model.ptrLike"/>
|
652 |
+
<ref name="model.phrase.xml"/>
|
653 |
+
<ref name="model.pPart.data"/>
|
654 |
+
</choice>
|
655 |
+
</define>
|
656 |
+
<define name="p">
|
657 |
+
<element name="p">
|
658 |
+
<a:documentation xmlns:a="http://relaxng.org/ns/compatibility/annotations/1.0">(paragraph) marks paragraphs in prose. [3.1. Paragraphs 7.2.5. Speech Contents]</a:documentation>
|
659 |
+
<ref name="macro.paraContent"/>
|
660 |
+
<pattern xmlns="http://purl.oclc.org/dsdl/schematron"
|
661 |
+
id="tei_carolina_v1-p-abstractModel-structure-p-constraint-report-5">
|
662 |
+
<rule context="tei:p">
|
663 |
+
<report test="not(ancestor::tei:floatingText) and (ancestor::tei:p or ancestor::tei:ab) and not(parent::tei:exemplum |parent::tei:item |parent::tei:note |parent::tei:q |parent::tei:quote |parent::tei:remarks |parent::tei:said |parent::tei:sp |parent::tei:stage |parent::tei:cell |parent::tei:figure )">
|
664 |
+
Abstract model violation: Paragraphs may not occur inside other paragraphs or ab elements.
|
665 |
+
</report>
|
666 |
+
</rule>
|
667 |
+
</pattern>
|
668 |
+
<pattern xmlns="http://purl.oclc.org/dsdl/schematron"
|
669 |
+
id="tei_carolina_v1-p-abstractModel-structure-l-constraint-report-6">
|
670 |
+
<rule context="tei:p">
|
671 |
+
<report test="ancestor::tei:l[not(.//tei:note//tei:p[. = current()])]">
|
672 |
+
Abstract model violation: Lines may not contain higher-level structural elements such as div, p, or ab.
|
673 |
+
</report>
|
674 |
+
</rule>
|
675 |
+
</pattern>
|
676 |
+
<ref name="att.global.attributes"/>
|
677 |
+
<ref name="att.declaring.attributes"/>
|
678 |
+
<ref name="att.fragmentable.attributes"/>
|
679 |
+
<ref name="att.written.attributes"/>
|
680 |
+
<empty/>
|
681 |
+
</element>
|
682 |
+
</define>
|
683 |
+
<define name="name">
|
684 |
+
<element name="name">
|
685 |
+
<a:documentation xmlns:a="http://relaxng.org/ns/compatibility/annotations/1.0">(name, proper noun) Credits for work with corpus file - Name of researchers who worked (before or after creation) with this corpus file. [3.5.1. Referring Strings]</a:documentation>
|
686 |
+
<text/>
|
687 |
+
<ref name="att.global.attributes"/>
|
688 |
+
<ref name="att.datable.attributes"/>
|
689 |
+
<empty/>
|
690 |
+
</element>
|
691 |
+
</define>
|
692 |
+
<define name="address">
|
693 |
+
<element name="address">
|
694 |
+
<a:documentation xmlns:a="http://relaxng.org/ns/compatibility/annotations/1.0">Origin region of source document [3.5.2. Addresses 2.2.4. Publication, Distribution, Licensing, etc. 3.11.2.4. Imprint, Size of a Document, and Reprint Information]</a:documentation>
|
695 |
+
<ref name="region"/>
|
696 |
+
<ref name="att.global.attributes"/>
|
697 |
+
<empty/>
|
698 |
+
</element>
|
699 |
+
</define>
|
700 |
+
<define name="measure">
|
701 |
+
<element name="measure">
|
702 |
+
<a:documentation xmlns:a="http://relaxng.org/ns/compatibility/annotations/1.0">Extent of source document - pages, bytes or tokens [3.5.3. Numbers and
|
703 |
+
Measures]</a:documentation>
|
704 |
+
<empty/>
|
705 |
+
<ref name="att.global.attributes"/>
|
706 |
+
<attribute name="unit">
|
707 |
+
<a:documentation xmlns:a="http://relaxng.org/ns/compatibility/annotations/1.0">Unit can be pages, bytes or tokens</a:documentation>
|
708 |
+
<choice>
|
709 |
+
<value>pages</value>
|
710 |
+
<a:documentation xmlns:a="http://relaxng.org/ns/compatibility/annotations/1.0"/>
|
711 |
+
<value>bytes</value>
|
712 |
+
<a:documentation xmlns:a="http://relaxng.org/ns/compatibility/annotations/1.0"/>
|
713 |
+
<value>tokens</value>
|
714 |
+
<a:documentation xmlns:a="http://relaxng.org/ns/compatibility/annotations/1.0"/>
|
715 |
+
</choice>
|
716 |
+
</attribute>
|
717 |
+
<attribute name="quantity">
|
718 |
+
<a:documentation xmlns:a="http://relaxng.org/ns/compatibility/annotations/1.0">specifies the number of the specified units that comprise the measurement</a:documentation>
|
719 |
+
<choice>
|
720 |
+
<data type="double"/>
|
721 |
+
<data type="token">
|
722 |
+
<param name="pattern">(\-?[\d]+/\-?[\d]+)</param>
|
723 |
+
</data>
|
724 |
+
<data type="decimal"/>
|
725 |
+
</choice>
|
726 |
+
</attribute>
|
727 |
+
<empty/>
|
728 |
+
</element>
|
729 |
+
</define>
|
730 |
+
<define name="date">
|
731 |
+
<element name="date">
|
732 |
+
<a:documentation xmlns:a="http://relaxng.org/ns/compatibility/annotations/1.0">Date of document [3.5.4. Dates and Times 2.2.4. Publication, Distribution, Licensing, etc. 2.6. The Revision Description 3.11.2.4. Imprint, Size of a Document, and Reprint Information 15.2.3. The Setting Description 13.3.7. Dates and Times]</a:documentation>
|
733 |
+
<choice>
|
734 |
+
<data type="string">
|
735 |
+
<param name="pattern">(19[0-9][0-9]|[2-9][0-9]{3}){1}((\-([0-1][0-9])\-([0-3][0-9]))?|((\-([0-1][0-9])\-([0-3][0-9]))((\s\-\s)(19[0-9][0-9]|[2-9][0-9]{3})\-([0-1][0-9])\-([0-3][0-9]))?))</param>
|
736 |
+
</data>
|
737 |
+
<empty/>
|
738 |
+
</choice>
|
739 |
+
<ref name="att.global.attributes"/>
|
740 |
+
<ref name="att.canonical.attributes"/>
|
741 |
+
<ref name="att.datable.attributes"/>
|
742 |
+
</element>
|
743 |
+
</define>
|
744 |
+
<define name="media">
|
745 |
+
<element name="media">
|
746 |
+
<a:documentation xmlns:a="http://relaxng.org/ns/compatibility/annotations/1.0">File of source document [3.9. Graphics and Other Non-textual Components]</a:documentation>
|
747 |
+
<empty/>
|
748 |
+
<ref name="att.global.attributes"/>
|
749 |
+
<attribute name="url">
|
750 |
+
<a:documentation xmlns:a="http://relaxng.org/ns/compatibility/annotations/1.0">(uniform resource locator) Source document access URL </a:documentation>
|
751 |
+
<data type="anyURI"/>
|
752 |
+
</attribute>
|
753 |
+
<attribute name="mimeType">
|
754 |
+
<a:documentation xmlns:a="http://relaxng.org/ns/compatibility/annotations/1.0">File type of source document </a:documentation>
|
755 |
+
<choice>
|
756 |
+
<value>text/xml</value>
|
757 |
+
<a:documentation xmlns:a="http://relaxng.org/ns/compatibility/annotations/1.0"/>
|
758 |
+
<value>text/html</value>
|
759 |
+
<a:documentation xmlns:a="http://relaxng.org/ns/compatibility/annotations/1.0"/>
|
760 |
+
<value>text/plain</value>
|
761 |
+
<a:documentation xmlns:a="http://relaxng.org/ns/compatibility/annotations/1.0"/>
|
762 |
+
<value>application/pdf</value>
|
763 |
+
<a:documentation xmlns:a="http://relaxng.org/ns/compatibility/annotations/1.0"/>
|
764 |
+
<value>application/msword</value>
|
765 |
+
<a:documentation xmlns:a="http://relaxng.org/ns/compatibility/annotations/1.0"/>
|
766 |
+
<value>application/vnd.openxmlformats-officedocument.wordprocessingml.document</value>
|
767 |
+
<a:documentation xmlns:a="http://relaxng.org/ns/compatibility/annotations/1.0"/>
|
768 |
+
<value>text/csv</value>
|
769 |
+
<a:documentation xmlns:a="http://relaxng.org/ns/compatibility/annotations/1.0"/>
|
770 |
+
</choice>
|
771 |
+
</attribute>
|
772 |
+
<attribute name="source">
|
773 |
+
<a:documentation xmlns:a="http://relaxng.org/ns/compatibility/annotations/1.0"/>
|
774 |
+
<data type="string"/>
|
775 |
+
</attribute>
|
776 |
+
<empty/>
|
777 |
+
</element>
|
778 |
+
</define>
|
779 |
+
<define name="author">
|
780 |
+
<element name="author">
|
781 |
+
<a:documentation xmlns:a="http://relaxng.org/ns/compatibility/annotations/1.0">Author name [3.11.2.2. Titles, Authors, and Editors 2.2.1. The Title Statement]</a:documentation>
|
782 |
+
<choice>
|
783 |
+
<text/>
|
784 |
+
</choice>
|
785 |
+
<ref name="att.global.attributes"/>
|
786 |
+
<empty/>
|
787 |
+
</element>
|
788 |
+
</define>
|
789 |
+
<define name="editor">
|
790 |
+
<element name="editor">
|
791 |
+
<a:documentation xmlns:a="http://relaxng.org/ns/compatibility/annotations/1.0">Translator desciption [3.11.2.2. Titles, Authors, and Editors]</a:documentation>
|
792 |
+
<choice>
|
793 |
+
<text/>
|
794 |
+
</choice>
|
795 |
+
<ref name="att.global.attributes"/>
|
796 |
+
<attribute name="role">
|
797 |
+
<a:documentation xmlns:a="http://relaxng.org/ns/compatibility/annotations/1.0">Role translator</a:documentation>
|
798 |
+
<data type="token">
|
799 |
+
<param name="pattern">[^\p{C}\p{Z}]+</param>
|
800 |
+
</data>
|
801 |
+
</attribute>
|
802 |
+
<empty/>
|
803 |
+
</element>
|
804 |
+
</define>
|
805 |
+
<define name="respStmt">
|
806 |
+
<element name="respStmt">
|
807 |
+
<a:documentation xmlns:a="http://relaxng.org/ns/compatibility/annotations/1.0">(statement of responsibility) Credits for work with corpus file - Name of researchers and work performed (before or after creation) with this corpus file. [3.11.2.2. Titles, Authors, and Editors 2.2.1. The Title Statement 2.2.2. The Edition Statement 2.2.5. The Series Statement]</a:documentation>
|
808 |
+
<group>
|
809 |
+
<ref name="resp"/>
|
810 |
+
<oneOrMore>
|
811 |
+
<ref name="name"/>
|
812 |
+
</oneOrMore>
|
813 |
+
</group>
|
814 |
+
<ref name="att.global.attributes"/>
|
815 |
+
<ref name="att.canonical.attributes"/>
|
816 |
+
<empty/>
|
817 |
+
</element>
|
818 |
+
</define>
|
819 |
+
<define name="resp">
|
820 |
+
<element name="resp">
|
821 |
+
<a:documentation xmlns:a="http://relaxng.org/ns/compatibility/annotations/1.0">(responsibility) Work description (before or after creation) with this corpus file. [3.11.2.2. Titles, Authors, and Editors 2.2.1. The Title Statement 2.2.2. The Edition Statement 2.2.5. The Series Statement]</a:documentation>
|
822 |
+
<text/>
|
823 |
+
<ref name="att.global.attributes"/>
|
824 |
+
<ref name="att.canonical.attributes"/>
|
825 |
+
<ref name="att.datable.attributes"/>
|
826 |
+
<empty/>
|
827 |
+
</element>
|
828 |
+
</define>
|
829 |
+
<define name="title">
|
830 |
+
<element name="title">
|
831 |
+
<a:documentation xmlns:a="http://relaxng.org/ns/compatibility/annotations/1.0">Name of the file created in the corpus or title of source document or name of corpus [3.11.2.2. Titles, Authors, and Editors 2.2.1. The Title Statement 2.2.5. The Series Statement]</a:documentation>
|
832 |
+
<choice>
|
833 |
+
<text/>
|
834 |
+
<group>
|
835 |
+
<ref name="name"/>
|
836 |
+
<ref name="media"/>
|
837 |
+
</group>
|
838 |
+
</choice>
|
839 |
+
<ref name="att.global.attributes"/>
|
840 |
+
<ref name="att.canonical.attributes"/>
|
841 |
+
<ref name="att.datable.attributes"/>
|
842 |
+
<optional>
|
843 |
+
<attribute name="type">
|
844 |
+
<a:documentation xmlns:a="http://relaxng.org/ns/compatibility/annotations/1.0">"Main" for title and "sub" for version of corpus</a:documentation>
|
845 |
+
<choice>
|
846 |
+
<value>main</value>
|
847 |
+
<a:documentation xmlns:a="http://relaxng.org/ns/compatibility/annotations/1.0"/>
|
848 |
+
<value>sub</value>
|
849 |
+
<a:documentation xmlns:a="http://relaxng.org/ns/compatibility/annotations/1.0"/>
|
850 |
+
</choice>
|
851 |
+
</attribute>
|
852 |
+
</optional>
|
853 |
+
<empty/>
|
854 |
+
</element>
|
855 |
+
</define>
|
856 |
+
<define name="publisher">
|
857 |
+
<element name="publisher">
|
858 |
+
<a:documentation xmlns:a="http://relaxng.org/ns/compatibility/annotations/1.0">provides the name of the organization responsible for the publication or distribution of a bibliographic item. [3.11.2.4. Imprint, Size of a Document, and Reprint Information 2.2.4. Publication, Distribution, Licensing, etc.]</a:documentation>
|
859 |
+
<choice>
|
860 |
+
<text/>
|
861 |
+
</choice>
|
862 |
+
<ref name="att.global.attributes"/>
|
863 |
+
<ref name="att.canonical.attributes"/>
|
864 |
+
<empty/>
|
865 |
+
</element>
|
866 |
+
</define>
|
867 |
+
<define name="biblScope">
|
868 |
+
<element name="biblScope">
|
869 |
+
<a:documentation xmlns:a="http://relaxng.org/ns/compatibility/annotations/1.0">(scope of bibliographic reference) Part - If the document is a part of a collection or series, it refers to which part it corresponds to (eg: section in a newspaper) [3.11.2.5. Scopes and Ranges in Bibliographic Citations]</a:documentation>
|
870 |
+
<choice>
|
871 |
+
<text/>
|
872 |
+
</choice>
|
873 |
+
<ref name="att.global.attributes"/>
|
874 |
+
<empty/>
|
875 |
+
</element>
|
876 |
+
</define>
|
877 |
+
<define name="teiCorpus">
|
878 |
+
<element name="teiCorpus">
|
879 |
+
<a:documentation xmlns:a="http://relaxng.org/ns/compatibility/annotations/1.0">Root element [4. Default Text Structure 15.1. Varieties of Composite Text]</a:documentation>
|
880 |
+
<group>
|
881 |
+
<ref name="teiHeader"/>
|
882 |
+
<oneOrMore>
|
883 |
+
<ref name="TEI"/>
|
884 |
+
</oneOrMore>
|
885 |
+
</group>
|
886 |
+
<ref name="att.global.attributes"/>
|
887 |
+
<optional>
|
888 |
+
<attribute name="version">
|
889 |
+
<a:documentation xmlns:a="http://relaxng.org/ns/compatibility/annotations/1.0">specifies the version number of the TEI Guidelines against which this document is valid.</a:documentation>
|
890 |
+
<data type="token">
|
891 |
+
<param name="pattern">[\d]+(\.[\d]+){0,2}</param>
|
892 |
+
</data>
|
893 |
+
</attribute>
|
894 |
+
</optional>
|
895 |
+
<empty/>
|
896 |
+
</element>
|
897 |
+
</define>
|
898 |
+
<define name="teiHeader">
|
899 |
+
<element name="teiHeader">
|
900 |
+
<a:documentation xmlns:a="http://relaxng.org/ns/compatibility/annotations/1.0">(TEI header) supplies descriptive and declarative metadata associated with a digital resource or set of resources. [2.1.1. The TEI Header and Its Components 15.1. Varieties of Composite Text]</a:documentation>
|
901 |
+
<group>
|
902 |
+
<ref name="fileDesc"/>
|
903 |
+
<choice>
|
904 |
+
<ref name="encodingDesc"/>
|
905 |
+
<ref name="profileDesc"/>
|
906 |
+
</choice>
|
907 |
+
</group>
|
908 |
+
<ref name="att.global.attributes"/>
|
909 |
+
<empty/>
|
910 |
+
</element>
|
911 |
+
</define>
|
912 |
+
<define name="fileDesc">
|
913 |
+
<element name="fileDesc">
|
914 |
+
<a:documentation xmlns:a="http://relaxng.org/ns/compatibility/annotations/1.0">(file description) contains a full bibliographic description of an electronic file. [2.2. The File Description 2.1.1. The TEI Header and Its Components]</a:documentation>
|
915 |
+
<group>
|
916 |
+
<ref name="titleStmt"/>
|
917 |
+
<optional>
|
918 |
+
<ref name="extent"/>
|
919 |
+
</optional>
|
920 |
+
<ref name="publicationStmt"/>
|
921 |
+
<optional>
|
922 |
+
<ref name="seriesStmt"/>
|
923 |
+
</optional>
|
924 |
+
<ref name="sourceDesc"/>
|
925 |
+
</group>
|
926 |
+
<ref name="att.global.attributes"/>
|
927 |
+
<empty/>
|
928 |
+
</element>
|
929 |
+
</define>
|
930 |
+
<define name="titleStmt">
|
931 |
+
<element name="titleStmt">
|
932 |
+
<a:documentation xmlns:a="http://relaxng.org/ns/compatibility/annotations/1.0">(title statement) groups information about the title of a work and those responsible for its content. [2.2.1. The Title Statement 2.2. The File Description]</a:documentation>
|
933 |
+
<choice>
|
934 |
+
<group>
|
935 |
+
<group>
|
936 |
+
<ref name="title"/>
|
937 |
+
<optional>
|
938 |
+
<ref name="title"/>
|
939 |
+
</optional>
|
940 |
+
</group>
|
941 |
+
<group>
|
942 |
+
<optional>
|
943 |
+
<ref name="respStmt"/>
|
944 |
+
</optional>
|
945 |
+
<optional>
|
946 |
+
<ref name="respStmt"/>
|
947 |
+
<optional>
|
948 |
+
<ref name="respStmt"/>
|
949 |
+
<optional>
|
950 |
+
<ref name="respStmt"/>
|
951 |
+
</optional>
|
952 |
+
</optional>
|
953 |
+
</optional>
|
954 |
+
</group>
|
955 |
+
</group>
|
956 |
+
<group>
|
957 |
+
<ref name="title"/>
|
958 |
+
<ref name="author"/>
|
959 |
+
<ref name="editor"/>
|
960 |
+
<ref name="sponsor"/>
|
961 |
+
</group>
|
962 |
+
</choice>
|
963 |
+
<ref name="att.global.attributes"/>
|
964 |
+
<empty/>
|
965 |
+
</element>
|
966 |
+
</define>
|
967 |
+
<define name="sponsor">
|
968 |
+
<element name="sponsor">
|
969 |
+
<a:documentation xmlns:a="http://relaxng.org/ns/compatibility/annotations/1.0">Sponsor (Institution creating or responsible for the publication of the source document) [2.2.1. The Title Statement]</a:documentation>
|
970 |
+
<text/>
|
971 |
+
<ref name="att.global.attributes"/>
|
972 |
+
<ref name="att.canonical.attributes"/>
|
973 |
+
<empty/>
|
974 |
+
</element>
|
975 |
+
</define>
|
976 |
+
<define name="extent">
|
977 |
+
<element name="extent">
|
978 |
+
<a:documentation xmlns:a="http://relaxng.org/ns/compatibility/annotations/1.0">Sizes [2.2.3. Type and Extent of File 2.2. The File Description 3.11.2.4. Imprint, Size of a Document, and Reprint Information 10.7.1. Object Description]</a:documentation>
|
979 |
+
<group>
|
980 |
+
<ref name="measure"/>
|
981 |
+
<optional>
|
982 |
+
<ref name="measure"/>
|
983 |
+
<optional>
|
984 |
+
<ref name="measure"/>
|
985 |
+
</optional>
|
986 |
+
</optional>
|
987 |
+
</group>
|
988 |
+
<ref name="att.global.attributes"/>
|
989 |
+
<empty/>
|
990 |
+
</element>
|
991 |
+
</define>
|
992 |
+
<define name="publicationStmt">
|
993 |
+
<element name="publicationStmt">
|
994 |
+
<a:documentation xmlns:a="http://relaxng.org/ns/compatibility/annotations/1.0">(publication statement) groups information concerning the publication or distribution of an electronic or other text. [2.2.4. Publication, Distribution, Licensing, etc. 2.2. The File Description]</a:documentation>
|
995 |
+
<choice>
|
996 |
+
<ref name="authority"/>
|
997 |
+
<group>
|
998 |
+
<ref name="publisher"/>
|
999 |
+
<ref name="authority"/>
|
1000 |
+
<ref name="date"/>
|
1001 |
+
<ref name="availability"/>
|
1002 |
+
<ref name="address"/>
|
1003 |
+
</group>
|
1004 |
+
<group>
|
1005 |
+
<ref name="authority"/>
|
1006 |
+
<ref name="date"/>
|
1007 |
+
<ref name="availability"/>
|
1008 |
+
</group>
|
1009 |
+
</choice>
|
1010 |
+
<ref name="att.global.attributes"/>
|
1011 |
+
<empty/>
|
1012 |
+
</element>
|
1013 |
+
</define>
|
1014 |
+
<define name="authority">
|
1015 |
+
<element name="authority">
|
1016 |
+
<a:documentation xmlns:a="http://relaxng.org/ns/compatibility/annotations/1.0">(release authority) Authority responsible for the source document [2.2.4. Publication, Distribution, Licensing, etc.]</a:documentation>
|
1017 |
+
<text/>
|
1018 |
+
<ref name="att.global.attributes"/>
|
1019 |
+
<ref name="att.canonical.attributes"/>
|
1020 |
+
<empty/>
|
1021 |
+
</element>
|
1022 |
+
</define>
|
1023 |
+
<define name="availability">
|
1024 |
+
<element name="availability">
|
1025 |
+
<a:documentation xmlns:a="http://relaxng.org/ns/compatibility/annotations/1.0">Access conditions for the source document (public, under authorization, etc ...) [2.2.4. Publication, Distribution, Licensing, etc.]</a:documentation>
|
1026 |
+
<ref name="licence"/>
|
1027 |
+
<ref name="att.global.attributes"/>
|
1028 |
+
<attribute name="status">
|
1029 |
+
<a:documentation xmlns:a="http://relaxng.org/ns/compatibility/annotations/1.0">Access conditions for the source document (public, under authorization, etc ...)</a:documentation>
|
1030 |
+
<choice>
|
1031 |
+
<value>restricted</value>
|
1032 |
+
<a:documentation xmlns:a="http://relaxng.org/ns/compatibility/annotations/1.0"/>
|
1033 |
+
<value>free</value>
|
1034 |
+
<a:documentation xmlns:a="http://relaxng.org/ns/compatibility/annotations/1.0"/>
|
1035 |
+
</choice>
|
1036 |
+
</attribute>
|
1037 |
+
<empty/>
|
1038 |
+
</element>
|
1039 |
+
</define>
|
1040 |
+
<define name="licence">
|
1041 |
+
<element name="licence">
|
1042 |
+
<a:documentation xmlns:a="http://relaxng.org/ns/compatibility/annotations/1.0">License type of the source document (Public domain, Creative Commons, etc.) [2.2.4. Publication, Distribution, Licensing, etc.]</a:documentation>
|
1043 |
+
<text/>
|
1044 |
+
<ref name="att.global.attributes"/>
|
1045 |
+
<ref name="att.datable.attributes"/>
|
1046 |
+
<attribute name="target">
|
1047 |
+
<a:documentation xmlns:a="http://relaxng.org/ns/compatibility/annotations/1.0">URL from licence</a:documentation>
|
1048 |
+
<list>
|
1049 |
+
<oneOrMore>
|
1050 |
+
<data type="anyURI"/>
|
1051 |
+
</oneOrMore>
|
1052 |
+
</list>
|
1053 |
+
</attribute>
|
1054 |
+
<empty/>
|
1055 |
+
</element>
|
1056 |
+
</define>
|
1057 |
+
<define name="seriesStmt">
|
1058 |
+
<element name="seriesStmt">
|
1059 |
+
<a:documentation xmlns:a="http://relaxng.org/ns/compatibility/annotations/1.0">(series statement) Collection -If the document is part of a collection or series, the reference is made to the collection it belongs to [2.2.5. The Series Statement 2.2. The File Description]</a:documentation>
|
1060 |
+
<ref name="title"/>
|
1061 |
+
<ref name="biblScope"/>
|
1062 |
+
<ref name="att.global.attributes"/>
|
1063 |
+
<empty/>
|
1064 |
+
</element>
|
1065 |
+
</define>
|
1066 |
+
<define name="sourceDesc">
|
1067 |
+
<element name="sourceDesc">
|
1068 |
+
<a:documentation xmlns:a="http://relaxng.org/ns/compatibility/annotations/1.0">(source description) Source informations [2.2.7. The Source Description]</a:documentation>
|
1069 |
+
<choice>
|
1070 |
+
<ref name="p"/>
|
1071 |
+
<ref name="biblFull"/>
|
1072 |
+
</choice>
|
1073 |
+
<ref name="att.global.attributes"/>
|
1074 |
+
<empty/>
|
1075 |
+
</element>
|
1076 |
+
</define>
|
1077 |
+
<define name="biblFull">
|
1078 |
+
<element name="biblFull">
|
1079 |
+
<a:documentation xmlns:a="http://relaxng.org/ns/compatibility/annotations/1.0">(fully-structured bibliographic citation) contains a fully-structured bibliographic citation, in which all components of the TEI file description are present. [3.11.1. Methods of Encoding Bibliographic References and Lists of References 2.2. The File Description 2.2.7. The Source Description 15.3.2. Declarable Elements]</a:documentation>
|
1080 |
+
<group>
|
1081 |
+
<ref name="fileDesc"/>
|
1082 |
+
<ref name="profileDesc"/>
|
1083 |
+
</group>
|
1084 |
+
<ref name="att.global.attributes"/>
|
1085 |
+
<empty/>
|
1086 |
+
</element>
|
1087 |
+
</define>
|
1088 |
+
<define name="encodingDesc">
|
1089 |
+
<element name="encodingDesc">
|
1090 |
+
<a:documentation xmlns:a="http://relaxng.org/ns/compatibility/annotations/1.0">(encoding description) documents the relationship between an electronic text and the source or sources from which it was derived. [2.3. The Encoding Description 2.1.1. The TEI Header and Its Components]</a:documentation>
|
1091 |
+
<group>
|
1092 |
+
<ref name="projectDesc"/>
|
1093 |
+
<ref name="classDecl"/>
|
1094 |
+
</group>
|
1095 |
+
<ref name="att.global.attributes"/>
|
1096 |
+
<empty/>
|
1097 |
+
</element>
|
1098 |
+
</define>
|
1099 |
+
<define name="projectDesc">
|
1100 |
+
<element name="projectDesc">
|
1101 |
+
<a:documentation xmlns:a="http://relaxng.org/ns/compatibility/annotations/1.0">(project description) Corpus Project Description [2.3.1. The Project Description 2.3. The Encoding Description 15.3.2. Declarable Elements]</a:documentation>
|
1102 |
+
<oneOrMore>
|
1103 |
+
<ref name="model.pLike"/>
|
1104 |
+
</oneOrMore>
|
1105 |
+
<ref name="att.global.attributes"/>
|
1106 |
+
<empty/>
|
1107 |
+
</element>
|
1108 |
+
</define>
|
1109 |
+
<define name="classDecl">
|
1110 |
+
<element name="classDecl">
|
1111 |
+
<a:documentation xmlns:a="http://relaxng.org/ns/compatibility/annotations/1.0">(classification declarations) Taxonomies declarations [2.3.7. The Classification Declaration 2.3. The Encoding Description]</a:documentation>
|
1112 |
+
<oneOrMore>
|
1113 |
+
<ref name="taxonomy"/>
|
1114 |
+
</oneOrMore>
|
1115 |
+
<ref name="att.global.attributes"/>
|
1116 |
+
<empty/>
|
1117 |
+
</element>
|
1118 |
+
</define>
|
1119 |
+
<define name="taxonomy">
|
1120 |
+
<element name="taxonomy">
|
1121 |
+
<a:documentation xmlns:a="http://relaxng.org/ns/compatibility/annotations/1.0">defines a typology either implicitly, by means of a bibliographic citation, or explicitly by a structured taxonomy. [2.3.7. The Classification Declaration]</a:documentation>
|
1122 |
+
<oneOrMore>
|
1123 |
+
<ref name="category"/>
|
1124 |
+
</oneOrMore>
|
1125 |
+
<ref name="att.global.attributes"/>
|
1126 |
+
<empty/>
|
1127 |
+
</element>
|
1128 |
+
</define>
|
1129 |
+
<define name="category">
|
1130 |
+
<element name="category">
|
1131 |
+
<a:documentation xmlns:a="http://relaxng.org/ns/compatibility/annotations/1.0">Category name [2.3.7. The Classification Declaration]</a:documentation>
|
1132 |
+
<group>
|
1133 |
+
<oneOrMore>
|
1134 |
+
<ref name="catDesc"/>
|
1135 |
+
</oneOrMore>
|
1136 |
+
<zeroOrMore>
|
1137 |
+
<ref name="category"/>
|
1138 |
+
</zeroOrMore>
|
1139 |
+
</group>
|
1140 |
+
<ref name="att.global.attributes"/>
|
1141 |
+
<empty/>
|
1142 |
+
</element>
|
1143 |
+
</define>
|
1144 |
+
<define name="catDesc">
|
1145 |
+
<element name="catDesc">
|
1146 |
+
<a:documentation xmlns:a="http://relaxng.org/ns/compatibility/annotations/1.0">(category description) Category description [2.3.7. The Classification Declaration]</a:documentation>
|
1147 |
+
<text/>
|
1148 |
+
<ref name="att.global.attributes"/>
|
1149 |
+
<ref name="att.canonical.attributes"/>
|
1150 |
+
<attribute name="xml:lang">
|
1151 |
+
<a:documentation xmlns:a="http://relaxng.org/ns/compatibility/annotations/1.0"/>
|
1152 |
+
<choice>
|
1153 |
+
<value>en</value>
|
1154 |
+
<a:documentation xmlns:a="http://relaxng.org/ns/compatibility/annotations/1.0"/>
|
1155 |
+
<value>pt</value>
|
1156 |
+
<a:documentation xmlns:a="http://relaxng.org/ns/compatibility/annotations/1.0"/>
|
1157 |
+
</choice>
|
1158 |
+
</attribute>
|
1159 |
+
<empty/>
|
1160 |
+
</element>
|
1161 |
+
</define>
|
1162 |
+
<define name="profileDesc">
|
1163 |
+
<element name="profileDesc">
|
1164 |
+
<a:documentation xmlns:a="http://relaxng.org/ns/compatibility/annotations/1.0">(text-profile description) provides a detailed description of non-bibliographic aspects of a text, specifically the languages and sublanguages used, the situation in which it was produced, the participants and their setting. [2.4. The Profile Description 2.1.1. The TEI Header and Its Components]</a:documentation>
|
1165 |
+
<choice>
|
1166 |
+
<group>
|
1167 |
+
<ref name="textDesc"/>
|
1168 |
+
<ref name="textClass"/>
|
1169 |
+
<ref name="langUsage"/>
|
1170 |
+
</group>
|
1171 |
+
<ref name="textClass"/>
|
1172 |
+
</choice>
|
1173 |
+
<ref name="att.global.attributes"/>
|
1174 |
+
<empty/>
|
1175 |
+
</element>
|
1176 |
+
</define>
|
1177 |
+
<define name="langUsage">
|
1178 |
+
<element name="langUsage">
|
1179 |
+
<a:documentation xmlns:a="http://relaxng.org/ns/compatibility/annotations/1.0">(language usage) Linguistic variety (regional) indicated in the source document [2.4.2. Language Usage 2.4. The Profile Description 15.3.2. Declarable Elements]</a:documentation>
|
1180 |
+
<ref name="language"/>
|
1181 |
+
<ref name="att.global.attributes"/>
|
1182 |
+
<empty/>
|
1183 |
+
</element>
|
1184 |
+
</define>
|
1185 |
+
<define name="language">
|
1186 |
+
<element name="language">
|
1187 |
+
<a:documentation xmlns:a="http://relaxng.org/ns/compatibility/annotations/1.0">characterizes a single language or sublanguage used within a text. [2.4.2. Language Usage]</a:documentation>
|
1188 |
+
<choice>
|
1189 |
+
<text/>
|
1190 |
+
</choice>
|
1191 |
+
<ref name="att.global.attributes"/>
|
1192 |
+
<attribute name="ident">
|
1193 |
+
<a:documentation xmlns:a="http://relaxng.org/ns/compatibility/annotations/1.0">(identifier) Attribute description</a:documentation>
|
1194 |
+
<choice>
|
1195 |
+
<value>pt-BR</value>
|
1196 |
+
<a:documentation xmlns:a="http://relaxng.org/ns/compatibility/annotations/1.0"/>
|
1197 |
+
<value>pt</value>
|
1198 |
+
<a:documentation xmlns:a="http://relaxng.org/ns/compatibility/annotations/1.0"/>
|
1199 |
+
</choice>
|
1200 |
+
</attribute>
|
1201 |
+
<empty/>
|
1202 |
+
</element>
|
1203 |
+
</define>
|
1204 |
+
<define name="textClass">
|
1205 |
+
<element name="textClass">
|
1206 |
+
<a:documentation xmlns:a="http://relaxng.org/ns/compatibility/annotations/1.0">(text classification) Carolina typology [2.4.3. The Text Classification]</a:documentation>
|
1207 |
+
<ref name="catRef"/>
|
1208 |
+
<ref name="att.global.attributes"/>
|
1209 |
+
<empty/>
|
1210 |
+
</element>
|
1211 |
+
</define>
|
1212 |
+
<define name="catRef">
|
1213 |
+
<element name="catRef">
|
1214 |
+
<a:documentation xmlns:a="http://relaxng.org/ns/compatibility/annotations/1.0">(category reference) Category Reference [2.4.3. The Text Classification]</a:documentation>
|
1215 |
+
<empty/>
|
1216 |
+
<ref name="att.global.attributes"/>
|
1217 |
+
<attribute name="target">
|
1218 |
+
<a:documentation xmlns:a="http://relaxng.org/ns/compatibility/annotations/1.0">ID of referenced category</a:documentation>
|
1219 |
+
<list>
|
1220 |
+
<oneOrMore>
|
1221 |
+
<data type="anyURI"/>
|
1222 |
+
</oneOrMore>
|
1223 |
+
</list>
|
1224 |
+
</attribute>
|
1225 |
+
<attribute name="scheme">
|
1226 |
+
<a:documentation xmlns:a="http://relaxng.org/ns/compatibility/annotations/1.0">ID of referenced taxonomy</a:documentation>
|
1227 |
+
<data type="anyURI"/>
|
1228 |
+
</attribute>
|
1229 |
+
<empty/>
|
1230 |
+
</element>
|
1231 |
+
</define>
|
1232 |
+
<define name="TEI">
|
1233 |
+
<element name="TEI">
|
1234 |
+
<a:documentation xmlns:a="http://relaxng.org/ns/compatibility/annotations/1.0">(TEI document) contains a single TEI-conformant document, combining a single TEI header with one or more members of the model.resource class. Multiple <code xmlns="http://www.w3.org/1999/xhtml"><TEI></code> elements may be combined within a <code xmlns="http://www.w3.org/1999/xhtml"><TEI></code> (or <code xmlns="http://www.w3.org/1999/xhtml"><teiCorpus></code>) element. [4. Default Text Structure 15.1. Varieties of Composite Text]</a:documentation>
|
1235 |
+
<group>
|
1236 |
+
<ref name="teiHeader"/>
|
1237 |
+
<ref name="text"/>
|
1238 |
+
</group>
|
1239 |
+
<sch:ns xmlns:sch="http://purl.oclc.org/dsdl/schematron"
|
1240 |
+
xmlns:rng="http://relaxng.org/ns/structure/1.0"
|
1241 |
+
xmlns="http://www.tei-c.org/ns/1.0"
|
1242 |
+
prefix="tei"
|
1243 |
+
uri="http://www.tei-c.org/ns/1.0"/>
|
1244 |
+
<sch:ns xmlns:sch="http://purl.oclc.org/dsdl/schematron"
|
1245 |
+
xmlns:rng="http://relaxng.org/ns/structure/1.0"
|
1246 |
+
xmlns="http://www.tei-c.org/ns/1.0"
|
1247 |
+
prefix="xs"
|
1248 |
+
uri="http://www.w3.org/2001/XMLSchema"/>
|
1249 |
+
<sch:ns xmlns:sch="http://purl.oclc.org/dsdl/schematron"
|
1250 |
+
xmlns:rng="http://relaxng.org/ns/structure/1.0"
|
1251 |
+
xmlns="http://www.tei-c.org/ns/1.0"
|
1252 |
+
prefix="rng"
|
1253 |
+
uri="http://relaxng.org/ns/structure/1.0"/>
|
1254 |
+
<ref name="att.global.attributes"/>
|
1255 |
+
<empty/>
|
1256 |
+
</element>
|
1257 |
+
</define>
|
1258 |
+
<define name="text">
|
1259 |
+
<element name="text">
|
1260 |
+
<a:documentation xmlns:a="http://relaxng.org/ns/compatibility/annotations/1.0">Extracted text from source document [4. Default Text Structure 15.1. Varieties of Composite Text]</a:documentation>
|
1261 |
+
<ref name="body"/>
|
1262 |
+
<ref name="att.global.attributes"/>
|
1263 |
+
<empty/>
|
1264 |
+
</element>
|
1265 |
+
</define>
|
1266 |
+
<define name="body">
|
1267 |
+
<element name="body">
|
1268 |
+
<a:documentation xmlns:a="http://relaxng.org/ns/compatibility/annotations/1.0">(text body) contains the whole body of a single unitary text, excluding any front or back matter. [4. Default Text Structure]</a:documentation>
|
1269 |
+
<ref name="p"/>
|
1270 |
+
<ref name="att.global.attributes"/>
|
1271 |
+
<empty/>
|
1272 |
+
</element>
|
1273 |
+
</define>
|
1274 |
+
<define name="textDesc">
|
1275 |
+
<element name="textDesc">
|
1276 |
+
<a:documentation xmlns:a="http://relaxng.org/ns/compatibility/annotations/1.0">(text description) provides a description of a text in terms of its situational parameters. [15.2.1. The Text Description]</a:documentation>
|
1277 |
+
<group>
|
1278 |
+
<ref name="channel"/>
|
1279 |
+
<ref name="constitution"/>
|
1280 |
+
<ref name="derivation"/>
|
1281 |
+
<ref name="domain"/>
|
1282 |
+
<ref name="factuality"/>
|
1283 |
+
<ref name="interaction"/>
|
1284 |
+
<ref name="preparedness"/>
|
1285 |
+
<ref name="purpose"/>
|
1286 |
+
</group>
|
1287 |
+
<ref name="att.global.attributes"/>
|
1288 |
+
<empty/>
|
1289 |
+
</element>
|
1290 |
+
</define>
|
1291 |
+
<define name="channel">
|
1292 |
+
<element name="channel">
|
1293 |
+
<a:documentation xmlns:a="http://relaxng.org/ns/compatibility/annotations/1.0">(primary channel) Written or oral text (transcribed) [15.2.1. The Text Description]</a:documentation>
|
1294 |
+
<empty/>
|
1295 |
+
<ref name="att.global.attributes"/>
|
1296 |
+
<attribute xmlns:a="http://relaxng.org/ns/compatibility/annotations/1.0"
|
1297 |
+
name="mode"
|
1298 |
+
a:defaultValue="x">
|
1299 |
+
<a:documentation>Written or oral text (transcribed)</a:documentation>
|
1300 |
+
<choice>
|
1301 |
+
<value>w</value>
|
1302 |
+
<a:documentation>written</a:documentation>
|
1303 |
+
<value>s</value>
|
1304 |
+
<a:documentation>spoken</a:documentation>
|
1305 |
+
<value>m</value>
|
1306 |
+
<a:documentation>mixed</a:documentation>
|
1307 |
+
</choice>
|
1308 |
+
</attribute>
|
1309 |
+
<empty/>
|
1310 |
+
</element>
|
1311 |
+
</define>
|
1312 |
+
<define name="constitution">
|
1313 |
+
<element name="constitution">
|
1314 |
+
<a:documentation xmlns:a="http://relaxng.org/ns/compatibility/annotations/1.0">Constitution (integral, fragmented, etc ...) [15.2.1. The Text Description]</a:documentation>
|
1315 |
+
<empty/>
|
1316 |
+
<ref name="att.global.attributes"/>
|
1317 |
+
<attribute xmlns:a="http://relaxng.org/ns/compatibility/annotations/1.0"
|
1318 |
+
name="type"
|
1319 |
+
a:defaultValue="single">
|
1320 |
+
<a:documentation>Constitution (integral, fragmented, etc ...)</a:documentation>
|
1321 |
+
<data type="token">
|
1322 |
+
<param name="pattern">[^\p{C}\p{Z}]+</param>
|
1323 |
+
</data>
|
1324 |
+
</attribute>
|
1325 |
+
<empty/>
|
1326 |
+
</element>
|
1327 |
+
</define>
|
1328 |
+
<define name="derivation">
|
1329 |
+
<element name="derivation">
|
1330 |
+
<a:documentation xmlns:a="http://relaxng.org/ns/compatibility/annotations/1.0">describes the nature and extent of originality of this text. [15.2.1. The Text Description]</a:documentation>
|
1331 |
+
<empty/>
|
1332 |
+
<ref name="att.global.attributes"/>
|
1333 |
+
<empty/>
|
1334 |
+
</element>
|
1335 |
+
</define>
|
1336 |
+
<define name="domain">
|
1337 |
+
<element name="domain">
|
1338 |
+
<a:documentation xmlns:a="http://relaxng.org/ns/compatibility/annotations/1.0">(domain of use) domain of use [15.2.1. The Text Description]</a:documentation>
|
1339 |
+
<text/>
|
1340 |
+
<ref name="att.global.attributes"/>
|
1341 |
+
<empty/>
|
1342 |
+
</element>
|
1343 |
+
</define>
|
1344 |
+
<define name="factuality">
|
1345 |
+
<element name="factuality">
|
1346 |
+
<a:documentation xmlns:a="http://relaxng.org/ns/compatibility/annotations/1.0">describes the extent to which the text may be regarded as imaginative or non-imaginative, that is, as describing a fictional or a non-fictional world. [15.2.1. The Text Description]</a:documentation>
|
1347 |
+
<empty/>
|
1348 |
+
<ref name="att.global.attributes"/>
|
1349 |
+
<empty/>
|
1350 |
+
</element>
|
1351 |
+
</define>
|
1352 |
+
<define name="interaction">
|
1353 |
+
<element name="interaction">
|
1354 |
+
<a:documentation xmlns:a="http://relaxng.org/ns/compatibility/annotations/1.0">describes the extent, cardinality and nature of any interaction among those producing and experiencing the text, for example in the form of response or interjection, commentary, etc. [15.2.1. The Text Description]</a:documentation>
|
1355 |
+
<empty/>
|
1356 |
+
<ref name="att.global.attributes"/>
|
1357 |
+
<empty/>
|
1358 |
+
</element>
|
1359 |
+
</define>
|
1360 |
+
<define name="preparedness">
|
1361 |
+
<element name="preparedness">
|
1362 |
+
<a:documentation xmlns:a="http://relaxng.org/ns/compatibility/annotations/1.0">describes the extent to which a text may be regarded as prepared or spontaneous. [15.2.1. The Text Description]</a:documentation>
|
1363 |
+
<empty/>
|
1364 |
+
<ref name="att.global.attributes"/>
|
1365 |
+
<empty/>
|
1366 |
+
</element>
|
1367 |
+
</define>
|
1368 |
+
<define name="purpose">
|
1369 |
+
<element name="purpose">
|
1370 |
+
<a:documentation xmlns:a="http://relaxng.org/ns/compatibility/annotations/1.0">characterizes a single purpose or communicative function of the text. [15.2.1. The Text Description]</a:documentation>
|
1371 |
+
<empty/>
|
1372 |
+
<ref name="att.global.attributes"/>
|
1373 |
+
<empty/>
|
1374 |
+
</element>
|
1375 |
+
</define>
|
1376 |
+
<define name="att.datable.custom.attributes">
|
1377 |
+
<empty/>
|
1378 |
+
</define>
|
1379 |
+
<define name="model.persNamePart">
|
1380 |
+
<notAllowed/>
|
1381 |
+
</define>
|
1382 |
+
<define name="model.persNamePart_alternation">
|
1383 |
+
<notAllowed/>
|
1384 |
+
</define>
|
1385 |
+
<define name="model.persNamePart_sequence">
|
1386 |
+
<empty/>
|
1387 |
+
</define>
|
1388 |
+
<define name="model.persNamePart_sequenceOptional">
|
1389 |
+
<empty/>
|
1390 |
+
</define>
|
1391 |
+
<define name="model.persNamePart_sequenceOptionalRepeatable">
|
1392 |
+
<empty/>
|
1393 |
+
</define>
|
1394 |
+
<define name="model.persNamePart_sequenceRepeatable">
|
1395 |
+
<notAllowed/>
|
1396 |
+
</define>
|
1397 |
+
<define name="att.datable.iso.attributes">
|
1398 |
+
<empty/>
|
1399 |
+
</define>
|
1400 |
+
<define name="region">
|
1401 |
+
<element name="region">
|
1402 |
+
<a:documentation xmlns:a="http://relaxng.org/ns/compatibility/annotations/1.0">Origin region of source document [13.2.3. Place Names]</a:documentation>
|
1403 |
+
<choice>
|
1404 |
+
<text/>
|
1405 |
+
</choice>
|
1406 |
+
<ref name="att.global.attributes"/>
|
1407 |
+
<ref name="att.datable.attributes"/>
|
1408 |
+
<empty/>
|
1409 |
+
</element>
|
1410 |
+
</define>
|
1411 |
+
<start>
|
1412 |
+
<choice>
|
1413 |
+
<ref name="TEI"/>
|
1414 |
+
<ref name="teiCorpus"/>
|
1415 |
+
</choice>
|
1416 |
+
</start>
|
1417 |
+
<sch:ns xmlns:sch="http://purl.oclc.org/dsdl/schematron"
|
1418 |
+
xmlns="http://www.tei-c.org/ns/1.0"
|
1419 |
+
prefix="tei"
|
1420 |
+
uri="http://www.tei-c.org/ns/1.0"/>
|
1421 |
+
<pattern xmlns="http://purl.oclc.org/dsdl/schematron"
|
1422 |
+
id="tei_carolina_v1-type_title_2-constraint-rule-7">
|
1423 |
+
<sch:rule xmlns:xi="http://www.w3.org/2001/XInclude"
|
1424 |
+
xmlns:rng="http://relaxng.org/ns/structure/1.0"
|
1425 |
+
xmlns:sch="http://purl.oclc.org/dsdl/schematron"
|
1426 |
+
xmlns="http://www.tei-c.org/ns/1.0"
|
1427 |
+
context="tei:teiCorpus/tei:teiHeader/tei:fileDesc/tei:titleStmt/tei:title">
|
1428 |
+
<sch:assert test="@type" role="nonfatal">The @type attribute must be present in this context.</sch:assert>
|
1429 |
+
</sch:rule>
|
1430 |
+
</pattern>
|
1431 |
+
</grammar>
|