validate-website 1.6.0 → 1.7.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/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,169 +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 Basic Tables module for XHTML
|
|
12
|
-
$Id: xhtml-basic-table-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
|
-
Basic Tables
|
|
20
|
-
|
|
21
|
-
* table, caption, tr, th, td
|
|
22
|
-
|
|
23
|
-
This table module declares elements and attributes defining
|
|
24
|
-
a table model based fundamentally on features found in the
|
|
25
|
-
widely-deployed HTML 3.2 table model. While this module
|
|
26
|
-
mimics the content model and table attributes of HTML 3.2
|
|
27
|
-
tables, the element types declared herein also includes all
|
|
28
|
-
HTML 4 common and most of the HTML 4 table attributes.
|
|
29
|
-
</xs:documentation>
|
|
30
|
-
<xs:documentation
|
|
31
|
-
source="http://www.w3.org/TR/2001/REC-xhtml-modularization-20010410/abstract_modules.html#s_simpletablemodule"/>
|
|
32
|
-
</xs:annotation>
|
|
33
|
-
|
|
34
|
-
<xs:attributeGroup name="xhtml.CellHAlign.attrib">
|
|
35
|
-
<xs:attribute name="align">
|
|
36
|
-
<xs:simpleType>
|
|
37
|
-
<xs:restriction base="xs:NMTOKEN">
|
|
38
|
-
<xs:enumeration value="left"/>
|
|
39
|
-
<xs:enumeration value="center"/>
|
|
40
|
-
<xs:enumeration value="right"/>
|
|
41
|
-
</xs:restriction>
|
|
42
|
-
</xs:simpleType>
|
|
43
|
-
</xs:attribute>
|
|
44
|
-
</xs:attributeGroup>
|
|
45
|
-
|
|
46
|
-
<xs:attributeGroup name="xhtml.CellVAlign.attrib">
|
|
47
|
-
<xs:attribute name="valign">
|
|
48
|
-
<xs:simpleType>
|
|
49
|
-
<xs:restriction base="xs:NMTOKEN">
|
|
50
|
-
<xs:enumeration value="top"/>
|
|
51
|
-
<xs:enumeration value="middle"/>
|
|
52
|
-
<xs:enumeration value="bottom"/>
|
|
53
|
-
</xs:restriction>
|
|
54
|
-
</xs:simpleType>
|
|
55
|
-
</xs:attribute>
|
|
56
|
-
</xs:attributeGroup>
|
|
57
|
-
|
|
58
|
-
<xs:attributeGroup name="xhtml.scope.attrib">
|
|
59
|
-
<xs:attribute name="scope">
|
|
60
|
-
<xs:simpleType>
|
|
61
|
-
<xs:restriction base="xs:NMTOKEN">
|
|
62
|
-
<xs:enumeration value="row"/>
|
|
63
|
-
<xs:enumeration value="col"/>
|
|
64
|
-
</xs:restriction>
|
|
65
|
-
</xs:simpleType>
|
|
66
|
-
</xs:attribute>
|
|
67
|
-
</xs:attributeGroup>
|
|
68
|
-
|
|
69
|
-
<xs:attributeGroup name="xhtml.table.attlist">
|
|
70
|
-
<xs:attributeGroup ref="xhtml.Common.attrib"/>
|
|
71
|
-
<xs:attribute name="summary" type="xh11d:Text"/>
|
|
72
|
-
</xs:attributeGroup>
|
|
73
|
-
|
|
74
|
-
<xs:group name="xhtml.table.content">
|
|
75
|
-
<xs:sequence>
|
|
76
|
-
<xs:element name="caption" type="xhtml.caption.type"
|
|
77
|
-
minOccurs="0" maxOccurs="1"/>
|
|
78
|
-
<xs:element name="tr" type="xhtml.tr.type" maxOccurs="unbounded" />
|
|
79
|
-
</xs:sequence>
|
|
80
|
-
</xs:group>
|
|
81
|
-
|
|
82
|
-
<xs:complexType name="xhtml.table.type" >
|
|
83
|
-
<xs:group ref="xhtml.table.content"/>
|
|
84
|
-
<xs:attributeGroup ref="xhtml.table.attlist"/>
|
|
85
|
-
</xs:complexType>
|
|
86
|
-
|
|
87
|
-
<xs:attributeGroup name="xhtml.caption.attlist">
|
|
88
|
-
<xs:attributeGroup ref="xhtml.Common.attrib"/>
|
|
89
|
-
</xs:attributeGroup>
|
|
90
|
-
|
|
91
|
-
<xs:group name="xhtml.caption.content">
|
|
92
|
-
<xs:sequence>
|
|
93
|
-
<xs:group ref="xhtml.Inline.mix" minOccurs="0" maxOccurs="unbounded"/>
|
|
94
|
-
</xs:sequence>
|
|
95
|
-
</xs:group>
|
|
96
|
-
|
|
97
|
-
|
|
98
|
-
<xs:complexType name="xhtml.caption.type" mixed="true" >
|
|
99
|
-
<xs:group ref="xhtml.caption.content"/>
|
|
100
|
-
<xs:attributeGroup ref="xhtml.caption.attlist"/>
|
|
101
|
-
</xs:complexType>
|
|
102
|
-
|
|
103
|
-
<xs:attributeGroup name="xhtml.tr.attlist">
|
|
104
|
-
<xs:attributeGroup ref="xhtml.Common.attrib"/>
|
|
105
|
-
<xs:attributeGroup ref="xhtml.CellHAlign.attrib"/>
|
|
106
|
-
<xs:attributeGroup ref="xhtml.CellVAlign.attrib"/>
|
|
107
|
-
</xs:attributeGroup>
|
|
108
|
-
|
|
109
|
-
<xs:group name="xhtml.tr.content">
|
|
110
|
-
<xs:sequence>
|
|
111
|
-
<xs:choice maxOccurs="unbounded">
|
|
112
|
-
<xs:element name="th" type="xhtml.th.type"/>
|
|
113
|
-
<xs:element name="td" type="xhtml.td.type"/>
|
|
114
|
-
</xs:choice>
|
|
115
|
-
</xs:sequence>
|
|
116
|
-
</xs:group>
|
|
117
|
-
|
|
118
|
-
<xs:complexType name="xhtml.tr.type">
|
|
119
|
-
<xs:group ref="xhtml.tr.content"/>
|
|
120
|
-
<xs:attributeGroup ref="xhtml.tr.attlist"/>
|
|
121
|
-
</xs:complexType>
|
|
122
|
-
|
|
123
|
-
<xs:attributeGroup name="xhtml.th.attlist">
|
|
124
|
-
<xs:attributeGroup ref="xhtml.Common.attrib"/>
|
|
125
|
-
<xs:attribute name="abbr" type="xh11d:Text"/>
|
|
126
|
-
<xs:attribute name="axis" type="xh11d:CDATA"/>
|
|
127
|
-
<xs:attribute name="headers" type="xs:IDREFS"/>
|
|
128
|
-
<xs:attributeGroup ref="xhtml.scope.attrib"/>
|
|
129
|
-
<xs:attribute name="rowspan" type="xh11d:Number" default="1"/>
|
|
130
|
-
<xs:attribute name="colspan" type="xh11d:Number" default="1"/>
|
|
131
|
-
<xs:attributeGroup ref="xhtml.CellHAlign.attrib"/>
|
|
132
|
-
<xs:attributeGroup ref="xhtml.CellVAlign.attrib"/>
|
|
133
|
-
</xs:attributeGroup>
|
|
134
|
-
|
|
135
|
-
<xs:group name="xhtml.th.content">
|
|
136
|
-
<xs:sequence>
|
|
137
|
-
<xs:group ref="xhtml.FlowNoTable.mix" minOccurs="0" maxOccurs="unbounded"/>
|
|
138
|
-
</xs:sequence>
|
|
139
|
-
</xs:group>
|
|
140
|
-
|
|
141
|
-
<xs:complexType name="xhtml.th.type" mixed="true">
|
|
142
|
-
<xs:group ref="xhtml.th.content"/>
|
|
143
|
-
<xs:attributeGroup ref="xhtml.th.attlist"/>
|
|
144
|
-
</xs:complexType>
|
|
145
|
-
|
|
146
|
-
<xs:attributeGroup name="xhtml.td.attlist">
|
|
147
|
-
<xs:attributeGroup ref="xhtml.Common.attrib"/>
|
|
148
|
-
<xs:attribute name="abbr" type="xh11d:Text"/>
|
|
149
|
-
<xs:attribute name="axis" type="xh11d:CDATA"/>
|
|
150
|
-
<xs:attribute name="headers" type="xs:IDREFS"/>
|
|
151
|
-
<xs:attributeGroup ref="xhtml.scope.attrib"/>
|
|
152
|
-
<xs:attribute name="rowspan" type="xh11d:Number" default="1"/>
|
|
153
|
-
<xs:attribute name="colspan" type="xh11d:Number" default="1"/>
|
|
154
|
-
<xs:attributeGroup ref="xhtml.CellHAlign.attrib"/>
|
|
155
|
-
<xs:attributeGroup ref="xhtml.CellVAlign.attrib"/>
|
|
156
|
-
</xs:attributeGroup>
|
|
157
|
-
|
|
158
|
-
<xs:group name="xhtml.td.content">
|
|
159
|
-
<xs:sequence>
|
|
160
|
-
<xs:group ref="xhtml.FlowNoTable.mix" minOccurs="0" maxOccurs="unbounded"/>
|
|
161
|
-
</xs:sequence>
|
|
162
|
-
</xs:group>
|
|
163
|
-
|
|
164
|
-
<xs:complexType name="xhtml.td.type" mixed="true">
|
|
165
|
-
<xs:group ref="xhtml.td.content"/>
|
|
166
|
-
<xs:attributeGroup ref="xhtml.td.attlist"/>
|
|
167
|
-
</xs:complexType>
|
|
168
|
-
|
|
169
|
-
</xs:schema>
|
|
@@ -1,385 +0,0 @@
|
|
|
1
|
-
<?xml version="1.0" encoding="UTF-8"?>
|
|
2
|
-
<xs:schema xmlns:xs="http://www.w3.org/2001/XMLSchema"
|
|
3
|
-
elementFormDefault="qualified"
|
|
4
|
-
xmlns:xh11d="http://www.w3.org/1999/xhtml/datatypes/">
|
|
5
|
-
|
|
6
|
-
<xs:annotation>
|
|
7
|
-
<xs:documentation>
|
|
8
|
-
This is the XML Schema module of named XHTML content models for XHTML Basic 10
|
|
9
|
-
$Id: xhtml-basic10-model-1.xsd,v 1.6 2006/09/11 10:14:57 ahby Exp $
|
|
10
|
-
</xs:documentation>
|
|
11
|
-
<xs:documentation source="xhtml-copyright-1.xsd"/>
|
|
12
|
-
</xs:annotation>
|
|
13
|
-
|
|
14
|
-
<xs:annotation>
|
|
15
|
-
<xs:documentation>
|
|
16
|
-
XHTML Basic 1.0 Document Model
|
|
17
|
-
|
|
18
|
-
This module describes the groupings of elements/attributes that make up
|
|
19
|
-
common content models for XHTML elements.
|
|
20
|
-
|
|
21
|
-
XHTML has following basic content models:
|
|
22
|
-
|
|
23
|
-
Inline.mix; character-level elements
|
|
24
|
-
Block.mix; block-like elements, eg., paragraphs and lists
|
|
25
|
-
Flow.mix; any block or inline elements
|
|
26
|
-
HeadOpts.mix; Head Elements
|
|
27
|
-
InlinePre.mix; Special class for pre content model
|
|
28
|
-
InlineNoAnchor.mix; Content model for Anchor
|
|
29
|
-
|
|
30
|
-
Any groups declared in this module may be used
|
|
31
|
-
to create element content models, but the above are
|
|
32
|
-
considered 'global' (insofar as that term applies here).
|
|
33
|
-
|
|
34
|
-
XHTML has the following Attribute Groups
|
|
35
|
-
Core.extra.attrib
|
|
36
|
-
I18n.extra.attrib
|
|
37
|
-
Common.extra
|
|
38
|
-
|
|
39
|
-
The above attribute Groups are considered Global
|
|
40
|
-
|
|
41
|
-
</xs:documentation>
|
|
42
|
-
</xs:annotation>
|
|
43
|
-
|
|
44
|
-
<xs:attributeGroup name="xhtml.I18n.extra.attrib">
|
|
45
|
-
<xs:annotation>
|
|
46
|
-
<xs:documentation>
|
|
47
|
-
Extended I18n attribute
|
|
48
|
-
</xs:documentation>
|
|
49
|
-
</xs:annotation>
|
|
50
|
-
</xs:attributeGroup>
|
|
51
|
-
|
|
52
|
-
<xs:attributeGroup name="xhtml.Core.extra.attrib">
|
|
53
|
-
<xs:annotation>
|
|
54
|
-
<xs:documentation>
|
|
55
|
-
Extended Core Attributes
|
|
56
|
-
</xs:documentation>
|
|
57
|
-
</xs:annotation>
|
|
58
|
-
</xs:attributeGroup>
|
|
59
|
-
|
|
60
|
-
<xs:attributeGroup name="xhtml.Common.extra">
|
|
61
|
-
<xs:annotation>
|
|
62
|
-
<xs:documentation>
|
|
63
|
-
Extended Common Attributes
|
|
64
|
-
</xs:documentation>
|
|
65
|
-
</xs:annotation>
|
|
66
|
-
</xs:attributeGroup>
|
|
67
|
-
|
|
68
|
-
<xs:attributeGroup name="xhtml.Global.core.extra.attrib">
|
|
69
|
-
<xs:annotation>
|
|
70
|
-
<xs:documentation>
|
|
71
|
-
Extended Global Core Attributes
|
|
72
|
-
</xs:documentation>
|
|
73
|
-
</xs:annotation>
|
|
74
|
-
</xs:attributeGroup>
|
|
75
|
-
|
|
76
|
-
<xs:attributeGroup name="xhtml.Global.I18n.extra.attrib">
|
|
77
|
-
<xs:annotation>
|
|
78
|
-
<xs:documentation>
|
|
79
|
-
Extended Global I18n attributes
|
|
80
|
-
</xs:documentation>
|
|
81
|
-
</xs:annotation>
|
|
82
|
-
</xs:attributeGroup>
|
|
83
|
-
|
|
84
|
-
<xs:attributeGroup name="xhtml.Global.Common.extra">
|
|
85
|
-
<xs:annotation>
|
|
86
|
-
<xs:documentation>
|
|
87
|
-
Extended Global Common Attributes
|
|
88
|
-
</xs:documentation>
|
|
89
|
-
</xs:annotation>
|
|
90
|
-
</xs:attributeGroup>
|
|
91
|
-
|
|
92
|
-
<xs:group name="xhtml.HeadOpts.mix">
|
|
93
|
-
<xs:choice>
|
|
94
|
-
<xs:element name="meta" type="xhtml.meta.type"/>
|
|
95
|
-
<xs:element name="link" type="xhtml.link.type"/>
|
|
96
|
-
<xs:element name="object" type="xhtml.object.type"/>
|
|
97
|
-
</xs:choice>
|
|
98
|
-
</xs:group>
|
|
99
|
-
|
|
100
|
-
<xs:group name="xhtml.head.content">
|
|
101
|
-
<xs:choice>
|
|
102
|
-
<xs:element name="title" minOccurs="1" maxOccurs="1" type="xhtml.title.type" />
|
|
103
|
-
<xs:element name="base" type="xhtml.base.type" minOccurs="0" maxOccurs="1" />
|
|
104
|
-
<xs:group ref="xhtml.HeadOpts.mix" minOccurs="0" maxOccurs="unbounded" />
|
|
105
|
-
</xs:choice>
|
|
106
|
-
</xs:group>
|
|
107
|
-
|
|
108
|
-
<!--
|
|
109
|
-
These elements are neither block nor inline, and can
|
|
110
|
-
essentially be used anywhere in the document body.
|
|
111
|
-
-->
|
|
112
|
-
<xs:group name="xhtml.Misc.class">
|
|
113
|
-
<xs:choice/>
|
|
114
|
-
</xs:group>
|
|
115
|
-
|
|
116
|
-
<!-- Inline Elements -->
|
|
117
|
-
<xs:group name="xhtml.InlStruct.class">
|
|
118
|
-
<xs:choice>
|
|
119
|
-
<xs:element name="br" type="xhtml.br.type"/>
|
|
120
|
-
<xs:element name="span" type="xhtml.span.type"/>
|
|
121
|
-
</xs:choice>
|
|
122
|
-
</xs:group>
|
|
123
|
-
|
|
124
|
-
<xs:group name="xhtml.InlPhras.class">
|
|
125
|
-
<xs:choice>
|
|
126
|
-
<xs:element name="em" type="xhtml.em.type"/>
|
|
127
|
-
<xs:element name="strong" type="xhtml.strong.type"/>
|
|
128
|
-
<xs:element name="dfn" type="xhtml.dfn.type"/>
|
|
129
|
-
<xs:element name="code" type="xhtml.code.type"/>
|
|
130
|
-
<xs:element name="samp" type="xhtml.samp.type"/>
|
|
131
|
-
<xs:element name="kbd" type="xhtml.kbd.type"/>
|
|
132
|
-
<xs:element name="var" type="xhtml.var.type"/>
|
|
133
|
-
<xs:element name="cite" type="xhtml.cite.type"/>
|
|
134
|
-
<xs:element name="abbr" type="xhtml.abbr.type"/>
|
|
135
|
-
<xs:element name="acronym" type="xhtml.acronym.type"/>
|
|
136
|
-
<xs:element name="q" type="xhtml.q.type"/>
|
|
137
|
-
</xs:choice>
|
|
138
|
-
</xs:group>
|
|
139
|
-
|
|
140
|
-
<xs:group name="xhtml.InlPres.class">
|
|
141
|
-
<xs:choice/>
|
|
142
|
-
</xs:group>
|
|
143
|
-
|
|
144
|
-
<xs:group name="xhtml.I18n.class">
|
|
145
|
-
<xs:sequence/>
|
|
146
|
-
</xs:group>
|
|
147
|
-
|
|
148
|
-
<xs:group name="xhtml.Anchor.class">
|
|
149
|
-
<xs:sequence>
|
|
150
|
-
<xs:element name="a" type="xhtml.a.type"/>
|
|
151
|
-
</xs:sequence>
|
|
152
|
-
</xs:group>
|
|
153
|
-
|
|
154
|
-
<xs:group name="xhtml.InlSpecial.class">
|
|
155
|
-
<xs:choice>
|
|
156
|
-
<xs:element name="img" type="xhtml.img.type"/>
|
|
157
|
-
<xs:element name="object" type="xhtml.object.type"/>
|
|
158
|
-
</xs:choice>
|
|
159
|
-
</xs:group>
|
|
160
|
-
|
|
161
|
-
<xs:group name="xhtml.InlForm.class">
|
|
162
|
-
<xs:choice>
|
|
163
|
-
<xs:element name="input" type="xhtml.input.type"/>
|
|
164
|
-
<xs:element name="select" type="xhtml.select.type"/>
|
|
165
|
-
<xs:element name="textarea" type="xhtml.textarea.type"/>
|
|
166
|
-
<xs:element name="label" type="xhtml.label.type"/>
|
|
167
|
-
</xs:choice>
|
|
168
|
-
</xs:group>
|
|
169
|
-
|
|
170
|
-
<xs:group name="xhtml.Inline.extra">
|
|
171
|
-
<xs:choice/>
|
|
172
|
-
</xs:group>
|
|
173
|
-
|
|
174
|
-
<!--xs:group name="xhtml.Ruby.class">
|
|
175
|
-
<xs:sequence/>
|
|
176
|
-
</xs:group-->
|
|
177
|
-
|
|
178
|
-
<!--
|
|
179
|
-
Inline.class includes all inline elements,
|
|
180
|
-
used as a component in mixes
|
|
181
|
-
-->
|
|
182
|
-
<xs:group name="xhtml.Inline.class">
|
|
183
|
-
<xs:choice>
|
|
184
|
-
<xs:group ref="xhtml.InlStruct.class"/>
|
|
185
|
-
<xs:group ref="xhtml.InlPhras.class"/>
|
|
186
|
-
<xs:group ref="xhtml.Anchor.class"/>
|
|
187
|
-
<xs:group ref="xhtml.InlSpecial.class"/>
|
|
188
|
-
<xs:group ref="xhtml.InlForm.class"/>
|
|
189
|
-
<xs:group ref="xhtml.Inline.extra"/>
|
|
190
|
-
</xs:choice>
|
|
191
|
-
</xs:group>
|
|
192
|
-
|
|
193
|
-
<!--
|
|
194
|
-
InlinePre.class
|
|
195
|
-
Used as a component in pre model
|
|
196
|
-
-->
|
|
197
|
-
<xs:group name="xhtml.InlinePre.mix">
|
|
198
|
-
<xs:choice>
|
|
199
|
-
<xs:group ref="xhtml.InlStruct.class"/>
|
|
200
|
-
<xs:group ref="xhtml.InlPhras.class"/>
|
|
201
|
-
<xs:group ref="xhtml.Anchor.class"/>
|
|
202
|
-
<xs:group ref="xhtml.Misc.class"/>
|
|
203
|
-
<xs:group ref="xhtml.Inline.extra"/>
|
|
204
|
-
</xs:choice>
|
|
205
|
-
</xs:group>
|
|
206
|
-
|
|
207
|
-
|
|
208
|
-
<!--
|
|
209
|
-
InlNoAnchor.class includes all non-anchor inlines,
|
|
210
|
-
used as a component in mixes
|
|
211
|
-
-->
|
|
212
|
-
<xs:group name="xhtml.InlNoAnchor.class">
|
|
213
|
-
<xs:choice>
|
|
214
|
-
<xs:group ref="xhtml.InlStruct.class"/>
|
|
215
|
-
<xs:group ref="xhtml.InlPhras.class"/>
|
|
216
|
-
<xs:group ref="xhtml.InlSpecial.class"/>
|
|
217
|
-
<xs:group ref="xhtml.InlForm.class"/>
|
|
218
|
-
<xs:group ref="xhtml.Inline.extra"/>
|
|
219
|
-
</xs:choice>
|
|
220
|
-
</xs:group>
|
|
221
|
-
|
|
222
|
-
<!--
|
|
223
|
-
InlNoAnchor.mix includes all non-anchor inlines
|
|
224
|
-
-->
|
|
225
|
-
<xs:group name="xhtml.InlNoAnchor.mix">
|
|
226
|
-
<xs:choice>
|
|
227
|
-
<xs:group ref="xhtml.InlNoAnchor.class"/>
|
|
228
|
-
<xs:group ref="xhtml.Misc.class"/>
|
|
229
|
-
</xs:choice>
|
|
230
|
-
</xs:group>
|
|
231
|
-
|
|
232
|
-
<!--
|
|
233
|
-
Inline.mix includes all inline elements, including Misc.class
|
|
234
|
-
-->
|
|
235
|
-
<xs:group name="xhtml.Inline.mix">
|
|
236
|
-
<xs:choice>
|
|
237
|
-
<xs:group ref="xhtml.Inline.class"/>
|
|
238
|
-
<xs:group ref="xhtml.Misc.class"/>
|
|
239
|
-
</xs:choice>
|
|
240
|
-
</xs:group>
|
|
241
|
-
|
|
242
|
-
<!--
|
|
243
|
-
In the HTML 4 DTD, heading and list elements were included
|
|
244
|
-
in the block group. The Heading.class and
|
|
245
|
-
List.class groups must now be included explicitly
|
|
246
|
-
on element declarations where desired.
|
|
247
|
-
-->
|
|
248
|
-
<xs:group name="xhtml.Heading.class">
|
|
249
|
-
<xs:choice>
|
|
250
|
-
<xs:element name="h1" type="xhtml.h1.type"/>
|
|
251
|
-
<xs:element name="h2" type="xhtml.h2.type"/>
|
|
252
|
-
<xs:element name="h3" type="xhtml.h3.type"/>
|
|
253
|
-
<xs:element name="h4" type="xhtml.h4.type"/>
|
|
254
|
-
<xs:element name="h5" type="xhtml.h5.type"/>
|
|
255
|
-
<xs:element name="h6" type="xhtml.h6.type"/>
|
|
256
|
-
</xs:choice>
|
|
257
|
-
</xs:group>
|
|
258
|
-
|
|
259
|
-
<xs:group name="xhtml.List.class">
|
|
260
|
-
<xs:choice>
|
|
261
|
-
<xs:element name="ul" type="xhtml.ul.type"/>
|
|
262
|
-
<xs:element name="ol" type="xhtml.ol.type"/>
|
|
263
|
-
<xs:element name="dl" type="xhtml.dl.type"/>
|
|
264
|
-
</xs:choice>
|
|
265
|
-
</xs:group>
|
|
266
|
-
|
|
267
|
-
<xs:group name="xhtml.Table.class">
|
|
268
|
-
<xs:choice>
|
|
269
|
-
<xs:element name="table" type="xhtml.table.type"/>
|
|
270
|
-
</xs:choice>
|
|
271
|
-
</xs:group>
|
|
272
|
-
|
|
273
|
-
<xs:group name="xhtml.Form.class">
|
|
274
|
-
<xs:choice>
|
|
275
|
-
<xs:element name="form" type="xhtml.form.type"/>
|
|
276
|
-
</xs:choice>
|
|
277
|
-
</xs:group>
|
|
278
|
-
|
|
279
|
-
<xs:group name="xhtml.BlkStruct.class">
|
|
280
|
-
<xs:choice>
|
|
281
|
-
<xs:element name="p" type="xhtml.p.type"/>
|
|
282
|
-
<xs:element name="div" type="xhtml.div.type"/>
|
|
283
|
-
</xs:choice>
|
|
284
|
-
</xs:group>
|
|
285
|
-
|
|
286
|
-
<xs:group name="xhtml.BlkPhras.class">
|
|
287
|
-
<xs:choice>
|
|
288
|
-
<xs:element name="pre" type="xhtml.pre.type"/>
|
|
289
|
-
<xs:element name="blockquote" type="xhtml.blockquote.type"/>
|
|
290
|
-
<xs:element name="address" type="xhtml.address.type"/>
|
|
291
|
-
</xs:choice>
|
|
292
|
-
</xs:group>
|
|
293
|
-
|
|
294
|
-
<xs:group name="xhtml.BlkPres.class">
|
|
295
|
-
<xs:choice/>
|
|
296
|
-
</xs:group>
|
|
297
|
-
|
|
298
|
-
<xs:group name="xhtml.BlkSpecial.class">
|
|
299
|
-
<xs:choice>
|
|
300
|
-
<xs:group ref="xhtml.Table.class"/>
|
|
301
|
-
<xs:group ref="xhtml.Form.class"/>
|
|
302
|
-
</xs:choice>
|
|
303
|
-
</xs:group>
|
|
304
|
-
|
|
305
|
-
<xs:group name="xhtml.Block.extra">
|
|
306
|
-
<xs:choice/>
|
|
307
|
-
</xs:group>
|
|
308
|
-
|
|
309
|
-
<!--
|
|
310
|
-
Block.class includes all block elements,
|
|
311
|
-
used as an component in mixes
|
|
312
|
-
-->
|
|
313
|
-
<xs:group name="xhtml.Block.class">
|
|
314
|
-
<xs:choice>
|
|
315
|
-
<xs:group ref="xhtml.BlkStruct.class"/>
|
|
316
|
-
<xs:group ref="xhtml.BlkPhras.class"/>
|
|
317
|
-
<xs:group ref="xhtml.BlkSpecial.class"/>
|
|
318
|
-
<xs:group ref="xhtml.Block.extra"/>
|
|
319
|
-
</xs:choice>
|
|
320
|
-
</xs:group>
|
|
321
|
-
|
|
322
|
-
<!--
|
|
323
|
-
Block.mix includes all block elements plus %Misc.class;
|
|
324
|
-
-->
|
|
325
|
-
<xs:group name="xhtml.Block.mix">
|
|
326
|
-
<xs:choice>
|
|
327
|
-
<xs:group ref="xhtml.Heading.class"/>
|
|
328
|
-
<xs:group ref="xhtml.List.class"/>
|
|
329
|
-
<xs:group ref="xhtml.Block.class"/>
|
|
330
|
-
<xs:group ref="xhtml.Misc.class"/>
|
|
331
|
-
</xs:choice>
|
|
332
|
-
</xs:group>
|
|
333
|
-
|
|
334
|
-
<!--
|
|
335
|
-
All Content Elements
|
|
336
|
-
|
|
337
|
-
Flow.mix includes all text content, block and inline
|
|
338
|
-
Note that the "any" element included here allows us
|
|
339
|
-
to add data from any other namespace, a necessity
|
|
340
|
-
for compound document creation.
|
|
341
|
-
Note however that it is not possible to add
|
|
342
|
-
to any head level element without further
|
|
343
|
-
modification. To add RDF metadata to the head
|
|
344
|
-
of a document, modify the structure module.
|
|
345
|
-
-->
|
|
346
|
-
<xs:group name="xhtml.Flow.mix">
|
|
347
|
-
<xs:choice>
|
|
348
|
-
<xs:group ref="xhtml.Heading.class"/>
|
|
349
|
-
<xs:group ref="xhtml.List.class"/>
|
|
350
|
-
<xs:group ref="xhtml.Block.class"/>
|
|
351
|
-
<xs:group ref="xhtml.Inline.class"/>
|
|
352
|
-
<xs:group ref="xhtml.Misc.class"/>
|
|
353
|
-
</xs:choice>
|
|
354
|
-
</xs:group>
|
|
355
|
-
|
|
356
|
-
|
|
357
|
-
<xs:group name="xhtml.FlowNoTable.mix">
|
|
358
|
-
<xs:choice>
|
|
359
|
-
<xs:group ref="xhtml.Heading.class"/>
|
|
360
|
-
<xs:group ref="xhtml.List.class"/>
|
|
361
|
-
<xs:group ref="xhtml.BlkStruct.class"/>
|
|
362
|
-
<xs:group ref="xhtml.BlkPhras.class"/>
|
|
363
|
-
<xs:group ref="xhtml.Form.class"/>
|
|
364
|
-
<xs:group ref="xhtml.Inline.class"/>
|
|
365
|
-
<xs:group ref="xhtml.Misc.class"/>
|
|
366
|
-
</xs:choice>
|
|
367
|
-
</xs:group>
|
|
368
|
-
|
|
369
|
-
<!--
|
|
370
|
-
BlkNoForm.mix includes all non-form block elements,
|
|
371
|
-
plus Misc.class
|
|
372
|
-
-->
|
|
373
|
-
<xs:group name="xhtml.BlkNoForm.mix">
|
|
374
|
-
<xs:choice>
|
|
375
|
-
<xs:group ref="xhtml.Heading.class"/>
|
|
376
|
-
<xs:group ref="xhtml.List.class"/>
|
|
377
|
-
<xs:group ref="xhtml.BlkStruct.class"/>
|
|
378
|
-
<xs:group ref="xhtml.BlkPhras.class"/>
|
|
379
|
-
<xs:group ref="xhtml.BlkPres.class"/>
|
|
380
|
-
<xs:group ref="xhtml.Table.class"/>
|
|
381
|
-
<xs:group ref="xhtml.Misc.class"/>
|
|
382
|
-
</xs:choice>
|
|
383
|
-
</xs:group>
|
|
384
|
-
|
|
385
|
-
</xs:schema>
|