reqif 0.1.0 → 0.2.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 +4 -4
- data/.github/workflows/release.yml +7 -4
- data/.rubocop.yml +17 -6
- data/.rubocop_todo.yml +241 -0
- data/CLAUDE.md +73 -0
- data/Gemfile +5 -2
- data/README.adoc +61 -1
- data/lib/reqif/alternative_id.rb +2 -2
- data/lib/reqif/attribute_definition_boolean.rb +5 -4
- data/lib/reqif/attribute_definition_date.rb +5 -4
- data/lib/reqif/attribute_definition_enumeration.rb +5 -4
- data/lib/reqif/attribute_definition_integer.rb +5 -4
- data/lib/reqif/attribute_definition_real.rb +5 -4
- data/lib/reqif/attribute_definition_string.rb +5 -4
- data/lib/reqif/attribute_definition_xhtml.rb +5 -4
- data/lib/reqif/attribute_value_boolean.rb +3 -2
- data/lib/reqif/attribute_value_date.rb +4 -3
- data/lib/reqif/attribute_value_enumeration.rb +3 -2
- data/lib/reqif/attribute_value_integer.rb +4 -3
- data/lib/reqif/attribute_value_real.rb +4 -3
- data/lib/reqif/attribute_value_string.rb +3 -2
- data/lib/reqif/attribute_value_xhtml.rb +3 -2
- data/lib/reqif/children.rb +3 -2
- data/lib/reqif/core_content.rb +3 -2
- data/lib/reqif/datatype_definition_boolean.rb +5 -4
- data/lib/reqif/datatype_definition_date.rb +5 -4
- data/lib/reqif/datatype_definition_enumeration.rb +5 -4
- data/lib/reqif/datatype_definition_integer.rb +7 -6
- data/lib/reqif/datatype_definition_real.rb +7 -6
- data/lib/reqif/datatype_definition_string.rb +5 -4
- data/lib/reqif/datatype_definition_xhtml.rb +5 -4
- data/lib/reqif/datatypes.rb +23 -12
- data/lib/reqif/default_value.rb +4 -3
- data/lib/reqif/definition.rb +24 -16
- data/lib/reqif/doors/identifier.rb +15 -0
- data/lib/reqif/doors/module_definition.rb +23 -0
- data/lib/reqif/doors/namespace.rb +10 -0
- data/lib/reqif/doors/readonly_attributes.rb +48 -0
- data/lib/reqif/doors/rif_definition.rb +26 -0
- data/lib/reqif/doors/string_type.rb +12 -0
- data/lib/reqif/doors.rb +12 -0
- data/lib/reqif/editable_atts.rb +24 -16
- data/lib/reqif/embedded_value.rb +4 -3
- data/lib/reqif/enum_value.rb +4 -4
- data/lib/reqif/high_precision_date_time.rb +52 -0
- data/lib/reqif/namespace.rb +16 -0
- data/lib/reqif/object.rb +3 -3
- data/lib/reqif/properties.rb +2 -2
- data/lib/reqif/relation_group.rb +5 -4
- data/lib/reqif/relation_group_type.rb +5 -4
- data/lib/reqif/req_if.rb +7 -2
- data/lib/reqif/req_if_content.rb +3 -2
- data/lib/reqif/req_if_header.rb +4 -5
- data/lib/reqif/req_if_tool_extension.rb +48 -2
- data/lib/reqif/reqif_float.rb +97 -0
- data/lib/reqif/reqif_integer.rb +36 -0
- data/lib/reqif/source.rb +3 -3
- data/lib/reqif/source_specification.rb +3 -3
- data/lib/reqif/spec_attributes.rb +25 -13
- data/lib/reqif/spec_hierarchy.rb +5 -4
- data/lib/reqif/spec_object.rb +5 -4
- data/lib/reqif/spec_object_type.rb +5 -4
- data/lib/reqif/spec_objects.rb +3 -2
- data/lib/reqif/spec_relation.rb +5 -4
- data/lib/reqif/spec_relation_groups.rb +2 -2
- data/lib/reqif/spec_relation_type.rb +5 -4
- data/lib/reqif/spec_relations.rb +3 -3
- data/lib/reqif/spec_types.rb +3 -2
- data/lib/reqif/specification.rb +5 -4
- data/lib/reqif/specification_type.rb +5 -4
- data/lib/reqif/specifications.rb +3 -2
- data/lib/reqif/specified_values.rb +2 -2
- data/lib/reqif/string_type.rb +7 -0
- data/lib/reqif/target.rb +3 -3
- data/lib/reqif/target_specification.rb +3 -3
- data/lib/reqif/the_header.rb +3 -2
- data/lib/reqif/tool_extensions.rb +2 -2
- data/lib/reqif/type.rb +28 -20
- data/lib/reqif/values.rb +8 -5
- data/lib/reqif/version.rb +1 -1
- data/lib/reqif/xhtml/div.rb +18 -0
- data/lib/reqif/xhtml/namespace.rb +10 -0
- data/lib/reqif/xhtml/p.rb +18 -0
- data/lib/reqif/xhtml/span.rb +18 -0
- data/lib/reqif/xhtml.rb +12 -0
- data/lib/reqif/xhtml_content.rb +182 -2
- data/lib/reqif.rb +70 -14
- data/references/driver.xsd +270 -270
- data/references/reqif.xsd +892 -892
- data/reqif.gemspec +4 -3
- data/spec/fixtures/antcc_MAG8000-LTE-FeatureSpecReqBL4.reqif +4299 -0
- data/spec/fixtures/ea_example.reqif.xml +236 -0
- data/spec/fixtures/eclipse_capella_Sample.xml +177 -0
- data/spec/fixtures/eclipse_capella_Sample1.xml +239 -0
- data/spec/fixtures/eclipse_capella_Sample2.xml +239 -0
- data/spec/fixtures/eclipse_capella_Sample3.xml +304 -0
- data/spec/fixtures/eclipse_capella_model1.xml +4080 -0
- data/spec/fixtures/eclipse_rmf_sample.reqif +96 -0
- data/spec/fixtures/eclipse_rmf_specRelationTest.reqif +110 -0
- data/spec/fixtures/polarion_export.xml +70 -0
- data/spec/fixtures/strictdoc_01_minimal_reqif_sample.reqif +4 -0
- data/spec/fixtures/strictdoc_02_read_reqif_input.reqif +3996 -0
- data/spec/fixtures/strictdoc_04_convert_reqif_to_json_sample1_polarion.reqif +197 -0
- data/spec/fixtures/strictdoc_04_convert_reqif_to_json_sample2_sdoc.reqif +451 -0
- data/spec/fixtures/strictdoc_04_convert_reqif_to_json_sample3_eclipse_rmf.reqif +334 -0
- data/spec/fixtures/strictdoc_04_convert_reqif_to_json_sample_polarion_reqifz.reqifz +0 -0
- data/spec/reqif/data_types_spec.rb +29 -0
- data/spec/reqif/polarion_export_spec.rb +22 -0
- data/spec/reqif/req_if_header_spec.rb +31 -0
- data/spec/reqif/req_if_spec.rb +43 -0
- data/spec/reqif/spec_objects_spec.rb +35 -0
- data/spec/reqif/spec_relations_spec.rb +33 -0
- data/spec/reqif/spec_types_spec.rb +40 -0
- data/spec/reqif/specifications_spec.rb +35 -0
- data/spec/reqif/tool_extension_spec.rb +27 -0
- data/spec/reqif_spec.rb +56 -0
- data/spec/spec_helper.rb +70 -0
- metadata +58 -11
data/references/driver.xsd
CHANGED
|
@@ -1,270 +1,270 @@
|
|
|
1
|
-
<?xml version="1.0" encoding="UTF-8"?>
|
|
2
|
-
<xsd:schema
|
|
3
|
-
xmlns:xsd="http://www.w3.org/2001/XMLSchema"
|
|
4
|
-
targetNamespace="http://www.w3.org/1999/xhtml"
|
|
5
|
-
xmlns:xh11d="http://www.w3.org/1999/xhtml/datatypes/"
|
|
6
|
-
xmlns="http://www.w3.org/1999/xhtml"
|
|
7
|
-
elementFormDefault="qualified" >
|
|
8
|
-
|
|
9
|
-
<xsd:import namespace="http://www.w3.org/XML/1998/namespace" schemaLocation="http://www.w3.org/2001/xml.xsd" />
|
|
10
|
-
|
|
11
|
-
<xsd:import namespace="http://www.w3.org/1999/xhtml/datatypes/"
|
|
12
|
-
schemaLocation="http://www.w3.org/TR/xhtml-modularization/SCHEMA/xhtml-datatypes-1.xsd" />
|
|
13
|
-
|
|
14
|
-
<xsd:include schemaLocation="http://www.w3.org/TR/xhtml-modularization/SCHEMA/xhtml-framework-1.xsd" />
|
|
15
|
-
<xsd:include schemaLocation="http://www.w3.org/TR/xhtml-modularization/SCHEMA/xhtml-text-1.xsd" />
|
|
16
|
-
<xsd:include schemaLocation="http://www.w3.org/TR/xhtml-modularization/SCHEMA/xhtml-hypertext-1.xsd" />
|
|
17
|
-
<xsd:include schemaLocation="http://www.w3.org/TR/xhtml-modularization/SCHEMA/xhtml-list-1.xsd" />
|
|
18
|
-
<xsd:include schemaLocation="http://www.w3.org/TR/xhtml-modularization/SCHEMA/xhtml-edit-1.xsd" />
|
|
19
|
-
<xsd:include schemaLocation="http://www.w3.org/TR/xhtml-modularization/SCHEMA/xhtml-pres-1.xsd" />
|
|
20
|
-
<xsd:include schemaLocation="http://www.w3.org/TR/xhtml-modularization/SCHEMA/xhtml-inlstyle-1.xsd" />
|
|
21
|
-
<xsd:include schemaLocation="http://www.w3.org/TR/xhtml-modularization/SCHEMA/xhtml-object-1.xsd" />
|
|
22
|
-
<xsd:include schemaLocation="http://www.w3.org/TR/xhtml-modularization/SCHEMA/xhtml-table-1.xsd" />
|
|
23
|
-
|
|
24
|
-
<xsd:attributeGroup name="xhtml.I18n.extra.attrib"/>
|
|
25
|
-
|
|
26
|
-
<xsd:attributeGroup name="xhtml.Common.extra">
|
|
27
|
-
<xsd:attributeGroup ref="xhtml.style.attrib"/>
|
|
28
|
-
</xsd:attributeGroup>
|
|
29
|
-
|
|
30
|
-
<xsd:attributeGroup name="xhtml.Core.extra.attrib"/>
|
|
31
|
-
|
|
32
|
-
<xsd:attributeGroup name="xhtml.Global.core.extra.attrib"/>
|
|
33
|
-
|
|
34
|
-
<xsd:attributeGroup name="xhtml.Global.I18n.extra.attrib"/>
|
|
35
|
-
|
|
36
|
-
<xsd:attributeGroup name="xhtml.Global.Common.extra"/>
|
|
37
|
-
|
|
38
|
-
<xsd:group name="xhtml.HeadOpts.mix">
|
|
39
|
-
<xsd:choice>
|
|
40
|
-
<xsd:element name="object" type="xhtml.object.type" />
|
|
41
|
-
</xsd:choice>
|
|
42
|
-
</xsd:group>
|
|
43
|
-
|
|
44
|
-
<xsd:group name="xhtml.Edit.class">
|
|
45
|
-
<xsd:choice>
|
|
46
|
-
<xsd:element name="ins" type="xhtml.edit.type" />
|
|
47
|
-
<xsd:element name="del" type="xhtml.edit.type" />
|
|
48
|
-
</xsd:choice>
|
|
49
|
-
</xsd:group>
|
|
50
|
-
|
|
51
|
-
<xsd:group name="xhtml.Misc.extra">
|
|
52
|
-
<xsd:sequence />
|
|
53
|
-
</xsd:group>
|
|
54
|
-
|
|
55
|
-
<xsd:group name="xhtml.Misc.class">
|
|
56
|
-
<xsd:choice>
|
|
57
|
-
<xsd:group ref="xhtml.Edit.class" />
|
|
58
|
-
<xsd:group ref="xhtml.Misc.extra" />
|
|
59
|
-
</xsd:choice>
|
|
60
|
-
</xsd:group>
|
|
61
|
-
|
|
62
|
-
<xsd:group name="xhtml.InlStruct.class">
|
|
63
|
-
<xsd:choice>
|
|
64
|
-
<xsd:element name="br" type="xhtml.br.type" />
|
|
65
|
-
<xsd:element name="span" type="xhtml.span.type" />
|
|
66
|
-
</xsd:choice>
|
|
67
|
-
</xsd:group>
|
|
68
|
-
|
|
69
|
-
<xsd:group name="xhtml.InlPhras.class">
|
|
70
|
-
<xsd:choice>
|
|
71
|
-
<xsd:element name="em" type="xhtml.em.type" />
|
|
72
|
-
<xsd:element name="strong" type="xhtml.strong.type" />
|
|
73
|
-
<xsd:element name="dfn" type="xhtml.dfn.type" />
|
|
74
|
-
<xsd:element name="code" type="xhtml.code.type" />
|
|
75
|
-
<xsd:element name="samp" type="xhtml.samp.type" />
|
|
76
|
-
<xsd:element name="kbd" type="xhtml.kbd.type" />
|
|
77
|
-
<xsd:element name="var" type="xhtml.var.type" />
|
|
78
|
-
<xsd:element name="cite" type="xhtml.cite.type" />
|
|
79
|
-
<xsd:element name="abbr" type="xhtml.abbr.type" />
|
|
80
|
-
<xsd:element name="acronym" type="xhtml.acronym.type" />
|
|
81
|
-
<xsd:element name="q" type="xhtml.q.type" />
|
|
82
|
-
</xsd:choice>
|
|
83
|
-
</xsd:group>
|
|
84
|
-
|
|
85
|
-
<xsd:group name="xhtml.InlPres.class">
|
|
86
|
-
<xsd:choice>
|
|
87
|
-
<xsd:element name="tt" type="xhtml.InlPres.type" />
|
|
88
|
-
<xsd:element name="i" type="xhtml.InlPres.type" />
|
|
89
|
-
<xsd:element name="b" type="xhtml.InlPres.type" />
|
|
90
|
-
<xsd:element name="big" type="xhtml.InlPres.type" />
|
|
91
|
-
<xsd:element name="small" type="xhtml.InlPres.type" />
|
|
92
|
-
<xsd:element name="sub" type="xhtml.InlPres.type" />
|
|
93
|
-
<xsd:element name="sup" type="xhtml.InlPres.type" />
|
|
94
|
-
</xsd:choice>
|
|
95
|
-
</xsd:group>
|
|
96
|
-
|
|
97
|
-
<xsd:group name="xhtml.Anchor.class">
|
|
98
|
-
<xsd:sequence>
|
|
99
|
-
<xsd:element name="a" type="xhtml.a.type" />
|
|
100
|
-
</xsd:sequence>
|
|
101
|
-
</xsd:group>
|
|
102
|
-
|
|
103
|
-
<xsd:group name="xhtml.InlSpecial.class">
|
|
104
|
-
<xsd:choice>
|
|
105
|
-
<xsd:element name="object" type="xhtml.object.type" />
|
|
106
|
-
</xsd:choice>
|
|
107
|
-
</xsd:group>
|
|
108
|
-
|
|
109
|
-
<xsd:group name="xhtml.Inline.extra">
|
|
110
|
-
<xsd:sequence />
|
|
111
|
-
</xsd:group>
|
|
112
|
-
|
|
113
|
-
<xsd:group name="xhtml.Inline.class">
|
|
114
|
-
<xsd:choice>
|
|
115
|
-
<xsd:group ref="xhtml.InlStruct.class" />
|
|
116
|
-
<xsd:group ref="xhtml.InlPhras.class" />
|
|
117
|
-
<xsd:group ref="xhtml.InlPres.class" />
|
|
118
|
-
<xsd:group ref="xhtml.Anchor.class" />
|
|
119
|
-
<xsd:group ref="xhtml.InlSpecial.class" />
|
|
120
|
-
<xsd:group ref="xhtml.Inline.extra" />
|
|
121
|
-
</xsd:choice>
|
|
122
|
-
</xsd:group>
|
|
123
|
-
|
|
124
|
-
<xsd:group name="xhtml.InlNoRuby.class">
|
|
125
|
-
<xsd:choice>
|
|
126
|
-
<xsd:group ref="xhtml.InlStruct.class" />
|
|
127
|
-
<xsd:group ref="xhtml.InlPhras.class" />
|
|
128
|
-
<xsd:group ref="xhtml.InlPres.class" />
|
|
129
|
-
<xsd:group ref="xhtml.Anchor.class" />
|
|
130
|
-
<xsd:group ref="xhtml.InlSpecial.class" />
|
|
131
|
-
<xsd:group ref="xhtml.Inline.extra" />
|
|
132
|
-
</xsd:choice>
|
|
133
|
-
</xsd:group>
|
|
134
|
-
|
|
135
|
-
<xsd:group name="xhtml.InlinePre.mix">
|
|
136
|
-
<xsd:choice>
|
|
137
|
-
<xsd:group ref="xhtml.InlStruct.class" />
|
|
138
|
-
<xsd:group ref="xhtml.InlPhras.class" />
|
|
139
|
-
<xsd:element name="tt" type="xhtml.InlPres.type" />
|
|
140
|
-
<xsd:element name="i" type="xhtml.InlPres.type" />
|
|
141
|
-
<xsd:element name="b" type="xhtml.InlPres.type" />
|
|
142
|
-
<xsd:group ref="xhtml.Anchor.class" />
|
|
143
|
-
<xsd:group ref="xhtml.Misc.class" />
|
|
144
|
-
<xsd:group ref="xhtml.Inline.extra" />
|
|
145
|
-
</xsd:choice>
|
|
146
|
-
</xsd:group>
|
|
147
|
-
|
|
148
|
-
<xsd:group name="xhtml.InlNoAnchor.class">
|
|
149
|
-
<xsd:choice>
|
|
150
|
-
<xsd:group ref="xhtml.InlStruct.class" />
|
|
151
|
-
<xsd:group ref="xhtml.InlPhras.class" />
|
|
152
|
-
<xsd:group ref="xhtml.InlPres.class" />
|
|
153
|
-
<xsd:group ref="xhtml.InlSpecial.class" />
|
|
154
|
-
<xsd:group ref="xhtml.Inline.extra" />
|
|
155
|
-
</xsd:choice>
|
|
156
|
-
</xsd:group>
|
|
157
|
-
|
|
158
|
-
<xsd:group name="xhtml.InlNoAnchor.mix">
|
|
159
|
-
<xsd:choice>
|
|
160
|
-
<xsd:group ref="xhtml.InlNoAnchor.class" />
|
|
161
|
-
<xsd:group ref="xhtml.Misc.class" />
|
|
162
|
-
</xsd:choice>
|
|
163
|
-
</xsd:group>
|
|
164
|
-
|
|
165
|
-
<xsd:group name="xhtml.Inline.mix">
|
|
166
|
-
<xsd:choice>
|
|
167
|
-
<xsd:group ref="xhtml.Inline.class" />
|
|
168
|
-
<xsd:group ref="xhtml.Misc.class" />
|
|
169
|
-
</xsd:choice>
|
|
170
|
-
</xsd:group>
|
|
171
|
-
|
|
172
|
-
<xsd:group name="xhtml.Heading.class">
|
|
173
|
-
<xsd:choice>
|
|
174
|
-
<xsd:element name="h1" type="xhtml.h1.type" />
|
|
175
|
-
<xsd:element name="h2" type="xhtml.h2.type" />
|
|
176
|
-
<xsd:element name="h3" type="xhtml.h3.type" />
|
|
177
|
-
<xsd:element name="h4" type="xhtml.h4.type" />
|
|
178
|
-
<xsd:element name="h5" type="xhtml.h5.type" />
|
|
179
|
-
<xsd:element name="h6" type="xhtml.h6.type" />
|
|
180
|
-
</xsd:choice>
|
|
181
|
-
</xsd:group>
|
|
182
|
-
|
|
183
|
-
<xsd:group name="xhtml.List.class">
|
|
184
|
-
<xsd:choice>
|
|
185
|
-
<xsd:element name="ul" type="xhtml.ul.type" />
|
|
186
|
-
<xsd:element name="ol" type="xhtml.ol.type" />
|
|
187
|
-
<xsd:element name="dl" type="xhtml.dl.type" />
|
|
188
|
-
</xsd:choice>
|
|
189
|
-
</xsd:group>
|
|
190
|
-
|
|
191
|
-
<xsd:group name="xhtml.Table.class">
|
|
192
|
-
<xsd:choice>
|
|
193
|
-
<xsd:element name="table" type="xhtml.table.type" />
|
|
194
|
-
</xsd:choice>
|
|
195
|
-
</xsd:group>
|
|
196
|
-
|
|
197
|
-
<xsd:group name="xhtml.BlkStruct.class">
|
|
198
|
-
<xsd:choice>
|
|
199
|
-
<xsd:element name="p" type="xhtml.p.type" />
|
|
200
|
-
<xsd:element name="div" type="xhtml.div.type" />
|
|
201
|
-
</xsd:choice>
|
|
202
|
-
</xsd:group>
|
|
203
|
-
|
|
204
|
-
<xsd:group name="xhtml.BlkPhras.class">
|
|
205
|
-
<xsd:choice>
|
|
206
|
-
<xsd:element name="pre" type="xhtml.pre.type" />
|
|
207
|
-
<xsd:element name="blockquote" type="xhtml.blockquote.type" />
|
|
208
|
-
<xsd:element name="address" type="xhtml.address.type" />
|
|
209
|
-
</xsd:choice>
|
|
210
|
-
</xsd:group>
|
|
211
|
-
|
|
212
|
-
<xsd:group name="xhtml.BlkPres.class">
|
|
213
|
-
<xsd:sequence>
|
|
214
|
-
<xsd:element name="hr" type="xhtml.hr.type" />
|
|
215
|
-
</xsd:sequence>
|
|
216
|
-
</xsd:group>
|
|
217
|
-
|
|
218
|
-
<xsd:group name="xhtml.BlkSpecial.class">
|
|
219
|
-
<xsd:choice>
|
|
220
|
-
<xsd:group ref="xhtml.Table.class" />
|
|
221
|
-
</xsd:choice>
|
|
222
|
-
</xsd:group>
|
|
223
|
-
|
|
224
|
-
<xsd:group name="xhtml.Block.extra">
|
|
225
|
-
<xsd:sequence />
|
|
226
|
-
</xsd:group>
|
|
227
|
-
|
|
228
|
-
<xsd:group name="xhtml.Block.class">
|
|
229
|
-
<xsd:choice>
|
|
230
|
-
<xsd:group ref="xhtml.BlkStruct.class" />
|
|
231
|
-
<xsd:group ref="xhtml.BlkPhras.class" />
|
|
232
|
-
<xsd:group ref="xhtml.BlkPres.class" />
|
|
233
|
-
<xsd:group ref="xhtml.BlkSpecial.class" />
|
|
234
|
-
<xsd:group ref="xhtml.Block.extra" />
|
|
235
|
-
</xsd:choice>
|
|
236
|
-
</xsd:group>
|
|
237
|
-
|
|
238
|
-
<xsd:group name="xhtml.Block.mix">
|
|
239
|
-
<xsd:choice>
|
|
240
|
-
<xsd:group ref="xhtml.Heading.class" />
|
|
241
|
-
<xsd:group ref="xhtml.List.class" />
|
|
242
|
-
<xsd:group ref="xhtml.Block.class" />
|
|
243
|
-
<xsd:group ref="xhtml.Misc.class" />
|
|
244
|
-
</xsd:choice>
|
|
245
|
-
</xsd:group>
|
|
246
|
-
|
|
247
|
-
<xsd:group name="xhtml.Flow.mix">
|
|
248
|
-
<xsd:choice>
|
|
249
|
-
<xsd:group ref="xhtml.Heading.class" />
|
|
250
|
-
<xsd:group ref="xhtml.List.class" />
|
|
251
|
-
<xsd:group ref="xhtml.Block.class" />
|
|
252
|
-
<xsd:group ref="xhtml.Inline.class" />
|
|
253
|
-
<xsd:group ref="xhtml.Misc.class" />
|
|
254
|
-
</xsd:choice>
|
|
255
|
-
</xsd:group>
|
|
256
|
-
|
|
257
|
-
<xsd:group name="xhtml.BlkNoForm.mix">
|
|
258
|
-
<xsd:choice>
|
|
259
|
-
<xsd:group ref="xhtml.Heading.class" />
|
|
260
|
-
<xsd:group ref="xhtml.List.class" />
|
|
261
|
-
<xsd:group ref="xhtml.BlkStruct.class" />
|
|
262
|
-
<xsd:group ref="xhtml.BlkPhras.class" />
|
|
263
|
-
<xsd:group ref="xhtml.BlkPres.class" />
|
|
264
|
-
<xsd:group ref="xhtml.Table.class" />
|
|
265
|
-
<xsd:group ref="xhtml.Block.extra" />
|
|
266
|
-
<xsd:group ref="xhtml.Misc.class" />
|
|
267
|
-
</xsd:choice>
|
|
268
|
-
</xsd:group>
|
|
269
|
-
|
|
270
|
-
</xsd:schema>
|
|
1
|
+
<?xml version="1.0" encoding="UTF-8"?>
|
|
2
|
+
<xsd:schema
|
|
3
|
+
xmlns:xsd="http://www.w3.org/2001/XMLSchema"
|
|
4
|
+
targetNamespace="http://www.w3.org/1999/xhtml"
|
|
5
|
+
xmlns:xh11d="http://www.w3.org/1999/xhtml/datatypes/"
|
|
6
|
+
xmlns="http://www.w3.org/1999/xhtml"
|
|
7
|
+
elementFormDefault="qualified" >
|
|
8
|
+
|
|
9
|
+
<xsd:import namespace="http://www.w3.org/XML/1998/namespace" schemaLocation="http://www.w3.org/2001/xml.xsd" />
|
|
10
|
+
|
|
11
|
+
<xsd:import namespace="http://www.w3.org/1999/xhtml/datatypes/"
|
|
12
|
+
schemaLocation="http://www.w3.org/TR/xhtml-modularization/SCHEMA/xhtml-datatypes-1.xsd" />
|
|
13
|
+
|
|
14
|
+
<xsd:include schemaLocation="http://www.w3.org/TR/xhtml-modularization/SCHEMA/xhtml-framework-1.xsd" />
|
|
15
|
+
<xsd:include schemaLocation="http://www.w3.org/TR/xhtml-modularization/SCHEMA/xhtml-text-1.xsd" />
|
|
16
|
+
<xsd:include schemaLocation="http://www.w3.org/TR/xhtml-modularization/SCHEMA/xhtml-hypertext-1.xsd" />
|
|
17
|
+
<xsd:include schemaLocation="http://www.w3.org/TR/xhtml-modularization/SCHEMA/xhtml-list-1.xsd" />
|
|
18
|
+
<xsd:include schemaLocation="http://www.w3.org/TR/xhtml-modularization/SCHEMA/xhtml-edit-1.xsd" />
|
|
19
|
+
<xsd:include schemaLocation="http://www.w3.org/TR/xhtml-modularization/SCHEMA/xhtml-pres-1.xsd" />
|
|
20
|
+
<xsd:include schemaLocation="http://www.w3.org/TR/xhtml-modularization/SCHEMA/xhtml-inlstyle-1.xsd" />
|
|
21
|
+
<xsd:include schemaLocation="http://www.w3.org/TR/xhtml-modularization/SCHEMA/xhtml-object-1.xsd" />
|
|
22
|
+
<xsd:include schemaLocation="http://www.w3.org/TR/xhtml-modularization/SCHEMA/xhtml-table-1.xsd" />
|
|
23
|
+
|
|
24
|
+
<xsd:attributeGroup name="xhtml.I18n.extra.attrib"/>
|
|
25
|
+
|
|
26
|
+
<xsd:attributeGroup name="xhtml.Common.extra">
|
|
27
|
+
<xsd:attributeGroup ref="xhtml.style.attrib"/>
|
|
28
|
+
</xsd:attributeGroup>
|
|
29
|
+
|
|
30
|
+
<xsd:attributeGroup name="xhtml.Core.extra.attrib"/>
|
|
31
|
+
|
|
32
|
+
<xsd:attributeGroup name="xhtml.Global.core.extra.attrib"/>
|
|
33
|
+
|
|
34
|
+
<xsd:attributeGroup name="xhtml.Global.I18n.extra.attrib"/>
|
|
35
|
+
|
|
36
|
+
<xsd:attributeGroup name="xhtml.Global.Common.extra"/>
|
|
37
|
+
|
|
38
|
+
<xsd:group name="xhtml.HeadOpts.mix">
|
|
39
|
+
<xsd:choice>
|
|
40
|
+
<xsd:element name="object" type="xhtml.object.type" />
|
|
41
|
+
</xsd:choice>
|
|
42
|
+
</xsd:group>
|
|
43
|
+
|
|
44
|
+
<xsd:group name="xhtml.Edit.class">
|
|
45
|
+
<xsd:choice>
|
|
46
|
+
<xsd:element name="ins" type="xhtml.edit.type" />
|
|
47
|
+
<xsd:element name="del" type="xhtml.edit.type" />
|
|
48
|
+
</xsd:choice>
|
|
49
|
+
</xsd:group>
|
|
50
|
+
|
|
51
|
+
<xsd:group name="xhtml.Misc.extra">
|
|
52
|
+
<xsd:sequence />
|
|
53
|
+
</xsd:group>
|
|
54
|
+
|
|
55
|
+
<xsd:group name="xhtml.Misc.class">
|
|
56
|
+
<xsd:choice>
|
|
57
|
+
<xsd:group ref="xhtml.Edit.class" />
|
|
58
|
+
<xsd:group ref="xhtml.Misc.extra" />
|
|
59
|
+
</xsd:choice>
|
|
60
|
+
</xsd:group>
|
|
61
|
+
|
|
62
|
+
<xsd:group name="xhtml.InlStruct.class">
|
|
63
|
+
<xsd:choice>
|
|
64
|
+
<xsd:element name="br" type="xhtml.br.type" />
|
|
65
|
+
<xsd:element name="span" type="xhtml.span.type" />
|
|
66
|
+
</xsd:choice>
|
|
67
|
+
</xsd:group>
|
|
68
|
+
|
|
69
|
+
<xsd:group name="xhtml.InlPhras.class">
|
|
70
|
+
<xsd:choice>
|
|
71
|
+
<xsd:element name="em" type="xhtml.em.type" />
|
|
72
|
+
<xsd:element name="strong" type="xhtml.strong.type" />
|
|
73
|
+
<xsd:element name="dfn" type="xhtml.dfn.type" />
|
|
74
|
+
<xsd:element name="code" type="xhtml.code.type" />
|
|
75
|
+
<xsd:element name="samp" type="xhtml.samp.type" />
|
|
76
|
+
<xsd:element name="kbd" type="xhtml.kbd.type" />
|
|
77
|
+
<xsd:element name="var" type="xhtml.var.type" />
|
|
78
|
+
<xsd:element name="cite" type="xhtml.cite.type" />
|
|
79
|
+
<xsd:element name="abbr" type="xhtml.abbr.type" />
|
|
80
|
+
<xsd:element name="acronym" type="xhtml.acronym.type" />
|
|
81
|
+
<xsd:element name="q" type="xhtml.q.type" />
|
|
82
|
+
</xsd:choice>
|
|
83
|
+
</xsd:group>
|
|
84
|
+
|
|
85
|
+
<xsd:group name="xhtml.InlPres.class">
|
|
86
|
+
<xsd:choice>
|
|
87
|
+
<xsd:element name="tt" type="xhtml.InlPres.type" />
|
|
88
|
+
<xsd:element name="i" type="xhtml.InlPres.type" />
|
|
89
|
+
<xsd:element name="b" type="xhtml.InlPres.type" />
|
|
90
|
+
<xsd:element name="big" type="xhtml.InlPres.type" />
|
|
91
|
+
<xsd:element name="small" type="xhtml.InlPres.type" />
|
|
92
|
+
<xsd:element name="sub" type="xhtml.InlPres.type" />
|
|
93
|
+
<xsd:element name="sup" type="xhtml.InlPres.type" />
|
|
94
|
+
</xsd:choice>
|
|
95
|
+
</xsd:group>
|
|
96
|
+
|
|
97
|
+
<xsd:group name="xhtml.Anchor.class">
|
|
98
|
+
<xsd:sequence>
|
|
99
|
+
<xsd:element name="a" type="xhtml.a.type" />
|
|
100
|
+
</xsd:sequence>
|
|
101
|
+
</xsd:group>
|
|
102
|
+
|
|
103
|
+
<xsd:group name="xhtml.InlSpecial.class">
|
|
104
|
+
<xsd:choice>
|
|
105
|
+
<xsd:element name="object" type="xhtml.object.type" />
|
|
106
|
+
</xsd:choice>
|
|
107
|
+
</xsd:group>
|
|
108
|
+
|
|
109
|
+
<xsd:group name="xhtml.Inline.extra">
|
|
110
|
+
<xsd:sequence />
|
|
111
|
+
</xsd:group>
|
|
112
|
+
|
|
113
|
+
<xsd:group name="xhtml.Inline.class">
|
|
114
|
+
<xsd:choice>
|
|
115
|
+
<xsd:group ref="xhtml.InlStruct.class" />
|
|
116
|
+
<xsd:group ref="xhtml.InlPhras.class" />
|
|
117
|
+
<xsd:group ref="xhtml.InlPres.class" />
|
|
118
|
+
<xsd:group ref="xhtml.Anchor.class" />
|
|
119
|
+
<xsd:group ref="xhtml.InlSpecial.class" />
|
|
120
|
+
<xsd:group ref="xhtml.Inline.extra" />
|
|
121
|
+
</xsd:choice>
|
|
122
|
+
</xsd:group>
|
|
123
|
+
|
|
124
|
+
<xsd:group name="xhtml.InlNoRuby.class">
|
|
125
|
+
<xsd:choice>
|
|
126
|
+
<xsd:group ref="xhtml.InlStruct.class" />
|
|
127
|
+
<xsd:group ref="xhtml.InlPhras.class" />
|
|
128
|
+
<xsd:group ref="xhtml.InlPres.class" />
|
|
129
|
+
<xsd:group ref="xhtml.Anchor.class" />
|
|
130
|
+
<xsd:group ref="xhtml.InlSpecial.class" />
|
|
131
|
+
<xsd:group ref="xhtml.Inline.extra" />
|
|
132
|
+
</xsd:choice>
|
|
133
|
+
</xsd:group>
|
|
134
|
+
|
|
135
|
+
<xsd:group name="xhtml.InlinePre.mix">
|
|
136
|
+
<xsd:choice>
|
|
137
|
+
<xsd:group ref="xhtml.InlStruct.class" />
|
|
138
|
+
<xsd:group ref="xhtml.InlPhras.class" />
|
|
139
|
+
<xsd:element name="tt" type="xhtml.InlPres.type" />
|
|
140
|
+
<xsd:element name="i" type="xhtml.InlPres.type" />
|
|
141
|
+
<xsd:element name="b" type="xhtml.InlPres.type" />
|
|
142
|
+
<xsd:group ref="xhtml.Anchor.class" />
|
|
143
|
+
<xsd:group ref="xhtml.Misc.class" />
|
|
144
|
+
<xsd:group ref="xhtml.Inline.extra" />
|
|
145
|
+
</xsd:choice>
|
|
146
|
+
</xsd:group>
|
|
147
|
+
|
|
148
|
+
<xsd:group name="xhtml.InlNoAnchor.class">
|
|
149
|
+
<xsd:choice>
|
|
150
|
+
<xsd:group ref="xhtml.InlStruct.class" />
|
|
151
|
+
<xsd:group ref="xhtml.InlPhras.class" />
|
|
152
|
+
<xsd:group ref="xhtml.InlPres.class" />
|
|
153
|
+
<xsd:group ref="xhtml.InlSpecial.class" />
|
|
154
|
+
<xsd:group ref="xhtml.Inline.extra" />
|
|
155
|
+
</xsd:choice>
|
|
156
|
+
</xsd:group>
|
|
157
|
+
|
|
158
|
+
<xsd:group name="xhtml.InlNoAnchor.mix">
|
|
159
|
+
<xsd:choice>
|
|
160
|
+
<xsd:group ref="xhtml.InlNoAnchor.class" />
|
|
161
|
+
<xsd:group ref="xhtml.Misc.class" />
|
|
162
|
+
</xsd:choice>
|
|
163
|
+
</xsd:group>
|
|
164
|
+
|
|
165
|
+
<xsd:group name="xhtml.Inline.mix">
|
|
166
|
+
<xsd:choice>
|
|
167
|
+
<xsd:group ref="xhtml.Inline.class" />
|
|
168
|
+
<xsd:group ref="xhtml.Misc.class" />
|
|
169
|
+
</xsd:choice>
|
|
170
|
+
</xsd:group>
|
|
171
|
+
|
|
172
|
+
<xsd:group name="xhtml.Heading.class">
|
|
173
|
+
<xsd:choice>
|
|
174
|
+
<xsd:element name="h1" type="xhtml.h1.type" />
|
|
175
|
+
<xsd:element name="h2" type="xhtml.h2.type" />
|
|
176
|
+
<xsd:element name="h3" type="xhtml.h3.type" />
|
|
177
|
+
<xsd:element name="h4" type="xhtml.h4.type" />
|
|
178
|
+
<xsd:element name="h5" type="xhtml.h5.type" />
|
|
179
|
+
<xsd:element name="h6" type="xhtml.h6.type" />
|
|
180
|
+
</xsd:choice>
|
|
181
|
+
</xsd:group>
|
|
182
|
+
|
|
183
|
+
<xsd:group name="xhtml.List.class">
|
|
184
|
+
<xsd:choice>
|
|
185
|
+
<xsd:element name="ul" type="xhtml.ul.type" />
|
|
186
|
+
<xsd:element name="ol" type="xhtml.ol.type" />
|
|
187
|
+
<xsd:element name="dl" type="xhtml.dl.type" />
|
|
188
|
+
</xsd:choice>
|
|
189
|
+
</xsd:group>
|
|
190
|
+
|
|
191
|
+
<xsd:group name="xhtml.Table.class">
|
|
192
|
+
<xsd:choice>
|
|
193
|
+
<xsd:element name="table" type="xhtml.table.type" />
|
|
194
|
+
</xsd:choice>
|
|
195
|
+
</xsd:group>
|
|
196
|
+
|
|
197
|
+
<xsd:group name="xhtml.BlkStruct.class">
|
|
198
|
+
<xsd:choice>
|
|
199
|
+
<xsd:element name="p" type="xhtml.p.type" />
|
|
200
|
+
<xsd:element name="div" type="xhtml.div.type" />
|
|
201
|
+
</xsd:choice>
|
|
202
|
+
</xsd:group>
|
|
203
|
+
|
|
204
|
+
<xsd:group name="xhtml.BlkPhras.class">
|
|
205
|
+
<xsd:choice>
|
|
206
|
+
<xsd:element name="pre" type="xhtml.pre.type" />
|
|
207
|
+
<xsd:element name="blockquote" type="xhtml.blockquote.type" />
|
|
208
|
+
<xsd:element name="address" type="xhtml.address.type" />
|
|
209
|
+
</xsd:choice>
|
|
210
|
+
</xsd:group>
|
|
211
|
+
|
|
212
|
+
<xsd:group name="xhtml.BlkPres.class">
|
|
213
|
+
<xsd:sequence>
|
|
214
|
+
<xsd:element name="hr" type="xhtml.hr.type" />
|
|
215
|
+
</xsd:sequence>
|
|
216
|
+
</xsd:group>
|
|
217
|
+
|
|
218
|
+
<xsd:group name="xhtml.BlkSpecial.class">
|
|
219
|
+
<xsd:choice>
|
|
220
|
+
<xsd:group ref="xhtml.Table.class" />
|
|
221
|
+
</xsd:choice>
|
|
222
|
+
</xsd:group>
|
|
223
|
+
|
|
224
|
+
<xsd:group name="xhtml.Block.extra">
|
|
225
|
+
<xsd:sequence />
|
|
226
|
+
</xsd:group>
|
|
227
|
+
|
|
228
|
+
<xsd:group name="xhtml.Block.class">
|
|
229
|
+
<xsd:choice>
|
|
230
|
+
<xsd:group ref="xhtml.BlkStruct.class" />
|
|
231
|
+
<xsd:group ref="xhtml.BlkPhras.class" />
|
|
232
|
+
<xsd:group ref="xhtml.BlkPres.class" />
|
|
233
|
+
<xsd:group ref="xhtml.BlkSpecial.class" />
|
|
234
|
+
<xsd:group ref="xhtml.Block.extra" />
|
|
235
|
+
</xsd:choice>
|
|
236
|
+
</xsd:group>
|
|
237
|
+
|
|
238
|
+
<xsd:group name="xhtml.Block.mix">
|
|
239
|
+
<xsd:choice>
|
|
240
|
+
<xsd:group ref="xhtml.Heading.class" />
|
|
241
|
+
<xsd:group ref="xhtml.List.class" />
|
|
242
|
+
<xsd:group ref="xhtml.Block.class" />
|
|
243
|
+
<xsd:group ref="xhtml.Misc.class" />
|
|
244
|
+
</xsd:choice>
|
|
245
|
+
</xsd:group>
|
|
246
|
+
|
|
247
|
+
<xsd:group name="xhtml.Flow.mix">
|
|
248
|
+
<xsd:choice>
|
|
249
|
+
<xsd:group ref="xhtml.Heading.class" />
|
|
250
|
+
<xsd:group ref="xhtml.List.class" />
|
|
251
|
+
<xsd:group ref="xhtml.Block.class" />
|
|
252
|
+
<xsd:group ref="xhtml.Inline.class" />
|
|
253
|
+
<xsd:group ref="xhtml.Misc.class" />
|
|
254
|
+
</xsd:choice>
|
|
255
|
+
</xsd:group>
|
|
256
|
+
|
|
257
|
+
<xsd:group name="xhtml.BlkNoForm.mix">
|
|
258
|
+
<xsd:choice>
|
|
259
|
+
<xsd:group ref="xhtml.Heading.class" />
|
|
260
|
+
<xsd:group ref="xhtml.List.class" />
|
|
261
|
+
<xsd:group ref="xhtml.BlkStruct.class" />
|
|
262
|
+
<xsd:group ref="xhtml.BlkPhras.class" />
|
|
263
|
+
<xsd:group ref="xhtml.BlkPres.class" />
|
|
264
|
+
<xsd:group ref="xhtml.Table.class" />
|
|
265
|
+
<xsd:group ref="xhtml.Block.extra" />
|
|
266
|
+
<xsd:group ref="xhtml.Misc.class" />
|
|
267
|
+
</xsd:choice>
|
|
268
|
+
</xsd:group>
|
|
269
|
+
|
|
270
|
+
</xsd:schema>
|