validate-website 0.1 → 0.2
Sign up to get free protection for your applications and to get access to all the features.
- data/README +15 -4
- data/Rakefile +6 -4
- data/bin/validate-website +33 -36
- data/lib/colorful_messages.rb +7 -10
- data/lib/validator.rb +37 -0
- data/lib/xhtml/xframes-1.xsd +166 -0
- data/lib/xhtml/xhtml-access-1.xsd +43 -0
- data/lib/xhtml/xhtml-applet-1.xsd +66 -0
- data/lib/xhtml/xhtml-attribs-1.xsd +67 -0
- data/lib/xhtml/xhtml-base-1.xsd +31 -0
- data/lib/xhtml/xhtml-basic-form-1.xsd +195 -0
- data/lib/xhtml/xhtml-basic-table-1.xsd +169 -0
- data/lib/xhtml/xhtml-basic10-model-1.xsd +385 -0
- data/lib/xhtml/xhtml-basic10-module-redefines-1.xsd +61 -0
- data/lib/xhtml/xhtml-basic10-modules-1.xsd +233 -0
- data/lib/xhtml/xhtml-basic10.xsd +99 -0
- data/lib/xhtml/xhtml-basic11-model-1.xsd +622 -0
- data/lib/xhtml/xhtml-basic11-modules-1.xsd +508 -0
- data/lib/xhtml/xhtml-basic11.xsd +105 -0
- data/lib/xhtml/xhtml-bdo-1.xsd +72 -0
- data/lib/xhtml/xhtml-blkphras-1.xsd +155 -0
- data/lib/xhtml/xhtml-blkpres-1.xsd +32 -0
- data/lib/xhtml/xhtml-blkstruct-1.xsd +44 -0
- data/lib/xhtml/xhtml-charent-1.xsd +38 -0
- data/lib/xhtml/xhtml-copyright-1.xsd +29 -0
- data/lib/xhtml/xhtml-csismap-1.xsd +91 -0
- data/lib/xhtml/xhtml-datatypes-1.xsd +177 -0
- data/lib/xhtml/xhtml-edit-1.xsd +34 -0
- data/lib/xhtml/xhtml-events-1.xsd +130 -0
- data/lib/xhtml/xhtml-form-1.xsd +321 -0
- data/lib/xhtml/xhtml-frames-1.xsd +113 -0
- data/lib/xhtml/xhtml-framework-1.xsd +62 -0
- data/lib/xhtml/xhtml-hypertext-1.xsd +47 -0
- data/lib/xhtml/xhtml-iframe-1.xsd +68 -0
- data/lib/xhtml/xhtml-image-1.xsd +40 -0
- data/lib/xhtml/xhtml-inlphras-1.xsd +158 -0
- data/lib/xhtml/xhtml-inlpres-1.xsd +34 -0
- data/lib/xhtml/xhtml-inlstruct-1.xsd +45 -0
- data/lib/xhtml/xhtml-inlstyle-1.xsd +22 -0
- data/lib/xhtml/xhtml-inputmode-1.xsd +35 -0
- data/lib/xhtml/xhtml-lat1.ent +196 -0
- data/lib/xhtml/xhtml-legacy-1.xsd +97 -0
- data/lib/xhtml/xhtml-link-1.xsd +45 -0
- data/lib/xhtml/xhtml-list-1.xsd +94 -0
- data/lib/xhtml/xhtml-meta-1.xsd +54 -0
- data/lib/xhtml/xhtml-metaAttributes-1.xsd +39 -0
- data/lib/xhtml/xhtml-misc-1.xsd +441 -0
- data/lib/xhtml/xhtml-nameident-1.xsd +63 -0
- data/lib/xhtml/xhtml-notations-1.xsd +69 -0
- data/lib/xhtml/xhtml-object-1.xsd +71 -0
- data/lib/xhtml/xhtml-param-1.xsd +46 -0
- data/lib/xhtml/xhtml-pres-1.xsd +46 -0
- data/lib/xhtml/xhtml-print-1.xsd +85 -0
- data/lib/xhtml/xhtml-print-model-1.xsd +604 -0
- data/lib/xhtml/xhtml-print-modules-1.xsd +422 -0
- data/lib/xhtml/xhtml-rdfa-1.dtd +438 -0
- data/lib/xhtml/xhtml-rdfa-1.xsd +116 -0
- data/lib/xhtml/xhtml-rdfa-model-1.xsd +461 -0
- data/lib/xhtml/xhtml-rdfa-modules-1.xsd +548 -0
- data/lib/xhtml/xhtml-ruby-1.xsd +170 -0
- data/lib/xhtml/xhtml-ruby-basic-1.xsd +84 -0
- data/lib/xhtml/xhtml-script-1.xsd +65 -0
- data/lib/xhtml/xhtml-special.ent +80 -0
- data/lib/xhtml/xhtml-ssismap-1.xsd +38 -0
- data/lib/xhtml/xhtml-struct-1.xsd +85 -0
- data/lib/xhtml/xhtml-style-1.xsd +47 -0
- data/lib/xhtml/xhtml-symbol.ent +237 -0
- data/lib/xhtml/xhtml-table-1.xsd +267 -0
- data/lib/xhtml/xhtml-target-1.xsd +49 -0
- data/lib/xhtml/xhtml-text-1.xsd +62 -0
- data/lib/xhtml/xhtml1-frameset.dtd +1235 -0
- data/lib/xhtml/xhtml1-frameset.xsd +2847 -0
- data/lib/xhtml/xhtml1-strict.dtd +978 -0
- data/lib/xhtml/xhtml1-strict.xsd +2211 -0
- data/lib/xhtml/xhtml1-transitional.dtd +1201 -0
- data/lib/xhtml/xhtml1-transitional.xsd +2755 -0
- data/lib/xhtml/xhtml11-model-1.xsd +715 -0
- data/lib/xhtml/xhtml11-module-redefines-1.xsd +335 -0
- data/lib/xhtml/xhtml11-modules-1.xsd +605 -0
- data/lib/xhtml/xhtml11.xsd +107 -0
- data/lib/xhtml/xhtml2.xsd +21 -0
- data/lib/xhtml/xml-events-1.xsd +73 -0
- data/lib/xhtml/xml-events-2.xsd +73 -0
- data/lib/xhtml/xml-events-attribs-1.xsd +73 -0
- data/lib/xhtml/xml-events-attribs-2.xsd +75 -0
- data/lib/xhtml/xml-events-copyright-1.xsd +34 -0
- data/lib/xhtml/xml-events-copyright-2.xsd +34 -0
- data/lib/xhtml/xml-handlers-1.xsd +136 -0
- data/lib/xhtml/xml-handlers-2.xsd +98 -0
- data/lib/xhtml/xml-script-1.xsd +38 -0
- data/lib/xhtml/xml.xsd +286 -0
- metadata +114 -8
- data/lib/spkspider.rb +0 -147
@@ -0,0 +1,130 @@
|
|
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
|
+
|
10
|
+
<xs:annotation>
|
11
|
+
<xs:documentation>
|
12
|
+
This is the XML Schema Intrinsic Events module for XHTML
|
13
|
+
$Id: xhtml-events-1.xsd,v 1.4 2005/09/26 22:54:53 ahby Exp $
|
14
|
+
</xs:documentation>
|
15
|
+
<xs:documentation source="xhtml-copyright-1.xsd"/>
|
16
|
+
</xs:annotation>
|
17
|
+
<xs:annotation>
|
18
|
+
<xs:documentation>
|
19
|
+
Intrinsic Event Attributes
|
20
|
+
These are the event attributes defined in HTML 4,
|
21
|
+
Section 18.2.3 "Intrinsic Events".
|
22
|
+
</xs:documentation>
|
23
|
+
<xs:documentation source="http://www.w3.org/TR/2001/REC-xhtml-modularization-20010410/abstract_modules.html#s_intrinsiceventsmodule"/>
|
24
|
+
</xs:annotation>
|
25
|
+
<xs:attributeGroup name="xhtml.Events.attrib">
|
26
|
+
<xs:attribute name="onclick" type="xh11d:Script"/>
|
27
|
+
<xs:attribute name="ondblclick" type="xh11d:Script"/>
|
28
|
+
<xs:attribute name="onmousedown" type="xh11d:Script"/>
|
29
|
+
<xs:attribute name="onmouseup" type="xh11d:Script"/>
|
30
|
+
<xs:attribute name="onmouseover" type="xh11d:Script"/>
|
31
|
+
<xs:attribute name="onmousemove" type="xh11d:Script"/>
|
32
|
+
<xs:attribute name="onmouseout" type="xh11d:Script"/>
|
33
|
+
<xs:attribute name="onkeypress" type="xh11d:Script"/>
|
34
|
+
<xs:attribute name="onkeydown" type="xh11d:Script"/>
|
35
|
+
<xs:attribute name="onkeyup" type="xh11d:Script"/>
|
36
|
+
</xs:attributeGroup>
|
37
|
+
<!--
|
38
|
+
additional attributes on anchor element
|
39
|
+
-->
|
40
|
+
<xs:attributeGroup name="xhtml.a.events.attlist">
|
41
|
+
<xs:attribute name="onfocus" type="xh11d:Script"/>
|
42
|
+
<xs:attribute name="onblur" type="xh11d:Script"/>
|
43
|
+
</xs:attributeGroup>
|
44
|
+
<!--
|
45
|
+
additional attributes on form element
|
46
|
+
-->
|
47
|
+
<xs:attributeGroup name="xhtml.form.events.attlist">
|
48
|
+
<xs:attribute name="onsubmit" type="xh11d:Script"/>
|
49
|
+
<xs:attribute name="onreset" type="xh11d:Script"/>
|
50
|
+
</xs:attributeGroup>
|
51
|
+
<!--
|
52
|
+
additional attributes on label element
|
53
|
+
-->
|
54
|
+
<xs:attributeGroup name="xhtml.label.events.attlist">
|
55
|
+
<xs:attribute name="onfocus" type="xh11d:Script"/>
|
56
|
+
<xs:attribute name="onblur" type="xh11d:Script"/>
|
57
|
+
</xs:attributeGroup>
|
58
|
+
<!--
|
59
|
+
additional attributes on input element
|
60
|
+
-->
|
61
|
+
<xs:attributeGroup name="xhtml.input.events.attlist">
|
62
|
+
<xs:attribute name="onfocus" type="xh11d:Script"/>
|
63
|
+
<xs:attribute name="onblur" type="xh11d:Script"/>
|
64
|
+
<xs:attribute name="onselect" type="xh11d:Script"/>
|
65
|
+
<xs:attribute name="onchange" type="xh11d:Script"/>
|
66
|
+
</xs:attributeGroup>
|
67
|
+
<!--
|
68
|
+
additional attributes on select element
|
69
|
+
-->
|
70
|
+
<xs:attributeGroup name="xhtml.select.events.attlist">
|
71
|
+
<xs:attribute name="onfocus" type="xh11d:Script"/>
|
72
|
+
<xs:attribute name="onblur" type="xh11d:Script"/>
|
73
|
+
<xs:attribute name="onchange" type="xh11d:Script"/>
|
74
|
+
</xs:attributeGroup>
|
75
|
+
<!--
|
76
|
+
additional attributes on textarea element
|
77
|
+
-->
|
78
|
+
<xs:attributeGroup name="xhtml.textarea.events.attlist">
|
79
|
+
<xs:attribute name="onfocus" type="xh11d:Script"/>
|
80
|
+
<xs:attribute name="onblur" type="xh11d:Script"/>
|
81
|
+
<xs:attribute name="onselect" type="xh11d:Script"/>
|
82
|
+
<xs:attribute name="onchange" type="xh11d:Script"/>
|
83
|
+
</xs:attributeGroup>
|
84
|
+
<!--
|
85
|
+
additional attributes on button element
|
86
|
+
-->
|
87
|
+
<xs:attributeGroup name="xhtml.button.events.attlist">
|
88
|
+
<xs:attribute name="onfocus" type="xh11d:Script"/>
|
89
|
+
<xs:attribute name="onblur" type="xh11d:Script"/>
|
90
|
+
</xs:attributeGroup>
|
91
|
+
<!--
|
92
|
+
additional attributes on body element
|
93
|
+
-->
|
94
|
+
<xs:attributeGroup name="xhtml.body.events.attlist">
|
95
|
+
<xs:attribute name="onload" type="xh11d:Script"/>
|
96
|
+
<xs:attribute name="onunload" type="xh11d:Script"/>
|
97
|
+
</xs:attributeGroup>
|
98
|
+
<!--
|
99
|
+
additional attributes on area element
|
100
|
+
-->
|
101
|
+
<xs:attributeGroup name="xhtml.area.events.attlist">
|
102
|
+
<xs:attribute name="onfocus" type="xh11d:Script"/>
|
103
|
+
<xs:attribute name="onblur" type="xh11d:Script"/>
|
104
|
+
</xs:attributeGroup>
|
105
|
+
<!--
|
106
|
+
Global Events Attributes
|
107
|
+
-->
|
108
|
+
<xs:attribute name="onclick" type="xh11d:Script"/>
|
109
|
+
<xs:attribute name="ondblclick" type="xh11d:Script"/>
|
110
|
+
<xs:attribute name="onmousedown" type="xh11d:Script"/>
|
111
|
+
<xs:attribute name="onmouseup" type="xh11d:Script"/>
|
112
|
+
<xs:attribute name="onmouseover" type="xh11d:Script"/>
|
113
|
+
<xs:attribute name="onmousemove" type="xh11d:Script"/>
|
114
|
+
<xs:attribute name="onmouseout" type="xh11d:Script"/>
|
115
|
+
<xs:attribute name="onkeypress" type="xh11d:Script"/>
|
116
|
+
<xs:attribute name="onkeydown" type="xh11d:Script"/>
|
117
|
+
<xs:attribute name="onkeyup" type="xh11d:Script"/>
|
118
|
+
<xs:attributeGroup name="xhtml.Global.events.attrib">
|
119
|
+
<xs:attribute ref="onclick"/>
|
120
|
+
<xs:attribute ref="ondblclick"/>
|
121
|
+
<xs:attribute ref="onmousedown"/>
|
122
|
+
<xs:attribute ref="onmouseup"/>
|
123
|
+
<xs:attribute ref="onmouseover"/>
|
124
|
+
<xs:attribute ref="onmousemove"/>
|
125
|
+
<xs:attribute ref="onmouseout"/>
|
126
|
+
<xs:attribute ref="onkeypress"/>
|
127
|
+
<xs:attribute ref="onkeydown"/>
|
128
|
+
<xs:attribute ref="onkeyup"/>
|
129
|
+
</xs:attributeGroup>
|
130
|
+
</xs:schema>
|
@@ -0,0 +1,321 @@
|
|
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>
|
@@ -0,0 +1,113 @@
|
|
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>
|
@@ -0,0 +1,62 @@
|
|
1
|
+
<?xml version="1.0" encoding="UTF-8"?>
|
2
|
+
<xs:schema xmlns:xs="http://www.w3.org/2001/XMLSchema" xmlns:xh11d="http://www.w3.org/1999/xhtml/datatypes/" elementFormDefault="qualified">
|
3
|
+
<xs:annotation>
|
4
|
+
<xs:documentation>
|
5
|
+
This is the XML Schema Modular Framework support module for XHTML
|
6
|
+
$Id: xhtml-framework-1.xsd,v 1.5 2005/09/26 23:37:47 ahby Exp $
|
7
|
+
</xs:documentation>
|
8
|
+
<xs:documentation source="xhtml-copyright-1.xsd"/>
|
9
|
+
</xs:annotation>
|
10
|
+
<xs:annotation>
|
11
|
+
<xs:documentation>
|
12
|
+
XHTML Modular Framework
|
13
|
+
This required module instantiates the necessary modules
|
14
|
+
needed to support the XHTML modularization framework.
|
15
|
+
|
16
|
+
The Schema modules instantiated are:
|
17
|
+
+ notations
|
18
|
+
+ datatypes
|
19
|
+
+ common attributes
|
20
|
+
+ character entities
|
21
|
+
</xs:documentation>
|
22
|
+
<xs:documentation source="http://www.w3.org/TR/xhtml-modularization/abstract_modules.html#s_commonatts"/>
|
23
|
+
</xs:annotation>
|
24
|
+
<!-- xs:include schemaLocation="xhtml-notations-1.xsd">
|
25
|
+
<xs:annotation>
|
26
|
+
<xs:documentation>
|
27
|
+
Notations module
|
28
|
+
Declares XHTML notations for Attribute data types
|
29
|
+
</xs:documentation>
|
30
|
+
</xs:annotation>
|
31
|
+
</xs:include -->
|
32
|
+
<xs:import namespace="http://www.w3.org/1999/xhtml/datatypes/" schemaLocation="xhtml-datatypes-1.xsd">
|
33
|
+
<xs:annotation>
|
34
|
+
<xs:documentation>
|
35
|
+
This module defines XHTML Attribute DataTypes
|
36
|
+
</xs:documentation>
|
37
|
+
<xs:documentation source="http://www.w3.org/TR/2001/REC-xhtml-modularization-20010410/abstraction.html#s_common_attrtypes"/>
|
38
|
+
</xs:annotation>
|
39
|
+
</xs:import>
|
40
|
+
<xs:include schemaLocation="xhtml-attribs-1.xsd">
|
41
|
+
<xs:annotation>
|
42
|
+
<xs:documentation>
|
43
|
+
This module defines Common attributes for XHTML
|
44
|
+
</xs:documentation>
|
45
|
+
<xs:documentation source="http://www.w3.org/TR/2001/REC-xhtml-modularization-20010410/abstract_modules.html#s_commonatts"/>
|
46
|
+
</xs:annotation>
|
47
|
+
</xs:include>
|
48
|
+
<!-- xs:include schemaLocation="xhtml-charent-1.xsd">
|
49
|
+
<xs:annotation>
|
50
|
+
<xs:documentation>
|
51
|
+
Character entities module
|
52
|
+
Note: Entities are not supported in XML Schema
|
53
|
+
The Schema Module uses DTDs to define Entities
|
54
|
+
|
55
|
+
This module defines
|
56
|
+
+ XHTML Latin 1 Character Entities
|
57
|
+
+ XHTML Special Characters
|
58
|
+
+ XHTML Mathematical, Greek, and Symbolic Characters
|
59
|
+
</xs:documentation>
|
60
|
+
</xs:annotation>
|
61
|
+
</xs:include -->
|
62
|
+
</xs:schema>
|