validate-website 1.6.0 → 1.7.0
Sign up to get free protection for your applications and to get access to all the features.
- checksums.yaml +4 -4
- data/History.md +8 -0
- data/LICENSE +1 -1
- data/README.md +1 -1
- data/lib/validate_website/core.rb +1 -0
- data/lib/validate_website/static.rb +4 -63
- data/lib/validate_website/static_link.rb +65 -0
- data/lib/validate_website/validator.rb +43 -39
- data/lib/validate_website/version.rb +1 -1
- data/man/man1/validate-website-static.1 +3 -3
- data/man/man1/validate-website.1 +3 -3
- data/test/crawler_test.rb +9 -5
- data/test/data/validator.nu-failure.json +1 -0
- data/test/data/validator.nu-success.json +1 -0
- data/test/static_test.rb +1 -1
- data/test/validator_test.rb +14 -41
- metadata +14 -68
- data/data/schemas/xhtml-access-1.xsd +0 -43
- data/data/schemas/xhtml-applet-1.xsd +0 -66
- data/data/schemas/xhtml-attribs-1.xsd +0 -67
- data/data/schemas/xhtml-basic-form-1.xsd +0 -195
- data/data/schemas/xhtml-basic-table-1.xsd +0 -169
- data/data/schemas/xhtml-basic10-model-1.xsd +0 -385
- data/data/schemas/xhtml-basic10-module-redefines-1.xsd +0 -61
- data/data/schemas/xhtml-basic10-modules-1.xsd +0 -233
- data/data/schemas/xhtml-basic10.xsd +0 -99
- data/data/schemas/xhtml-basic11-model-1.xsd +0 -622
- data/data/schemas/xhtml-basic11-modules-1.xsd +0 -508
- data/data/schemas/xhtml-basic11.xsd +0 -105
- data/data/schemas/xhtml-bdo-1.xsd +0 -72
- data/data/schemas/xhtml-blkphras-1.xsd +0 -155
- data/data/schemas/xhtml-blkpres-1.xsd +0 -32
- data/data/schemas/xhtml-blkstruct-1.xsd +0 -44
- data/data/schemas/xhtml-csismap-1.xsd +0 -91
- data/data/schemas/xhtml-edit-1.xsd +0 -34
- data/data/schemas/xhtml-form-1.xsd +0 -321
- data/data/schemas/xhtml-frames-1.xsd +0 -113
- data/data/schemas/xhtml-framework-1.xsd +0 -62
- data/data/schemas/xhtml-hypertext-1.xsd +0 -47
- data/data/schemas/xhtml-iframe-1.xsd +0 -68
- data/data/schemas/xhtml-image-1.xsd +0 -40
- data/data/schemas/xhtml-inlphras-1.xsd +0 -158
- data/data/schemas/xhtml-inlpres-1.xsd +0 -34
- data/data/schemas/xhtml-inlstruct-1.xsd +0 -45
- data/data/schemas/xhtml-legacy-1.xsd +0 -97
- data/data/schemas/xhtml-link-1.xsd +0 -45
- data/data/schemas/xhtml-list-1.xsd +0 -94
- data/data/schemas/xhtml-meta-1.xsd +0 -54
- data/data/schemas/xhtml-misc-1.xsd +0 -441
- data/data/schemas/xhtml-object-1.xsd +0 -71
- data/data/schemas/xhtml-param-1.xsd +0 -46
- data/data/schemas/xhtml-pres-1.xsd +0 -46
- data/data/schemas/xhtml-print-1.xsd +0 -85
- data/data/schemas/xhtml-print-model-1.xsd +0 -604
- data/data/schemas/xhtml-print-modules-1.xsd +0 -422
- data/data/schemas/xhtml-rdfa-1.xsd +0 -116
- data/data/schemas/xhtml-rdfa-model-1.xsd +0 -461
- data/data/schemas/xhtml-rdfa-modules-1.xsd +0 -548
- data/data/schemas/xhtml-ruby-1.xsd +0 -170
- data/data/schemas/xhtml-script-1.xsd +0 -65
- data/data/schemas/xhtml-struct-1.xsd +0 -85
- data/data/schemas/xhtml-style-1.xsd +0 -47
- data/data/schemas/xhtml-table-1.xsd +0 -267
- data/data/schemas/xhtml-text-1.xsd +0 -62
- data/data/schemas/xhtml11-model-1.xsd +0 -715
- data/data/schemas/xhtml11-module-redefines-1.xsd +0 -335
- data/data/schemas/xhtml11-modules-1.xsd +0 -605
- data/data/schemas/xhtml11.xsd +0 -107
- data/data/schemas/xml-handlers-2.xsd +0 -98
- data/data/schemas/xml-script-1.xsd +0 -38
- data/test/data/html5-linuxfr.html +0 -1286
- data/test/data/validator.nu-excessive.html +0 -118
- data/test/data/validator.nu-failure.html +0 -10
- data/test/data/validator.nu-success.html +0 -2
@@ -1,34 +0,0 @@
|
|
1
|
-
<?xml version="1.0" encoding="UTF-8"?>
|
2
|
-
<xs:schema xmlns:xs="http://www.w3.org/2001/XMLSchema" elementFormDefault="qualified" xmlns:xh11d="http://www.w3.org/1999/xhtml/datatypes/">
|
3
|
-
<xs:import namespace="http://www.w3.org/1999/xhtml/datatypes/" schemaLocation="xhtml-datatypes-1.xsd"/>
|
4
|
-
|
5
|
-
<xs:annotation>
|
6
|
-
<xs:documentation>
|
7
|
-
Editing Elements
|
8
|
-
This is the XML Schema Editing Markup module for XHTML
|
9
|
-
|
10
|
-
* ins, del
|
11
|
-
|
12
|
-
This module declares element types and attributes used to indicate
|
13
|
-
inserted and deleted content while editing a document.
|
14
|
-
|
15
|
-
$Id: xhtml-edit-1.xsd,v 1.2 2005/09/26 22:54:53 ahby Exp $
|
16
|
-
</xs:documentation>
|
17
|
-
<xs:documentation source="xhtml-copyright-1.xsd"/>
|
18
|
-
<xs:documentation source="http://www.w3.org/TR/2001/REC-xhtml-modularization-20010410/abstract_modules.html#s_editmodule"/>
|
19
|
-
</xs:annotation>
|
20
|
-
<xs:attributeGroup name="xhtml.edit.attlist">
|
21
|
-
<xs:attributeGroup ref="xhtml.Common.attrib"/>
|
22
|
-
<xs:attribute name="cite" type="xh11d:URI"/>
|
23
|
-
<xs:attribute name="datetime" type="xh11d:Datetime"/>
|
24
|
-
</xs:attributeGroup>
|
25
|
-
<xs:group name="xhtml.edit.content">
|
26
|
-
<xs:sequence>
|
27
|
-
<xs:group ref="xhtml.Flow.mix" minOccurs="0" maxOccurs="unbounded"/>
|
28
|
-
</xs:sequence>
|
29
|
-
</xs:group>
|
30
|
-
<xs:complexType name="xhtml.edit.type" mixed="true">
|
31
|
-
<xs:group ref="xhtml.edit.content"/>
|
32
|
-
<xs:attributeGroup ref="xhtml.edit.attlist"/>
|
33
|
-
</xs:complexType>
|
34
|
-
</xs:schema>
|
@@ -1,321 +0,0 @@
|
|
1
|
-
<?xml version="1.0" encoding="UTF-8"?>
|
2
|
-
<xs:schema xmlns:xs="http://www.w3.org/2001/XMLSchema" elementFormDefault="qualified" xmlns:xh11d="http://www.w3.org/1999/xhtml/datatypes/">
|
3
|
-
<xs:import namespace="http://www.w3.org/1999/xhtml/datatypes/" schemaLocation="xhtml-datatypes-1.xsd"/>
|
4
|
-
|
5
|
-
<xs:annotation>
|
6
|
-
<xs:documentation>
|
7
|
-
Forms
|
8
|
-
This is the XML Schema Forms module for XHTML
|
9
|
-
|
10
|
-
* form, label, input, select, optgroup, option,
|
11
|
-
textarea, fieldset, legend, button
|
12
|
-
|
13
|
-
This module declares markup to provide support for online
|
14
|
-
forms, based on the features found in HTML 4.0 forms.
|
15
|
-
|
16
|
-
|
17
|
-
$Id: xhtml-form-1.xsd,v 1.3 2005/09/26 22:54:53 ahby Exp $
|
18
|
-
</xs:documentation>
|
19
|
-
<xs:documentation source="xhtml-copyright-1.xsd"/>
|
20
|
-
<xs:documentation source="http://www.w3.org/TR/2001/REC-xhtml-modularization-20010410/abstract_modules.html#s_extformsmodule"/>
|
21
|
-
</xs:annotation>
|
22
|
-
<!-- form: Form Element -->
|
23
|
-
<xs:attributeGroup name="xhtml.form.attlist">
|
24
|
-
<xs:attributeGroup ref="xhtml.Common.attrib"/>
|
25
|
-
<xs:attribute name="action" type="xh11d:URI" use="required"/>
|
26
|
-
<xs:attribute name="method" default="get">
|
27
|
-
<xs:simpleType>
|
28
|
-
<xs:restriction base="xs:NMTOKEN">
|
29
|
-
<xs:enumeration value="get"/>
|
30
|
-
<xs:enumeration value="post"/>
|
31
|
-
</xs:restriction>
|
32
|
-
</xs:simpleType>
|
33
|
-
</xs:attribute>
|
34
|
-
<xs:attribute name="enctype" type="xh11d:ContentType" default="application/x-www-form-urlencoded"/>
|
35
|
-
<xs:attribute name="accept-charset" type="xh11d:Charsets"/>
|
36
|
-
<xs:attribute name="accept" type="xh11d:ContentTypes"/>
|
37
|
-
</xs:attributeGroup>
|
38
|
-
<xs:group name="xhtml.form.content">
|
39
|
-
<xs:sequence>
|
40
|
-
<xs:choice maxOccurs="unbounded">
|
41
|
-
<xs:group ref="xhtml.BlkNoForm.mix"/>
|
42
|
-
<xs:element name="fieldset" type="xhtml.fieldset.type"/>
|
43
|
-
</xs:choice>
|
44
|
-
</xs:sequence>
|
45
|
-
</xs:group>
|
46
|
-
<xs:complexType name="xhtml.form.type">
|
47
|
-
<xs:group ref="xhtml.form.content"/>
|
48
|
-
<xs:attributeGroup ref="xhtml.form.attlist"/>
|
49
|
-
</xs:complexType>
|
50
|
-
<!--
|
51
|
-
label: Form Field Label Text
|
52
|
-
Note: Each label must not contain more than ONE field
|
53
|
-
-->
|
54
|
-
<xs:group name="xhtml.label.content">
|
55
|
-
<xs:sequence>
|
56
|
-
<xs:choice minOccurs="0" maxOccurs="unbounded">
|
57
|
-
<xs:element name="input" type="xhtml.input.type"/>
|
58
|
-
<xs:element name="select" type="xhtml.select.type"/>
|
59
|
-
<xs:element name="textarea" type="xhtml.textarea.type"/>
|
60
|
-
<xs:element name="button" type="xhtml.button.type"/>
|
61
|
-
<xs:group ref="xhtml.InlStruct.class"/>
|
62
|
-
<xs:group ref="xhtml.InlPhras.class"/>
|
63
|
-
<xs:group ref="xhtml.I18n.class"/>
|
64
|
-
<xs:group ref="xhtml.InlPres.class"/>
|
65
|
-
<xs:group ref="xhtml.InlSpecial.class"/>
|
66
|
-
<xs:group ref="xhtml.Inline.extra"/>
|
67
|
-
<xs:group ref="xhtml.Misc.class"/>
|
68
|
-
</xs:choice>
|
69
|
-
</xs:sequence>
|
70
|
-
</xs:group>
|
71
|
-
<xs:attributeGroup name="xhtml.label.attlist">
|
72
|
-
<xs:attributeGroup ref="xhtml.Common.attrib"/>
|
73
|
-
<xs:attribute name="for" type="xs:IDREF"/>
|
74
|
-
<xs:attribute name="accesskey" type="xh11d:Character"/>
|
75
|
-
</xs:attributeGroup>
|
76
|
-
<xs:complexType name="xhtml.label.type" mixed="true">
|
77
|
-
<xs:group ref="xhtml.label.content"/>
|
78
|
-
<xs:attributeGroup ref="xhtml.label.attlist"/>
|
79
|
-
</xs:complexType>
|
80
|
-
<!-- input: Form Control -->
|
81
|
-
<xs:simpleType name="xhtml.InputType.class">
|
82
|
-
<xs:restriction base="xs:NMTOKEN">
|
83
|
-
<xs:enumeration value="text"/>
|
84
|
-
<xs:enumeration value="password"/>
|
85
|
-
<xs:enumeration value="checkbox"/>
|
86
|
-
<xs:enumeration value="radio"/>
|
87
|
-
<xs:enumeration value="submit"/>
|
88
|
-
<xs:enumeration value="reset"/>
|
89
|
-
<xs:enumeration value="hidden"/>
|
90
|
-
<xs:enumeration value="image"/>
|
91
|
-
<xs:enumeration value="button"/>
|
92
|
-
<xs:enumeration value="file"/>
|
93
|
-
</xs:restriction>
|
94
|
-
</xs:simpleType>
|
95
|
-
<!--
|
96
|
-
attribute 'name' required for all but submit & reset
|
97
|
-
-->
|
98
|
-
<xs:attributeGroup name="xhtml.input.attlist">
|
99
|
-
<xs:attributeGroup ref="xhtml.Common.attrib"/>
|
100
|
-
<xs:attribute name="type" type="xhtml.InputType.class" default="text"/>
|
101
|
-
<xs:attribute name="name" type="xh11d:CDATA"/>
|
102
|
-
<xs:attribute name="value" type="xh11d:CDATA"/>
|
103
|
-
<xs:attribute name="checked">
|
104
|
-
<xs:simpleType>
|
105
|
-
<xs:restriction base="xs:NMTOKEN">
|
106
|
-
<xs:enumeration value="checked"/>
|
107
|
-
</xs:restriction>
|
108
|
-
</xs:simpleType>
|
109
|
-
</xs:attribute>
|
110
|
-
<xs:attribute name="disabled">
|
111
|
-
<xs:simpleType>
|
112
|
-
<xs:restriction base="xs:NMTOKEN">
|
113
|
-
<xs:enumeration value="disabled"/>
|
114
|
-
</xs:restriction>
|
115
|
-
</xs:simpleType>
|
116
|
-
</xs:attribute>
|
117
|
-
<xs:attribute name="readonly">
|
118
|
-
<xs:simpleType>
|
119
|
-
<xs:restriction base="xs:NMTOKEN">
|
120
|
-
<xs:enumeration value="readonly"/>
|
121
|
-
</xs:restriction>
|
122
|
-
</xs:simpleType>
|
123
|
-
</xs:attribute>
|
124
|
-
<xs:attribute name="size" type="xh11d:Number"/>
|
125
|
-
<xs:attribute name="maxlength" type="xh11d:Number"/>
|
126
|
-
<xs:attribute name="src" type="xh11d:URI"/>
|
127
|
-
<xs:attribute name="alt" type="xh11d:Text"/>
|
128
|
-
<xs:attribute name="tabindex" type="xh11d:Number"/>
|
129
|
-
<xs:attribute name="accesskey" type="xh11d:Character"/>
|
130
|
-
<xs:attribute name="accept" type="xh11d:ContentTypes"/>
|
131
|
-
</xs:attributeGroup>
|
132
|
-
<xs:group name="xhtml.input.content">
|
133
|
-
<xs:sequence/>
|
134
|
-
</xs:group>
|
135
|
-
<xs:complexType name="xhtml.input.type">
|
136
|
-
<xs:group ref="xhtml.input.content"/>
|
137
|
-
<xs:attributeGroup ref="xhtml.input.attlist"/>
|
138
|
-
</xs:complexType>
|
139
|
-
<!-- select: Option Selector -->
|
140
|
-
<xs:attributeGroup name="xhtml.select.attlist">
|
141
|
-
<xs:attributeGroup ref="xhtml.Common.attrib"/>
|
142
|
-
<xs:attribute name="name" type="xh11d:CDATA"/>
|
143
|
-
<xs:attribute name="size" type="xh11d:Number"/>
|
144
|
-
<xs:attribute name="multiple">
|
145
|
-
<xs:simpleType>
|
146
|
-
<xs:restriction base="xs:NMTOKEN">
|
147
|
-
<xs:enumeration value="multiple"/>
|
148
|
-
</xs:restriction>
|
149
|
-
</xs:simpleType>
|
150
|
-
</xs:attribute>
|
151
|
-
<xs:attribute name="disabled">
|
152
|
-
<xs:simpleType>
|
153
|
-
<xs:restriction base="xs:NMTOKEN">
|
154
|
-
<xs:enumeration value="disabled"/>
|
155
|
-
</xs:restriction>
|
156
|
-
</xs:simpleType>
|
157
|
-
</xs:attribute>
|
158
|
-
<xs:attribute name="tabindex" type="xh11d:Number"/>
|
159
|
-
</xs:attributeGroup>
|
160
|
-
<xs:group name="xhtml.select.content">
|
161
|
-
<xs:sequence>
|
162
|
-
<xs:choice maxOccurs="unbounded">
|
163
|
-
<xs:element name="optgroup" type="xhtml.optgroup.type"/>
|
164
|
-
<xs:element name="option" type="xhtml.option.type"/>
|
165
|
-
</xs:choice>
|
166
|
-
</xs:sequence>
|
167
|
-
</xs:group>
|
168
|
-
<xs:complexType name="xhtml.select.type">
|
169
|
-
<xs:group ref="xhtml.select.content"/>
|
170
|
-
<xs:attributeGroup ref="xhtml.select.attlist"/>
|
171
|
-
</xs:complexType>
|
172
|
-
<!-- optgroup: Option Group -->
|
173
|
-
<xs:attributeGroup name="xhtml.optgroup.attlist">
|
174
|
-
<xs:attributeGroup ref="xhtml.Common.attrib"/>
|
175
|
-
<xs:attribute name="disabled">
|
176
|
-
<xs:simpleType>
|
177
|
-
<xs:restriction base="xs:NMTOKEN">
|
178
|
-
<xs:enumeration value="disabled"/>
|
179
|
-
</xs:restriction>
|
180
|
-
</xs:simpleType>
|
181
|
-
</xs:attribute>
|
182
|
-
<xs:attribute name="label" type="xh11d:Text" use="required"/>
|
183
|
-
</xs:attributeGroup>
|
184
|
-
<xs:group name="xhtml.optgroup.content">
|
185
|
-
<xs:sequence>
|
186
|
-
<xs:element name="option" type="xhtml.option.type" maxOccurs="unbounded"/>
|
187
|
-
</xs:sequence>
|
188
|
-
</xs:group>
|
189
|
-
<xs:complexType name="xhtml.optgroup.type">
|
190
|
-
<xs:group ref="xhtml.optgroup.content"/>
|
191
|
-
<xs:attributeGroup ref="xhtml.optgroup.attlist"/>
|
192
|
-
</xs:complexType>
|
193
|
-
<!-- option: Selectable Choice -->
|
194
|
-
<xs:attributeGroup name="xhtml.option.attlist">
|
195
|
-
<xs:attributeGroup ref="xhtml.Common.attrib"/>
|
196
|
-
<xs:attribute name="selected">
|
197
|
-
<xs:simpleType>
|
198
|
-
<xs:restriction base="xs:NMTOKEN">
|
199
|
-
<xs:enumeration value="selected"/>
|
200
|
-
</xs:restriction>
|
201
|
-
</xs:simpleType>
|
202
|
-
</xs:attribute>
|
203
|
-
<xs:attribute name="disabled">
|
204
|
-
<xs:simpleType>
|
205
|
-
<xs:restriction base="xs:NMTOKEN">
|
206
|
-
<xs:enumeration value="disabled"/>
|
207
|
-
</xs:restriction>
|
208
|
-
</xs:simpleType>
|
209
|
-
</xs:attribute>
|
210
|
-
<xs:attribute name="label" type="xh11d:Text"/>
|
211
|
-
<xs:attribute name="value" type="xh11d:CDATA"/>
|
212
|
-
</xs:attributeGroup>
|
213
|
-
<xs:group name="xhtml.option.content">
|
214
|
-
<xs:sequence/>
|
215
|
-
</xs:group>
|
216
|
-
<xs:complexType name="xhtml.option.type" mixed="true">
|
217
|
-
<xs:group ref="xhtml.option.content"/>
|
218
|
-
<xs:attributeGroup ref="xhtml.option.attlist"/>
|
219
|
-
</xs:complexType>
|
220
|
-
<!-- textarea: Multi-Line Text Field -->
|
221
|
-
<xs:attributeGroup name="xhtml.textarea.attlist">
|
222
|
-
<xs:attributeGroup ref="xhtml.Common.attrib"/>
|
223
|
-
<xs:attribute name="name" type="xh11d:CDATA"/>
|
224
|
-
<xs:attribute name="rows" type="xh11d:Number" use="required"/>
|
225
|
-
<xs:attribute name="cols" type="xh11d:Number" use="required"/>
|
226
|
-
<xs:attribute name="disabled">
|
227
|
-
<xs:simpleType>
|
228
|
-
<xs:restriction base="xs:NMTOKEN">
|
229
|
-
<xs:enumeration value="disabled"/>
|
230
|
-
</xs:restriction>
|
231
|
-
</xs:simpleType>
|
232
|
-
</xs:attribute>
|
233
|
-
<xs:attribute name="readonly">
|
234
|
-
<xs:simpleType>
|
235
|
-
<xs:restriction base="xs:NMTOKEN">
|
236
|
-
<xs:enumeration value="readonly"/>
|
237
|
-
</xs:restriction>
|
238
|
-
</xs:simpleType>
|
239
|
-
</xs:attribute>
|
240
|
-
<xs:attribute name="tabindex" type="xh11d:Number"/>
|
241
|
-
<xs:attribute name="accesskey" type="xh11d:Character"/>
|
242
|
-
</xs:attributeGroup>
|
243
|
-
<xs:group name="xhtml.textarea.content">
|
244
|
-
<xs:sequence/>
|
245
|
-
</xs:group>
|
246
|
-
<xs:complexType name="xhtml.textarea.type" mixed="true">
|
247
|
-
<xs:group ref="xhtml.textarea.content"/>
|
248
|
-
<xs:attributeGroup ref="xhtml.textarea.attlist"/>
|
249
|
-
</xs:complexType>
|
250
|
-
<!-- fieldset: Form Control Group -->
|
251
|
-
<xs:attributeGroup name="xhtml.fieldset.attlist">
|
252
|
-
<xs:attributeGroup ref="xhtml.Common.attrib"/>
|
253
|
-
</xs:attributeGroup>
|
254
|
-
<xs:group name="xhtml.fieldset.content">
|
255
|
-
<xs:sequence>
|
256
|
-
<xs:choice minOccurs="0" maxOccurs="unbounded">
|
257
|
-
<xs:element name="legend" type="xhtml.legend.type"/>
|
258
|
-
<xs:group ref="xhtml.Flow.mix"/>
|
259
|
-
</xs:choice>
|
260
|
-
</xs:sequence>
|
261
|
-
</xs:group>
|
262
|
-
<xs:complexType name="xhtml.fieldset.type" mixed="true">
|
263
|
-
<xs:group ref="xhtml.fieldset.content"/>
|
264
|
-
<xs:attributeGroup ref="xhtml.fieldset.attlist"/>
|
265
|
-
</xs:complexType>
|
266
|
-
<!-- legend: Fieldset Legend -->
|
267
|
-
<xs:attributeGroup name="xhtml.legend.attlist">
|
268
|
-
<xs:attributeGroup ref="xhtml.Common.attrib"/>
|
269
|
-
<xs:attribute name="accesskey" type="xh11d:Character"/>
|
270
|
-
</xs:attributeGroup>
|
271
|
-
<xs:group name="xhtml.legend.content">
|
272
|
-
<xs:sequence>
|
273
|
-
<xs:group ref="xhtml.Inline.mix" minOccurs="0" maxOccurs="unbounded"/>
|
274
|
-
</xs:sequence>
|
275
|
-
</xs:group>
|
276
|
-
<xs:complexType name="xhtml.legend.type" mixed="true">
|
277
|
-
<xs:group ref="xhtml.legend.content"/>
|
278
|
-
<xs:attributeGroup ref="xhtml.legend.attlist"/>
|
279
|
-
</xs:complexType>
|
280
|
-
<!-- button: Push Button -->
|
281
|
-
<xs:attributeGroup name="xhtml.button.attlist">
|
282
|
-
<xs:attributeGroup ref="xhtml.Common.attrib"/>
|
283
|
-
<xs:attribute name="name" type="xh11d:CDATA"/>
|
284
|
-
<xs:attribute name="value" type="xh11d:CDATA"/>
|
285
|
-
<xs:attribute name="type" default="submit">
|
286
|
-
<xs:simpleType>
|
287
|
-
<xs:restriction base="xs:NMTOKEN">
|
288
|
-
<xs:enumeration value="button"/>
|
289
|
-
<xs:enumeration value="submit"/>
|
290
|
-
<xs:enumeration value="reset"/>
|
291
|
-
</xs:restriction>
|
292
|
-
</xs:simpleType>
|
293
|
-
</xs:attribute>
|
294
|
-
<xs:attribute name="disabled">
|
295
|
-
<xs:simpleType>
|
296
|
-
<xs:restriction base="xs:NMTOKEN">
|
297
|
-
<xs:enumeration value="disabled"/>
|
298
|
-
</xs:restriction>
|
299
|
-
</xs:simpleType>
|
300
|
-
</xs:attribute>
|
301
|
-
<xs:attribute name="tabindex" type="xh11d:Number"/>
|
302
|
-
<xs:attribute name="accesskey" type="xh11d:Character"/>
|
303
|
-
</xs:attributeGroup>
|
304
|
-
<xs:group name="xhtml.button.content">
|
305
|
-
<xs:sequence>
|
306
|
-
<xs:choice minOccurs="0" maxOccurs="unbounded">
|
307
|
-
<xs:group ref="xhtml.BlkNoForm.mix"/>
|
308
|
-
<xs:group ref="xhtml.InlStruct.class"/>
|
309
|
-
<xs:group ref="xhtml.InlPhras.class"/>
|
310
|
-
<xs:group ref="xhtml.InlPres.class"/>
|
311
|
-
<xs:group ref="xhtml.I18n.class"/>
|
312
|
-
<xs:group ref="xhtml.InlSpecial.class"/>
|
313
|
-
<xs:group ref="xhtml.Inline.extra"/>
|
314
|
-
</xs:choice>
|
315
|
-
</xs:sequence>
|
316
|
-
</xs:group>
|
317
|
-
<xs:complexType name="xhtml.button.type" mixed="true">
|
318
|
-
<xs:group ref="xhtml.button.content"/>
|
319
|
-
<xs:attributeGroup ref="xhtml.button.attlist"/>
|
320
|
-
</xs:complexType>
|
321
|
-
</xs:schema>
|
@@ -1,113 +0,0 @@
|
|
1
|
-
<?xml version="1.0" encoding="UTF-8"?>
|
2
|
-
<xs:schema
|
3
|
-
xmlns:xs="http://www.w3.org/2001/XMLSchema"
|
4
|
-
elementFormDefault="qualified"
|
5
|
-
xmlns:xh11d="http://www.w3.org/1999/xhtml/datatypes/"
|
6
|
-
>
|
7
|
-
<xs:import namespace="http://www.w3.org/1999/xhtml/datatypes/"
|
8
|
-
schemaLocation="xhtml-datatypes-1.xsd" />
|
9
|
-
<xs:annotation>
|
10
|
-
<xs:documentation>
|
11
|
-
This is the XML Schema Frames module for XHTML
|
12
|
-
$Id: xhtml-frames-1.xsd,v 1.2 2005/09/26 22:54:53 ahby Exp $
|
13
|
-
</xs:documentation>
|
14
|
-
<xs:documentation source="xhtml-copyright-1.xsd"/>
|
15
|
-
</xs:annotation>
|
16
|
-
|
17
|
-
<xs:annotation>
|
18
|
-
<xs:documentation>
|
19
|
-
Frames
|
20
|
-
|
21
|
-
* frameset, frame, noframes
|
22
|
-
|
23
|
-
This module declares frame-related element types and attributes.
|
24
|
-
</xs:documentation>
|
25
|
-
<xs:documentation
|
26
|
-
source="http://www.w3.org/TR/2001/REC-xhtml-modularization-20010410/abstract_modules.html#s_framesmodule"/>
|
27
|
-
</xs:annotation>
|
28
|
-
|
29
|
-
<xs:attributeGroup name="xhtml.frameset.attlist">
|
30
|
-
<xs:attributeGroup ref="xhtml.Core.attrib"/>
|
31
|
-
<xs:attribute name="rows" type="xh11d:MultiLengths"/>
|
32
|
-
<xs:attribute name="cols" type="xh11d:MultiLengths"/>
|
33
|
-
</xs:attributeGroup>
|
34
|
-
|
35
|
-
<xs:group name="xhtml.frameset.content">
|
36
|
-
<xs:sequence>
|
37
|
-
<xs:choice minOccurs="1" maxOccurs="unbounded">
|
38
|
-
<xs:element ref="frameset"/>
|
39
|
-
<xs:element ref="frame"/>
|
40
|
-
</xs:choice>
|
41
|
-
<xs:element ref="noframes" minOccurs="0" maxOccurs="1"/>
|
42
|
-
</xs:sequence>
|
43
|
-
</xs:group>
|
44
|
-
|
45
|
-
<xs:complexType name="xhtml.frameset.type" mixed="true">
|
46
|
-
<xs:group ref="xhtml.frameset.content"/>
|
47
|
-
<xs:attributeGroup ref="xhtml.frameset.attlist"/>
|
48
|
-
</xs:complexType>
|
49
|
-
|
50
|
-
<!--
|
51
|
-
reserved frame names start with "_"
|
52
|
-
otherwise starts with letter
|
53
|
-
-->
|
54
|
-
<xs:attributeGroup name="xhtml.frame.attlist">
|
55
|
-
<xs:attributeGroup ref="xhtml.Core.attrib"/>
|
56
|
-
<xs:attribute name="longdesc" type="xh11d:URI"/>
|
57
|
-
<xs:attribute name="src" type="xh11d:URI"/>
|
58
|
-
<xs:attribute name="frameborder" default="1">
|
59
|
-
<xs:simpleType>
|
60
|
-
<xs:restriction base="xs:nonNegativeInteger">
|
61
|
-
<xs:enumeration value="1"/>
|
62
|
-
<xs:enumeration value="0"/>
|
63
|
-
</xs:restriction>
|
64
|
-
</xs:simpleType>
|
65
|
-
</xs:attribute>
|
66
|
-
<xs:attribute name="marginwidth" type="xh11d:Pixels"/>
|
67
|
-
<xs:attribute name="marginheight" type="xh11d:Pixels"/>
|
68
|
-
<xs:attribute name="noresize">
|
69
|
-
<xs:simpleType>
|
70
|
-
<xs:restriction base="xs:NMTOKEN">
|
71
|
-
<xs:enumeration value="noresize"/>
|
72
|
-
</xs:restriction>
|
73
|
-
</xs:simpleType>
|
74
|
-
</xs:attribute>
|
75
|
-
<xs:attribute name="scrolling" default="auto">
|
76
|
-
<xs:simpleType>
|
77
|
-
<xs:restriction base="xs:NMTOKEN">
|
78
|
-
<xs:enumeration value="yes"/>
|
79
|
-
<xs:enumeration value="no"/>
|
80
|
-
<xs:enumeration value="auto"/>
|
81
|
-
</xs:restriction>
|
82
|
-
</xs:simpleType>
|
83
|
-
</xs:attribute>
|
84
|
-
</xs:attributeGroup>
|
85
|
-
|
86
|
-
<xs:group name="xhtml.frame.content">
|
87
|
-
<xs:sequence/>
|
88
|
-
</xs:group>
|
89
|
-
|
90
|
-
<xs:complexType name="xhtml.frame.type">
|
91
|
-
<xs:group ref="xhtml.frame.content"/>
|
92
|
-
<xs:attributeGroup ref="xhtml.frame.attlist"/>
|
93
|
-
</xs:complexType>
|
94
|
-
|
95
|
-
<!--
|
96
|
-
noframes
|
97
|
-
-->
|
98
|
-
<xs:group name="xhtml.noframes.content">
|
99
|
-
<xs:sequence>
|
100
|
-
<xs:element ref="body"/>
|
101
|
-
</xs:sequence>
|
102
|
-
</xs:group>
|
103
|
-
|
104
|
-
<xs:attributeGroup name="xhtml.noframes.attlist">
|
105
|
-
<xs:attributeGroup ref="xhtml.Common.attrib"/>
|
106
|
-
</xs:attributeGroup>
|
107
|
-
|
108
|
-
<xs:complexType name="xhtml.noframes.type" mixed="true">
|
109
|
-
<xs:group ref="xhtml.noframes.content"/>
|
110
|
-
<xs:attributeGroup ref="xhtml.noframes.attlist"/>
|
111
|
-
</xs:complexType>
|
112
|
-
|
113
|
-
</xs:schema>
|