tbx 0.1.0
This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
- checksums.yaml +7 -0
- data/.github/workflows/rake.yml +15 -0
- data/.github/workflows/release.yml +29 -0
- data/.gitignore +16 -0
- data/.rspec +3 -0
- data/.rubocop.yml +17 -0
- data/.rubocop_todo.yml +16 -0
- data/CHANGELOG.md +5 -0
- data/CLAUDE.md +124 -0
- data/CODE_OF_CONDUCT.md +10 -0
- data/Gemfile +15 -0
- data/README.adoc +156 -0
- data/Rakefile +12 -0
- data/lib/tbx/admin.rb +35 -0
- data/lib/tbx/admin_grp.rb +25 -0
- data/lib/tbx/admin_note.rb +25 -0
- data/lib/tbx/back.rb +17 -0
- data/lib/tbx/body.rb +17 -0
- data/lib/tbx/change.rb +19 -0
- data/lib/tbx/concept_entry.rb +33 -0
- data/lib/tbx/date.rb +16 -0
- data/lib/tbx/descrip.rb +35 -0
- data/lib/tbx/descrip_grp.rb +31 -0
- data/lib/tbx/descrip_note.rb +25 -0
- data/lib/tbx/document.rb +23 -0
- data/lib/tbx/ec.rb +28 -0
- data/lib/tbx/encoding_desc.rb +17 -0
- data/lib/tbx/file_desc.rb +21 -0
- data/lib/tbx/foreign.rb +29 -0
- data/lib/tbx/hi.rb +19 -0
- data/lib/tbx/item.rb +29 -0
- data/lib/tbx/item_grp.rb +29 -0
- data/lib/tbx/item_set.rb +21 -0
- data/lib/tbx/lang_sec.rb +33 -0
- data/lib/tbx/namespaces.rb +9 -0
- data/lib/tbx/note.rb +29 -0
- data/lib/tbx/p.rb +31 -0
- data/lib/tbx/ph.rb +14 -0
- data/lib/tbx/publication_stmt.rb +17 -0
- data/lib/tbx/ref.rb +25 -0
- data/lib/tbx/ref_object.rb +21 -0
- data/lib/tbx/ref_object_sec.rb +19 -0
- data/lib/tbx/revision_desc.rb +19 -0
- data/lib/tbx/sc.rb +22 -0
- data/lib/tbx/source_desc.rb +19 -0
- data/lib/tbx/tbx_header.rb +21 -0
- data/lib/tbx/term.rb +19 -0
- data/lib/tbx/term_note.rb +35 -0
- data/lib/tbx/term_note_grp.rb +29 -0
- data/lib/tbx/term_sec.rb +37 -0
- data/lib/tbx/text_element.rb +19 -0
- data/lib/tbx/title.rb +19 -0
- data/lib/tbx/title_stmt.rb +21 -0
- data/lib/tbx/transac.rb +25 -0
- data/lib/tbx/transac_grp.rb +27 -0
- data/lib/tbx/transac_note.rb +25 -0
- data/lib/tbx/version.rb +5 -0
- data/lib/tbx/xref.rb +21 -0
- data/lib/tbx.rb +67 -0
- data/reference-docs/schemas/TBX-Basic_DCA.sch +142 -0
- data/reference-docs/schemas/TBX-Basic_dialect_v1/DCA/Example_Astronomy_DCA_VALID.tbx +4032 -0
- data/reference-docs/schemas/TBX-Basic_dialect_v1/DCA/TBX-Basic_DCA.sch +142 -0
- data/reference-docs/schemas/TBX-Basic_dialect_v1/DCT/Example_Astronomy_DCT_VALID.tbx +4021 -0
- data/reference-docs/schemas/TBX-Basic_dialect_v1/DCT/TBX-Basic.nvdl +33 -0
- data/reference-docs/schemas/TBX-Basic_dialect_v1/DCT/TBX-Basic_DCT.sch +48 -0
- data/reference-docs/schemas/TBX-Basic_dialect_v1/Modules/TBX_basic_module/Basic Module Definition.docx +0 -0
- data/reference-docs/schemas/TBX-Basic_dialect_v1/Modules/TBX_basic_module/Basic Module Definition.pdf +0 -0
- data/reference-docs/schemas/TBX-Basic_dialect_v1/Modules/TBX_basic_module/Basic.rng +164 -0
- data/reference-docs/schemas/TBX-Basic_dialect_v1/Modules/TBX_basic_module/Basic.sch +60 -0
- data/reference-docs/schemas/TBX-Basic_dialect_v1/Modules/TBX_basic_module/Basic.tbxmd +125 -0
- data/reference-docs/schemas/TBX-Basic_dialect_v1/Modules/TBX_min_module/Min Module Definition.docx +0 -0
- data/reference-docs/schemas/TBX-Basic_dialect_v1/Modules/TBX_min_module/Min Module Definition.pdf +0 -0
- data/reference-docs/schemas/TBX-Basic_dialect_v1/Modules/TBX_min_module/Min.rng +77 -0
- data/reference-docs/schemas/TBX-Basic_dialect_v1/Modules/TBX_min_module/Min.sch +24 -0
- data/reference-docs/schemas/TBX-Basic_dialect_v1/Modules/TBX_min_module/Min.tbxmd +42 -0
- data/reference-docs/schemas/TBX-Basic_dialect_v1/TBX-Basic Definition.docx +0 -0
- data/reference-docs/schemas/TBX-Basic_dialect_v1/TBX-Basic Definition.pdf +0 -0
- data/reference-docs/schemas/TBX_core.xsd +534 -0
- data/reference-docs/schemas/TBXcoreStructV03.rng +713 -0
- data/tbx.gemspec +35 -0
- metadata +140 -0
|
@@ -0,0 +1,534 @@
|
|
|
1
|
+
<?xml version="1.0" encoding="UTF-8"?>
|
|
2
|
+
<xs:schema xmlns:xs="http://www.w3.org/2001/XMLSchema" elementFormDefault="qualified"
|
|
3
|
+
xmlns="urn:iso:std:iso:30042:ed-2" targetNamespace="urn:iso:std:iso:30042:ed-2"
|
|
4
|
+
xmlns:vc="http://www.w3.org/2007/XMLSchema-versioning" vc:minVersion="1.0">
|
|
5
|
+
<xs:import namespace="http://www.w3.org/XML/1998/namespace"
|
|
6
|
+
schemaLocation="http://www.w3.org/2001/xml.xsd"/>
|
|
7
|
+
|
|
8
|
+
<!-- DCA Extension Point -->
|
|
9
|
+
<xs:group name="dcaElement">
|
|
10
|
+
<xs:sequence>
|
|
11
|
+
<xs:any namespace="##other" processContents="lax"/>
|
|
12
|
+
</xs:sequence>
|
|
13
|
+
</xs:group>
|
|
14
|
+
|
|
15
|
+
<!-- Attribute Classes -->
|
|
16
|
+
<xs:attributeGroup name="id">
|
|
17
|
+
<xs:attribute name="id" type="xs:ID" use="optional"/>
|
|
18
|
+
</xs:attributeGroup>
|
|
19
|
+
<xs:attributeGroup name="lang">
|
|
20
|
+
<xs:attribute ref="xml:lang" use="optional"/>
|
|
21
|
+
</xs:attributeGroup>
|
|
22
|
+
<xs:attributeGroup name="idlang">
|
|
23
|
+
<xs:attributeGroup ref="id"/>
|
|
24
|
+
<xs:attributeGroup ref="lang"/>
|
|
25
|
+
</xs:attributeGroup>
|
|
26
|
+
<xs:attributeGroup name="target-IDREF">
|
|
27
|
+
<xs:attribute name="target" type="xs:IDREF" use="optional"/>
|
|
28
|
+
</xs:attributeGroup>
|
|
29
|
+
<xs:attributeGroup name="IDLangTgtDtyp">
|
|
30
|
+
<xs:attributeGroup ref="id"/>
|
|
31
|
+
<xs:attributeGroup ref="lang"/>
|
|
32
|
+
<xs:attributeGroup ref="target-IDREF"/>
|
|
33
|
+
<xs:attribute name="datatype" type="xs:string" use="optional"/>
|
|
34
|
+
</xs:attributeGroup>
|
|
35
|
+
<xs:attributeGroup name="idtype">
|
|
36
|
+
<xs:attributeGroup ref="id"/>
|
|
37
|
+
<xs:attribute name="type" type="xs:string" use="optional"/>
|
|
38
|
+
</xs:attributeGroup>
|
|
39
|
+
|
|
40
|
+
<!-- Element Entities (This is located below the Elements section in the RNG, but is higher in the XSD for readability.) -->
|
|
41
|
+
<xs:group name="entity.auxInfo">
|
|
42
|
+
<xs:choice>
|
|
43
|
+
<xs:element ref="adminGrp"/>
|
|
44
|
+
<xs:element ref="descripGrp"/>
|
|
45
|
+
<xs:element ref="note"/>
|
|
46
|
+
<xs:element ref="transacGrp"/>
|
|
47
|
+
<xs:choice>
|
|
48
|
+
<xs:element ref="admin"/>
|
|
49
|
+
<xs:element ref="descrip"/>
|
|
50
|
+
<xs:element ref="ref"/>
|
|
51
|
+
<xs:element ref="xref"/>
|
|
52
|
+
<xs:group ref="dcaElement"/>
|
|
53
|
+
</xs:choice>
|
|
54
|
+
</xs:choice>
|
|
55
|
+
</xs:group>
|
|
56
|
+
<xs:group name="entity.noteLinkInfo">
|
|
57
|
+
<xs:choice>
|
|
58
|
+
<xs:element ref="adminGrp"/>
|
|
59
|
+
<xs:element ref="note"/>
|
|
60
|
+
<xs:element ref="transacGrp"/>
|
|
61
|
+
<xs:choice>
|
|
62
|
+
<xs:element ref="admin"/>
|
|
63
|
+
<xs:element ref="ref"/>
|
|
64
|
+
<xs:element ref="xref"/>
|
|
65
|
+
<xs:group ref="dcaElement"/>
|
|
66
|
+
</xs:choice>
|
|
67
|
+
</xs:choice>
|
|
68
|
+
</xs:group>
|
|
69
|
+
<xs:group name="entity.noteText">
|
|
70
|
+
<xs:choice>
|
|
71
|
+
<xs:element ref="ec"/>
|
|
72
|
+
<xs:element ref="foreign"/>
|
|
73
|
+
<xs:element ref="hi"/>
|
|
74
|
+
<xs:element ref="ph"/>
|
|
75
|
+
<xs:element ref="sc"/>
|
|
76
|
+
</xs:choice>
|
|
77
|
+
</xs:group>
|
|
78
|
+
<xs:group name="entity.basicText">
|
|
79
|
+
<xs:choice>
|
|
80
|
+
<xs:element ref="hi"/>
|
|
81
|
+
</xs:choice>
|
|
82
|
+
</xs:group>
|
|
83
|
+
|
|
84
|
+
<!-- Elements -->
|
|
85
|
+
<xs:element name="admin">
|
|
86
|
+
<xs:complexType mixed="true">
|
|
87
|
+
<xs:group ref="entity.noteText" minOccurs="0" maxOccurs="unbounded"/>
|
|
88
|
+
<xs:attributeGroup ref="IDLangTgtDtyp"/>
|
|
89
|
+
<xs:attribute name="type" type="xs:string" use="required"/>
|
|
90
|
+
</xs:complexType>
|
|
91
|
+
</xs:element>
|
|
92
|
+
<xs:element name="adminGrp">
|
|
93
|
+
<xs:complexType>
|
|
94
|
+
<xs:sequence>
|
|
95
|
+
<xs:choice minOccurs="1" maxOccurs="1">
|
|
96
|
+
<xs:element ref="admin"/>
|
|
97
|
+
<xs:group ref="dcaElement"/>
|
|
98
|
+
</xs:choice>
|
|
99
|
+
<xs:choice minOccurs="0" maxOccurs="unbounded">
|
|
100
|
+
<xs:choice>
|
|
101
|
+
<xs:element ref="adminNote"/>
|
|
102
|
+
<xs:element ref="ref"/>
|
|
103
|
+
<xs:element ref="xref"/>
|
|
104
|
+
<xs:group ref="dcaElement"/>
|
|
105
|
+
</xs:choice>
|
|
106
|
+
<xs:element ref="note"/>
|
|
107
|
+
</xs:choice>
|
|
108
|
+
</xs:sequence>
|
|
109
|
+
<xs:attributeGroup ref="id"/>
|
|
110
|
+
</xs:complexType>
|
|
111
|
+
</xs:element>
|
|
112
|
+
<xs:element name="adminNote">
|
|
113
|
+
<xs:complexType mixed="true">
|
|
114
|
+
<xs:attributeGroup ref="IDLangTgtDtyp"/>
|
|
115
|
+
<xs:attribute name="type" type="xs:string" use="required"/>
|
|
116
|
+
</xs:complexType>
|
|
117
|
+
</xs:element>
|
|
118
|
+
<xs:element name="back">
|
|
119
|
+
<xs:complexType>
|
|
120
|
+
<xs:sequence>
|
|
121
|
+
<xs:element ref="refObjectSec" minOccurs="0" maxOccurs="unbounded"/>
|
|
122
|
+
</xs:sequence>
|
|
123
|
+
<xs:attributeGroup ref="id"/>
|
|
124
|
+
</xs:complexType>
|
|
125
|
+
</xs:element>
|
|
126
|
+
<xs:element name="body">
|
|
127
|
+
<xs:complexType>
|
|
128
|
+
<xs:sequence>
|
|
129
|
+
<xs:element ref="conceptEntry" minOccurs="1" maxOccurs="unbounded"/>
|
|
130
|
+
</xs:sequence>
|
|
131
|
+
<xs:attributeGroup ref="id"/>
|
|
132
|
+
</xs:complexType>
|
|
133
|
+
</xs:element>
|
|
134
|
+
<xs:element name="change">
|
|
135
|
+
<xs:complexType>
|
|
136
|
+
<xs:sequence>
|
|
137
|
+
<xs:element ref="p" minOccurs="1" maxOccurs="unbounded"/>
|
|
138
|
+
</xs:sequence>
|
|
139
|
+
<xs:attributeGroup ref="idlang"/>
|
|
140
|
+
</xs:complexType>
|
|
141
|
+
</xs:element>
|
|
142
|
+
<xs:element name="conceptEntry">
|
|
143
|
+
<xs:complexType>
|
|
144
|
+
<xs:sequence>
|
|
145
|
+
<xs:group ref="entity.auxInfo" minOccurs="0" maxOccurs="unbounded"/>
|
|
146
|
+
<xs:element ref="langSec" minOccurs="1" maxOccurs="unbounded"/>
|
|
147
|
+
</xs:sequence>
|
|
148
|
+
<xs:attribute name="id" type="xs:ID" use="required"/>
|
|
149
|
+
</xs:complexType>
|
|
150
|
+
</xs:element>
|
|
151
|
+
<xs:element name="date">
|
|
152
|
+
<xs:simpleType>
|
|
153
|
+
<xs:restriction base="xs:string">
|
|
154
|
+
<xs:pattern value="\d{4}-\d{2}-\d{2}(T\d{2}:\d{2}:\d{2})?">
|
|
155
|
+
<xs:annotation>
|
|
156
|
+
<xs:documentation>Must conform to either "xs:date" or "xs:dateTime"
|
|
157
|
+
datatypes.</xs:documentation>
|
|
158
|
+
</xs:annotation>
|
|
159
|
+
</xs:pattern>
|
|
160
|
+
</xs:restriction>
|
|
161
|
+
</xs:simpleType>
|
|
162
|
+
</xs:element>
|
|
163
|
+
<xs:element name="descrip">
|
|
164
|
+
<xs:complexType mixed="true">
|
|
165
|
+
<xs:group ref="entity.noteText" minOccurs="0" maxOccurs="unbounded"/>
|
|
166
|
+
<xs:attributeGroup ref="IDLangTgtDtyp"/>
|
|
167
|
+
<xs:attribute name="type" type="xs:string" use="required"/>
|
|
168
|
+
</xs:complexType>
|
|
169
|
+
</xs:element>
|
|
170
|
+
<xs:element name="descripGrp">
|
|
171
|
+
<xs:complexType>
|
|
172
|
+
<xs:sequence>
|
|
173
|
+
<xs:choice minOccurs="1" maxOccurs="1">
|
|
174
|
+
<xs:element ref="descrip"/>
|
|
175
|
+
<xs:group ref="dcaElement"/>
|
|
176
|
+
</xs:choice>
|
|
177
|
+
<xs:choice minOccurs="0" maxOccurs="unbounded">
|
|
178
|
+
<xs:element ref="adminGrp"/>
|
|
179
|
+
<xs:element ref="note"/>
|
|
180
|
+
<xs:element ref="transacGrp"/>
|
|
181
|
+
<xs:choice>
|
|
182
|
+
<xs:element ref="admin"/>
|
|
183
|
+
<xs:element ref="descripNote"/>
|
|
184
|
+
<xs:element ref="ref"/>
|
|
185
|
+
<xs:element ref="xref"/>
|
|
186
|
+
<xs:group ref="dcaElement"/>
|
|
187
|
+
</xs:choice>
|
|
188
|
+
</xs:choice>
|
|
189
|
+
</xs:sequence>
|
|
190
|
+
<xs:attributeGroup ref="id"/>
|
|
191
|
+
</xs:complexType>
|
|
192
|
+
</xs:element>
|
|
193
|
+
<xs:element name="descripNote">
|
|
194
|
+
<xs:complexType mixed="true">
|
|
195
|
+
<xs:attributeGroup ref="IDLangTgtDtyp"/>
|
|
196
|
+
<xs:attribute name="type" type="xs:string" use="required"/>
|
|
197
|
+
</xs:complexType>
|
|
198
|
+
</xs:element>
|
|
199
|
+
<xs:element name="ec">
|
|
200
|
+
<xs:complexType>
|
|
201
|
+
<xs:attribute name="startRef" type="xs:IDREF" use="optional"/>
|
|
202
|
+
<xs:attribute name="isolated" use="optional">
|
|
203
|
+
<xs:simpleType>
|
|
204
|
+
<xs:restriction base="xs:string">
|
|
205
|
+
<xs:enumeration value="yes"/>
|
|
206
|
+
<xs:enumeration value="no"/>
|
|
207
|
+
</xs:restriction>
|
|
208
|
+
</xs:simpleType>
|
|
209
|
+
</xs:attribute>
|
|
210
|
+
<xs:attribute name="disp" use="optional"/>
|
|
211
|
+
<xs:attribute name="equiv" use="optional"/>
|
|
212
|
+
<xs:attribute name="id" type="xs:ID" use="optional"/>
|
|
213
|
+
<xs:attribute name="type" use="optional">
|
|
214
|
+
<xs:simpleType>
|
|
215
|
+
<xs:restriction base="xs:string">
|
|
216
|
+
<xs:enumeration value="fmt"/>
|
|
217
|
+
<xs:enumeration value="ui"/>
|
|
218
|
+
<xs:enumeration value="quote"/>
|
|
219
|
+
<xs:enumeration value="link"/>
|
|
220
|
+
<xs:enumeration value="image"/>
|
|
221
|
+
<xs:enumeration value="other"/>
|
|
222
|
+
</xs:restriction>
|
|
223
|
+
</xs:simpleType>
|
|
224
|
+
</xs:attribute>
|
|
225
|
+
<xs:attribute name="subtype" use="optional"/>
|
|
226
|
+
<xs:attribute name="target" use="optional"/>
|
|
227
|
+
<!--<xs:assert test="if (exists(@startRef)) then if (@isolated='no' or not(exists(@isolated))) then true() else false() else if (@isolated='yes') then true() else false()"/>-->
|
|
228
|
+
|
|
229
|
+
</xs:complexType>
|
|
230
|
+
</xs:element>
|
|
231
|
+
<xs:element name="encodingDesc">
|
|
232
|
+
<xs:complexType>
|
|
233
|
+
<xs:sequence>
|
|
234
|
+
<xs:element ref="p" minOccurs="1" maxOccurs="unbounded"/>
|
|
235
|
+
</xs:sequence>
|
|
236
|
+
<xs:attributeGroup ref="id"/>
|
|
237
|
+
</xs:complexType>
|
|
238
|
+
</xs:element>
|
|
239
|
+
<xs:element name="fileDesc">
|
|
240
|
+
<xs:complexType>
|
|
241
|
+
<xs:sequence>
|
|
242
|
+
<xs:element ref="publicationStmt" minOccurs="0" maxOccurs="1"/>
|
|
243
|
+
<xs:element ref="titleStmt" minOccurs="0" maxOccurs="1"/>
|
|
244
|
+
<xs:element ref="sourceDesc" minOccurs="1" maxOccurs="1"/>
|
|
245
|
+
</xs:sequence>
|
|
246
|
+
<xs:attributeGroup ref="id"/>
|
|
247
|
+
</xs:complexType>
|
|
248
|
+
</xs:element>
|
|
249
|
+
<xs:element name="foreign">
|
|
250
|
+
<xs:complexType mixed="true">
|
|
251
|
+
<xs:group ref="entity.noteText" minOccurs="0" maxOccurs="unbounded"/>
|
|
252
|
+
<xs:attributeGroup ref="idlang"/>
|
|
253
|
+
</xs:complexType>
|
|
254
|
+
</xs:element>
|
|
255
|
+
<xs:element name="hi">
|
|
256
|
+
<xs:complexType mixed="true">
|
|
257
|
+
<xs:attributeGroup ref="target-IDREF"/>
|
|
258
|
+
<xs:attribute name="type" use="optional">
|
|
259
|
+
<xs:simpleType>
|
|
260
|
+
<xs:restriction base="xs:string">
|
|
261
|
+
<xs:enumeration value="entailedTerm"/>
|
|
262
|
+
<xs:enumeration value="hotkey"/>
|
|
263
|
+
<xs:enumeration value="italics"/>
|
|
264
|
+
<xs:enumeration value="bold"/>
|
|
265
|
+
<xs:enumeration value="superscript"/>
|
|
266
|
+
<xs:enumeration value="subscript"/>
|
|
267
|
+
<xs:enumeration value="math"/>
|
|
268
|
+
</xs:restriction>
|
|
269
|
+
</xs:simpleType>
|
|
270
|
+
</xs:attribute>
|
|
271
|
+
</xs:complexType>
|
|
272
|
+
</xs:element>
|
|
273
|
+
<xs:element name="item">
|
|
274
|
+
<xs:complexType mixed="true">
|
|
275
|
+
<xs:group ref="entity.noteText" minOccurs="0" maxOccurs="unbounded"/>
|
|
276
|
+
<xs:attributeGroup ref="idtype"/>
|
|
277
|
+
</xs:complexType>
|
|
278
|
+
</xs:element>
|
|
279
|
+
<xs:element name="itemGrp">
|
|
280
|
+
<xs:complexType>
|
|
281
|
+
<xs:sequence>
|
|
282
|
+
<xs:element ref="item"/>
|
|
283
|
+
<xs:group ref="entity.noteLinkInfo" minOccurs="0" maxOccurs="1"/>
|
|
284
|
+
</xs:sequence>
|
|
285
|
+
<xs:attributeGroup ref="id"/>
|
|
286
|
+
</xs:complexType>
|
|
287
|
+
</xs:element>
|
|
288
|
+
<xs:element name="itemSet">
|
|
289
|
+
<xs:complexType>
|
|
290
|
+
<xs:choice minOccurs="1" maxOccurs="unbounded">
|
|
291
|
+
<xs:element ref="itemGrp"/>
|
|
292
|
+
<xs:element ref="item"/>
|
|
293
|
+
</xs:choice>
|
|
294
|
+
<xs:attributeGroup ref="idtype"/>
|
|
295
|
+
</xs:complexType>
|
|
296
|
+
</xs:element>
|
|
297
|
+
<xs:element name="langSec">
|
|
298
|
+
<xs:complexType>
|
|
299
|
+
<xs:sequence>
|
|
300
|
+
<xs:group ref="entity.auxInfo" minOccurs="0" maxOccurs="unbounded"/>
|
|
301
|
+
<xs:element ref="termSec" minOccurs="1" maxOccurs="unbounded"/>
|
|
302
|
+
</xs:sequence>
|
|
303
|
+
<xs:attribute ref="xml:lang" use="required"/>
|
|
304
|
+
</xs:complexType>
|
|
305
|
+
</xs:element>
|
|
306
|
+
<xs:element name="note">
|
|
307
|
+
<xs:complexType mixed="true">
|
|
308
|
+
<xs:group ref="entity.noteText" minOccurs="0" maxOccurs="unbounded"/>
|
|
309
|
+
<xs:attributeGroup ref="idlang"/>
|
|
310
|
+
</xs:complexType>
|
|
311
|
+
</xs:element>
|
|
312
|
+
<xs:element name="p">
|
|
313
|
+
<xs:complexType mixed="true">
|
|
314
|
+
<xs:group ref="entity.noteText" minOccurs="0" maxOccurs="unbounded"/>
|
|
315
|
+
<xs:attributeGroup ref="idlang"/>
|
|
316
|
+
<xs:attribute name="type" type="xs:string" use="optional"/>
|
|
317
|
+
</xs:complexType>
|
|
318
|
+
</xs:element>
|
|
319
|
+
<xs:element name="ph">
|
|
320
|
+
<xs:complexType>
|
|
321
|
+
<xs:attribute name="type" type="xs:string" use="optional"/>
|
|
322
|
+
</xs:complexType>
|
|
323
|
+
</xs:element>
|
|
324
|
+
<xs:element name="publicationStmt">
|
|
325
|
+
<xs:complexType>
|
|
326
|
+
<xs:sequence>
|
|
327
|
+
<xs:element ref="p" minOccurs="1" maxOccurs="unbounded"/>
|
|
328
|
+
</xs:sequence>
|
|
329
|
+
<xs:attributeGroup ref="id"/>
|
|
330
|
+
</xs:complexType>
|
|
331
|
+
</xs:element>
|
|
332
|
+
<xs:element name="ref">
|
|
333
|
+
<xs:complexType mixed="true">
|
|
334
|
+
<xs:attributeGroup ref="IDLangTgtDtyp"/>
|
|
335
|
+
<xs:attribute name="type" type="xs:string" use="required"/>
|
|
336
|
+
</xs:complexType>
|
|
337
|
+
</xs:element>
|
|
338
|
+
<xs:element name="refObject">
|
|
339
|
+
<xs:complexType>
|
|
340
|
+
<xs:choice minOccurs="1" maxOccurs="unbounded">
|
|
341
|
+
<xs:element ref="itemSet"/>
|
|
342
|
+
<xs:element ref="itemGrp"/>
|
|
343
|
+
<xs:element ref="item"/>
|
|
344
|
+
</xs:choice>
|
|
345
|
+
<xs:attributeGroup ref="id"/>
|
|
346
|
+
</xs:complexType>
|
|
347
|
+
</xs:element>
|
|
348
|
+
<xs:element name="refObjectSec">
|
|
349
|
+
<xs:complexType>
|
|
350
|
+
<xs:sequence>
|
|
351
|
+
<xs:element ref="refObject" minOccurs="1" maxOccurs="unbounded"/>
|
|
352
|
+
</xs:sequence>
|
|
353
|
+
<xs:attributeGroup ref="id"/>
|
|
354
|
+
<xs:attribute name="type" type="xs:string" use="required"/>
|
|
355
|
+
</xs:complexType>
|
|
356
|
+
</xs:element>
|
|
357
|
+
<xs:element name="revisionDesc">
|
|
358
|
+
<xs:complexType>
|
|
359
|
+
<xs:sequence>
|
|
360
|
+
<xs:element ref="change" minOccurs="1" maxOccurs="unbounded"/>
|
|
361
|
+
</xs:sequence>
|
|
362
|
+
<xs:attributeGroup ref="idlang"/>
|
|
363
|
+
</xs:complexType>
|
|
364
|
+
</xs:element>
|
|
365
|
+
<xs:element name="sc">
|
|
366
|
+
<xs:complexType>
|
|
367
|
+
<xs:attribute name="id" type="xs:ID" use="required"/>
|
|
368
|
+
<xs:attribute name="isolated" use="optional">
|
|
369
|
+
<xs:simpleType>
|
|
370
|
+
<xs:restriction base="xs:string">
|
|
371
|
+
<xs:enumeration value="yes"/>
|
|
372
|
+
<xs:enumeration value="no"/>
|
|
373
|
+
</xs:restriction>
|
|
374
|
+
</xs:simpleType>
|
|
375
|
+
</xs:attribute>
|
|
376
|
+
<xs:attribute name="type" use="optional">
|
|
377
|
+
<xs:simpleType>
|
|
378
|
+
<xs:restriction base="xs:string">
|
|
379
|
+
<xs:enumeration value="fmt"/>
|
|
380
|
+
<xs:enumeration value="ui"/>
|
|
381
|
+
<xs:enumeration value="quote"/>
|
|
382
|
+
<xs:enumeration value="link"/>
|
|
383
|
+
<xs:enumeration value="image"/>
|
|
384
|
+
<xs:enumeration value="other"/>
|
|
385
|
+
</xs:restriction>
|
|
386
|
+
</xs:simpleType>
|
|
387
|
+
</xs:attribute>
|
|
388
|
+
<xs:attribute name="subtype" type="xs:string" use="optional"/>
|
|
389
|
+
<xs:attribute name="target" type="xs:string" use="optional"/>
|
|
390
|
+
<!-- <xs:assert test="if (exists(@id)) then if (@isolated='no' or not(exists(@isolated))) then true() else false() else if (@isolated='yes') then true() else false()"/>-->
|
|
391
|
+
</xs:complexType>
|
|
392
|
+
</xs:element>
|
|
393
|
+
<xs:element name="sourceDesc">
|
|
394
|
+
<xs:complexType>
|
|
395
|
+
<xs:sequence>
|
|
396
|
+
<xs:element ref="p" minOccurs="1" maxOccurs="unbounded"/>
|
|
397
|
+
</xs:sequence>
|
|
398
|
+
<xs:attributeGroup ref="idlang"/>
|
|
399
|
+
</xs:complexType>
|
|
400
|
+
</xs:element>
|
|
401
|
+
<xs:element name="tbx">
|
|
402
|
+
<xs:complexType>
|
|
403
|
+
<xs:sequence minOccurs="1" maxOccurs="1">
|
|
404
|
+
<xs:element ref="tbxHeader"/>
|
|
405
|
+
<xs:element ref="text"/>
|
|
406
|
+
</xs:sequence>
|
|
407
|
+
<xs:attribute ref="xml:lang" use="required"/>
|
|
408
|
+
<xs:attribute name="type" use="required">
|
|
409
|
+
<xs:simpleType>
|
|
410
|
+
<xs:restriction base="xs:string">
|
|
411
|
+
<xs:pattern value="TBX-.+"/>
|
|
412
|
+
</xs:restriction>
|
|
413
|
+
</xs:simpleType>
|
|
414
|
+
</xs:attribute>
|
|
415
|
+
<xs:attribute name="style" use="required">
|
|
416
|
+
<xs:simpleType>
|
|
417
|
+
<xs:restriction base="xs:string">
|
|
418
|
+
<xs:enumeration value="dca"/>
|
|
419
|
+
<xs:enumeration value="dct"/>
|
|
420
|
+
</xs:restriction>
|
|
421
|
+
</xs:simpleType>
|
|
422
|
+
</xs:attribute>
|
|
423
|
+
</xs:complexType>
|
|
424
|
+
</xs:element>
|
|
425
|
+
<xs:element name="tbxHeader">
|
|
426
|
+
<xs:complexType>
|
|
427
|
+
<xs:sequence>
|
|
428
|
+
<xs:element ref="fileDesc" maxOccurs="1" minOccurs="1"/>
|
|
429
|
+
<xs:element ref="encodingDesc" minOccurs="0" maxOccurs="1"/>
|
|
430
|
+
<xs:element ref="revisionDesc" minOccurs="0" maxOccurs="1"/>
|
|
431
|
+
</xs:sequence>
|
|
432
|
+
<xs:attributeGroup ref="id"/>
|
|
433
|
+
</xs:complexType>
|
|
434
|
+
</xs:element>
|
|
435
|
+
<xs:element name="term">
|
|
436
|
+
<xs:complexType mixed="true">
|
|
437
|
+
<xs:group ref="entity.basicText" minOccurs="0" maxOccurs="unbounded"/>
|
|
438
|
+
<xs:attributeGroup ref="id"/>
|
|
439
|
+
</xs:complexType>
|
|
440
|
+
</xs:element>
|
|
441
|
+
<xs:element name="termNote">
|
|
442
|
+
<xs:complexType mixed="true">
|
|
443
|
+
<xs:group ref="entity.noteText" minOccurs="0" maxOccurs="unbounded"/>
|
|
444
|
+
<xs:attributeGroup ref="IDLangTgtDtyp"/>
|
|
445
|
+
<xs:attribute name="type" type="xs:string" use="required"/>
|
|
446
|
+
</xs:complexType>
|
|
447
|
+
</xs:element>
|
|
448
|
+
<xs:element name="termNoteGrp">
|
|
449
|
+
<xs:complexType>
|
|
450
|
+
<xs:sequence>
|
|
451
|
+
<xs:choice>
|
|
452
|
+
<xs:element ref="termNote"/>
|
|
453
|
+
<xs:group ref="dcaElement"/>
|
|
454
|
+
</xs:choice>
|
|
455
|
+
<xs:group ref="entity.noteLinkInfo" minOccurs="0" maxOccurs="unbounded"/>
|
|
456
|
+
</xs:sequence>
|
|
457
|
+
<xs:attributeGroup ref="id"/>
|
|
458
|
+
</xs:complexType>
|
|
459
|
+
</xs:element>
|
|
460
|
+
<xs:element name="termSec">
|
|
461
|
+
<xs:complexType>
|
|
462
|
+
<xs:sequence>
|
|
463
|
+
<xs:element ref="term" minOccurs="1" maxOccurs="1"/>
|
|
464
|
+
<xs:choice minOccurs="0" maxOccurs="unbounded">
|
|
465
|
+
<xs:element ref="termNote"/>
|
|
466
|
+
<xs:element ref="termNoteGrp"/>
|
|
467
|
+
</xs:choice>
|
|
468
|
+
<xs:group ref="entity.auxInfo" minOccurs="0" maxOccurs="unbounded"/>
|
|
469
|
+
</xs:sequence>
|
|
470
|
+
<xs:attributeGroup ref="id"/>
|
|
471
|
+
</xs:complexType>
|
|
472
|
+
</xs:element>
|
|
473
|
+
<xs:element name="text">
|
|
474
|
+
<xs:complexType>
|
|
475
|
+
<xs:sequence>
|
|
476
|
+
<xs:element ref="body" minOccurs="0" maxOccurs="1"/>
|
|
477
|
+
<xs:element ref="back" minOccurs="0" maxOccurs="1"/>
|
|
478
|
+
</xs:sequence>
|
|
479
|
+
<xs:attributeGroup ref="id"/>
|
|
480
|
+
</xs:complexType>
|
|
481
|
+
</xs:element>
|
|
482
|
+
<xs:element name="title">
|
|
483
|
+
<xs:complexType mixed="true">
|
|
484
|
+
<xs:attributeGroup ref="idlang"/>
|
|
485
|
+
</xs:complexType>
|
|
486
|
+
</xs:element>
|
|
487
|
+
<xs:element name="titleStmt">
|
|
488
|
+
<xs:complexType>
|
|
489
|
+
<xs:sequence>
|
|
490
|
+
<xs:element ref="title" minOccurs="1" maxOccurs="1"/>
|
|
491
|
+
<xs:element ref="note" minOccurs="0" maxOccurs="unbounded"/>
|
|
492
|
+
</xs:sequence>
|
|
493
|
+
<xs:attributeGroup ref="idlang"/>
|
|
494
|
+
</xs:complexType>
|
|
495
|
+
</xs:element>
|
|
496
|
+
<xs:element name="transac">
|
|
497
|
+
<xs:complexType mixed="true">
|
|
498
|
+
<xs:attributeGroup ref="IDLangTgtDtyp"/>
|
|
499
|
+
<xs:attribute name="type" type="xs:string" use="required"/>
|
|
500
|
+
</xs:complexType>
|
|
501
|
+
</xs:element>
|
|
502
|
+
<xs:element name="transacGrp">
|
|
503
|
+
<xs:complexType>
|
|
504
|
+
<xs:sequence>
|
|
505
|
+
<xs:choice minOccurs="1" maxOccurs="1">
|
|
506
|
+
<xs:element ref="transac"/>
|
|
507
|
+
<xs:group ref="dcaElement"/>
|
|
508
|
+
</xs:choice>
|
|
509
|
+
<xs:choice minOccurs="0" maxOccurs="unbounded">
|
|
510
|
+
<xs:element ref="date"/>
|
|
511
|
+
<xs:element ref="note"/>
|
|
512
|
+
<xs:element ref="ref"/>
|
|
513
|
+
<xs:element ref="xref"/>
|
|
514
|
+
<xs:element ref="transacNote"/>
|
|
515
|
+
<xs:group ref="dcaElement"/>
|
|
516
|
+
</xs:choice>
|
|
517
|
+
</xs:sequence>
|
|
518
|
+
<xs:attributeGroup ref="id"/>
|
|
519
|
+
</xs:complexType>
|
|
520
|
+
</xs:element>
|
|
521
|
+
<xs:element name="transacNote">
|
|
522
|
+
<xs:complexType mixed="true">
|
|
523
|
+
<xs:attributeGroup ref="IDLangTgtDtyp"/>
|
|
524
|
+
<xs:attribute name="type" type="xs:string" use="required"/>
|
|
525
|
+
</xs:complexType>
|
|
526
|
+
</xs:element>
|
|
527
|
+
<xs:element name="xref">
|
|
528
|
+
<xs:complexType mixed="true">
|
|
529
|
+
<xs:attributeGroup ref="id"/>
|
|
530
|
+
<xs:attribute name="target" type="xs:anyURI" use="required"/>
|
|
531
|
+
<xs:attribute name="type" type="xs:string" use="required"/>
|
|
532
|
+
</xs:complexType>
|
|
533
|
+
</xs:element>
|
|
534
|
+
</xs:schema>
|