validate-website 0.1 → 0.2
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.
- 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,155 @@
|
|
|
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:include schemaLocation="xhtml-attribs-1.xsd"/>
|
|
6
|
+
|
|
7
|
+
<xs:annotation>
|
|
8
|
+
<xs:documentation>
|
|
9
|
+
This is the XML Schema Block Phrasal support module for XHTML
|
|
10
|
+
$Id: xhtml-blkphras-1.xsd,v 1.7 2008/07/05 04:11:00 ahby Exp $
|
|
11
|
+
</xs:documentation>
|
|
12
|
+
<xs:documentation source="xhtml-copyright-1.xsd"/>
|
|
13
|
+
</xs:annotation>
|
|
14
|
+
<xs:annotation>
|
|
15
|
+
<xs:documentation>
|
|
16
|
+
Block Phrasal
|
|
17
|
+
This module declares the elements and their attributes used to
|
|
18
|
+
support block-level phrasal markup.
|
|
19
|
+
This is the XML Schema block phrasal elements module for XHTML
|
|
20
|
+
|
|
21
|
+
* address, blockquote, pre, h1, h2, h3, h4, h5, h6
|
|
22
|
+
</xs:documentation>
|
|
23
|
+
<xs:documentation source="http://www.w3.org/TR/xhtml-modularization/abstract_modules.html#s_textmodule"/>
|
|
24
|
+
</xs:annotation>
|
|
25
|
+
<xs:import namespace="http://www.w3.org/XML/1998/namespace" schemaLocation="http://www.w3.org/2001/xml.xsd">
|
|
26
|
+
<xs:annotation>
|
|
27
|
+
<xs:documentation>
|
|
28
|
+
This import brings in the XML namespace attributes
|
|
29
|
+
The module itself does not provide the schemaLocation
|
|
30
|
+
and expects the driver schema to provide the
|
|
31
|
+
actual SchemaLocation.
|
|
32
|
+
</xs:documentation>
|
|
33
|
+
</xs:annotation>
|
|
34
|
+
</xs:import>
|
|
35
|
+
<!-- address -->
|
|
36
|
+
<xs:attributeGroup name="xhtml.address.attlist">
|
|
37
|
+
<xs:attributeGroup ref="xhtml.Common.attrib"/>
|
|
38
|
+
</xs:attributeGroup>
|
|
39
|
+
<xs:group name="xhtml.address.content">
|
|
40
|
+
<xs:sequence>
|
|
41
|
+
<xs:group ref="xhtml.Inline.mix" minOccurs="0" maxOccurs="unbounded"/>
|
|
42
|
+
</xs:sequence>
|
|
43
|
+
</xs:group>
|
|
44
|
+
<xs:complexType name="xhtml.address.type" mixed="true">
|
|
45
|
+
<xs:group ref="xhtml.address.content"/>
|
|
46
|
+
<xs:attributeGroup ref="xhtml.address.attlist"/>
|
|
47
|
+
</xs:complexType>
|
|
48
|
+
<!-- blockquote -->
|
|
49
|
+
<xs:attributeGroup name="xhtml.blockquote.attlist">
|
|
50
|
+
<xs:attributeGroup ref="xhtml.Common.attrib"/>
|
|
51
|
+
<xs:attribute name="cite" type="xh11d:URI"/>
|
|
52
|
+
</xs:attributeGroup>
|
|
53
|
+
<xs:group name="xhtml.blockquote.content">
|
|
54
|
+
<xs:sequence>
|
|
55
|
+
<xs:group ref="xhtml.Block.mix" minOccurs="0" maxOccurs="unbounded"/>
|
|
56
|
+
</xs:sequence>
|
|
57
|
+
</xs:group>
|
|
58
|
+
<xs:complexType name="xhtml.blockquote.type">
|
|
59
|
+
<xs:group ref="xhtml.blockquote.content"/>
|
|
60
|
+
<xs:attributeGroup ref="xhtml.blockquote.attlist"/>
|
|
61
|
+
</xs:complexType>
|
|
62
|
+
<!-- pre -->
|
|
63
|
+
<xs:attributeGroup name="xhtml.pre.attlist">
|
|
64
|
+
<xs:attributeGroup ref="xhtml.Common.attrib"/>
|
|
65
|
+
</xs:attributeGroup>
|
|
66
|
+
<xs:group name="xhtml.pre.content">
|
|
67
|
+
<xs:sequence>
|
|
68
|
+
<xs:group ref="xhtml.InlinePre.mix" minOccurs="0" maxOccurs="unbounded"/>
|
|
69
|
+
</xs:sequence>
|
|
70
|
+
</xs:group>
|
|
71
|
+
<xs:complexType name="xhtml.pre.type" mixed="true">
|
|
72
|
+
<xs:group ref="xhtml.pre.content"/>
|
|
73
|
+
<xs:attributeGroup ref="xhtml.pre.attlist"/>
|
|
74
|
+
</xs:complexType>
|
|
75
|
+
<!-- Heading Elements -->
|
|
76
|
+
<xs:attributeGroup name="xhtml.heading.attlist">
|
|
77
|
+
<xs:attributeGroup ref="xhtml.Common.attrib"/>
|
|
78
|
+
</xs:attributeGroup>
|
|
79
|
+
<xs:complexType name="xhtml.heading.type" mixed="true">
|
|
80
|
+
<xs:group ref="xhtml.Inline.mix" minOccurs="0" maxOccurs="unbounded"/>
|
|
81
|
+
<xs:attributeGroup ref="xhtml.heading.attlist"/>
|
|
82
|
+
</xs:complexType>
|
|
83
|
+
<xs:attributeGroup name="xhtml.h1.attlist">
|
|
84
|
+
<xs:attributeGroup ref="xhtml.Common.attrib"/>
|
|
85
|
+
</xs:attributeGroup>
|
|
86
|
+
<xs:group name="xhtml.h1.content">
|
|
87
|
+
<xs:sequence>
|
|
88
|
+
<xs:group ref="xhtml.Inline.mix" minOccurs="0" maxOccurs="unbounded"/>
|
|
89
|
+
</xs:sequence>
|
|
90
|
+
</xs:group>
|
|
91
|
+
<xs:complexType name="xhtml.h1.type" mixed="true">
|
|
92
|
+
<xs:group ref="xhtml.h1.content"/>
|
|
93
|
+
<xs:attributeGroup ref="xhtml.h1.attlist"/>
|
|
94
|
+
</xs:complexType>
|
|
95
|
+
<xs:attributeGroup name="xhtml.h2.attlist">
|
|
96
|
+
<xs:attributeGroup ref="xhtml.Common.attrib"/>
|
|
97
|
+
</xs:attributeGroup>
|
|
98
|
+
<xs:group name="xhtml.h2.content">
|
|
99
|
+
<xs:sequence>
|
|
100
|
+
<xs:group ref="xhtml.Inline.mix" minOccurs="0" maxOccurs="unbounded"/>
|
|
101
|
+
</xs:sequence>
|
|
102
|
+
</xs:group>
|
|
103
|
+
<xs:complexType name="xhtml.h2.type" mixed="true">
|
|
104
|
+
<xs:group ref="xhtml.h2.content"/>
|
|
105
|
+
<xs:attributeGroup ref="xhtml.h2.attlist"/>
|
|
106
|
+
</xs:complexType>
|
|
107
|
+
<xs:attributeGroup name="xhtml.h3.attlist">
|
|
108
|
+
<xs:attributeGroup ref="xhtml.Common.attrib"/>
|
|
109
|
+
</xs:attributeGroup>
|
|
110
|
+
<xs:group name="xhtml.h3.content">
|
|
111
|
+
<xs:sequence>
|
|
112
|
+
<xs:group ref="xhtml.Inline.mix" minOccurs="0" maxOccurs="unbounded"/>
|
|
113
|
+
</xs:sequence>
|
|
114
|
+
</xs:group>
|
|
115
|
+
<xs:complexType name="xhtml.h3.type" mixed="true">
|
|
116
|
+
<xs:group ref="xhtml.h3.content"/>
|
|
117
|
+
<xs:attributeGroup ref="xhtml.h3.attlist"/>
|
|
118
|
+
</xs:complexType>
|
|
119
|
+
<xs:attributeGroup name="xhtml.h4.attlist">
|
|
120
|
+
<xs:attributeGroup ref="xhtml.Common.attrib"/>
|
|
121
|
+
</xs:attributeGroup>
|
|
122
|
+
<xs:group name="xhtml.h4.content">
|
|
123
|
+
<xs:sequence>
|
|
124
|
+
<xs:group ref="xhtml.Inline.mix" minOccurs="0" maxOccurs="unbounded"/>
|
|
125
|
+
</xs:sequence>
|
|
126
|
+
</xs:group>
|
|
127
|
+
<xs:complexType name="xhtml.h4.type" mixed="true">
|
|
128
|
+
<xs:group ref="xhtml.h4.content"/>
|
|
129
|
+
<xs:attributeGroup ref="xhtml.h4.attlist"/>
|
|
130
|
+
</xs:complexType>
|
|
131
|
+
<xs:attributeGroup name="xhtml.h5.attlist">
|
|
132
|
+
<xs:attributeGroup ref="xhtml.Common.attrib"/>
|
|
133
|
+
</xs:attributeGroup>
|
|
134
|
+
<xs:group name="xhtml.h5.content">
|
|
135
|
+
<xs:sequence>
|
|
136
|
+
<xs:group ref="xhtml.Inline.mix" minOccurs="0" maxOccurs="unbounded"/>
|
|
137
|
+
</xs:sequence>
|
|
138
|
+
</xs:group>
|
|
139
|
+
<xs:complexType name="xhtml.h5.type" mixed="true">
|
|
140
|
+
<xs:group ref="xhtml.h5.content"/>
|
|
141
|
+
<xs:attributeGroup ref="xhtml.h5.attlist"/>
|
|
142
|
+
</xs:complexType>
|
|
143
|
+
<xs:attributeGroup name="xhtml.h6.attlist">
|
|
144
|
+
<xs:attributeGroup ref="xhtml.Common.attrib"/>
|
|
145
|
+
</xs:attributeGroup>
|
|
146
|
+
<xs:group name="xhtml.h6.content">
|
|
147
|
+
<xs:sequence>
|
|
148
|
+
<xs:group ref="xhtml.Inline.mix" minOccurs="0" maxOccurs="unbounded"/>
|
|
149
|
+
</xs:sequence>
|
|
150
|
+
</xs:group>
|
|
151
|
+
<xs:complexType name="xhtml.h6.type" mixed="true">
|
|
152
|
+
<xs:group ref="xhtml.h6.content"/>
|
|
153
|
+
<xs:attributeGroup ref="xhtml.h6.attlist"/>
|
|
154
|
+
</xs:complexType>
|
|
155
|
+
</xs:schema>
|
|
@@ -0,0 +1,32 @@
|
|
|
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
|
+
<xs:annotation>
|
|
5
|
+
<xs:documentation>
|
|
6
|
+
This is the XML SchemaBlock presentation element module for XHTML
|
|
7
|
+
$Id: xhtml-blkpres-1.xsd,v 1.2 2005/09/26 22:54:53 ahby Exp $
|
|
8
|
+
</xs:documentation>
|
|
9
|
+
</xs:annotation>
|
|
10
|
+
<xs:annotation>
|
|
11
|
+
<xs:documentation>
|
|
12
|
+
Block Presentational Elements
|
|
13
|
+
|
|
14
|
+
* hr
|
|
15
|
+
|
|
16
|
+
This module declares the elements and their attributes used to
|
|
17
|
+
support block-level presentational markup.
|
|
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_presentationmodule"/>
|
|
21
|
+
</xs:annotation>
|
|
22
|
+
<xs:attributeGroup name="xhtml.hr.attlist">
|
|
23
|
+
<xs:attributeGroup ref="xhtml.Common.attrib"/>
|
|
24
|
+
</xs:attributeGroup>
|
|
25
|
+
<xs:group name="xhtml.hr.content">
|
|
26
|
+
<xs:sequence/>
|
|
27
|
+
</xs:group>
|
|
28
|
+
<xs:complexType name="xhtml.hr.type">
|
|
29
|
+
<xs:group ref="xhtml.hr.content"/>
|
|
30
|
+
<xs:attributeGroup ref="xhtml.hr.attlist"/>
|
|
31
|
+
</xs:complexType>
|
|
32
|
+
</xs:schema>
|
|
@@ -0,0 +1,44 @@
|
|
|
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
|
+
<xs:annotation>
|
|
5
|
+
<xs:documentation>
|
|
6
|
+
Block Structural
|
|
7
|
+
|
|
8
|
+
* div, p
|
|
9
|
+
|
|
10
|
+
This module declares the elements and their attributes used to
|
|
11
|
+
support block-level structural markup.
|
|
12
|
+
|
|
13
|
+
This is the XML Schema Block Structural module for XHTML
|
|
14
|
+
$Id: xhtml-blkstruct-1.xsd,v 1.3 2005/09/26 22:54:53 ahby Exp $
|
|
15
|
+
</xs:documentation>
|
|
16
|
+
<xs:documentation source="xhtml-copyright-1.xsd"/>
|
|
17
|
+
</xs:annotation>
|
|
18
|
+
<!-- div -->
|
|
19
|
+
<xs:attributeGroup name="xhtml.div.attlist">
|
|
20
|
+
<xs:attributeGroup ref="xhtml.Common.attrib"/>
|
|
21
|
+
</xs:attributeGroup>
|
|
22
|
+
<xs:group name="xhtml.div.content">
|
|
23
|
+
<xs:sequence>
|
|
24
|
+
<xs:group ref="xhtml.Flow.mix" minOccurs="0" maxOccurs="unbounded"/>
|
|
25
|
+
</xs:sequence>
|
|
26
|
+
</xs:group>
|
|
27
|
+
<xs:complexType name="xhtml.div.type" mixed="true">
|
|
28
|
+
<xs:group ref="xhtml.div.content"/>
|
|
29
|
+
<xs:attributeGroup ref="xhtml.div.attlist"/>
|
|
30
|
+
</xs:complexType>
|
|
31
|
+
<!-- p -->
|
|
32
|
+
<xs:attributeGroup name="xhtml.p.attlist">
|
|
33
|
+
<xs:attributeGroup ref="xhtml.Common.attrib"/>
|
|
34
|
+
</xs:attributeGroup>
|
|
35
|
+
<xs:group name="xhtml.p.content">
|
|
36
|
+
<xs:sequence>
|
|
37
|
+
<xs:group ref="xhtml.Inline.mix" minOccurs="0" maxOccurs="unbounded"/>
|
|
38
|
+
</xs:sequence>
|
|
39
|
+
</xs:group>
|
|
40
|
+
<xs:complexType name="xhtml.p.type" mixed="true">
|
|
41
|
+
<xs:group ref="xhtml.p.content"/>
|
|
42
|
+
<xs:attributeGroup ref="xhtml.p.attlist"/>
|
|
43
|
+
</xs:complexType>
|
|
44
|
+
</xs:schema>
|
|
@@ -0,0 +1,38 @@
|
|
|
1
|
+
<?xml version="1.0" encoding="UTF-8"?>
|
|
2
|
+
<!--
|
|
3
|
+
This schema module includes three named character entity files.
|
|
4
|
+
-->
|
|
5
|
+
<!DOCTYPE xs:schema [
|
|
6
|
+
<!-- These are the entity sets for ISO Latin 1 characters for the XHTML -->
|
|
7
|
+
<!ENTITY % HTMLlat1 PUBLIC
|
|
8
|
+
"-//W3C//ENTITIES Latin 1 for XHTML//EN"
|
|
9
|
+
"http://www.w3.org/MarkUp/DTD/xhtml-lat1.ent">
|
|
10
|
+
%HTMLlat1;
|
|
11
|
+
<!-- These are the entity sets for special characters for the XHTML -->
|
|
12
|
+
<!ENTITY % HTMLsymbol PUBLIC
|
|
13
|
+
"-//W3C//ENTITIES Symbols for XHTML//EN"
|
|
14
|
+
"http://www.w3.org/MarkUp/DTD/xhtml-symbol.ent">
|
|
15
|
+
%HTMLsymbol;
|
|
16
|
+
<!-- These are the entity sets for symbol characters for the XHTML -->
|
|
17
|
+
<!ENTITY % HTMLspecial PUBLIC
|
|
18
|
+
"-//W3C//ENTITIES Special for XHTML//EN"
|
|
19
|
+
"http://www.w3.org/MarkUp/DTD/xhtml-special.ent">
|
|
20
|
+
%HTMLspecial;
|
|
21
|
+
]>
|
|
22
|
+
<xs:schema xmlns:xs="http://www.w3.org/2001/XMLSchema"
|
|
23
|
+
elementFormDefault="qualified">
|
|
24
|
+
<xs:annotation>
|
|
25
|
+
<xs:documentation>
|
|
26
|
+
Character Entities for XHTML
|
|
27
|
+
This is the XML Schema Character Entities module for XHTML
|
|
28
|
+
|
|
29
|
+
This module declares the set of character entities for XHTML,
|
|
30
|
+
including the Latin 1, Symbol and Special character collections.
|
|
31
|
+
XML Schema does not support Entities, hence Entities are enable
|
|
32
|
+
through an Internal DTD Subset.
|
|
33
|
+
|
|
34
|
+
$Id: xhtml-charent-1.xsd,v 1.3 2005/09/26 22:54:53 ahby Exp $
|
|
35
|
+
</xs:documentation>
|
|
36
|
+
<xs:documentation source="xhtml-copyright-1.xsd"/>
|
|
37
|
+
</xs:annotation>
|
|
38
|
+
</xs:schema>
|
|
@@ -0,0 +1,29 @@
|
|
|
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 XHTML, a reformulation of HTML as a modular XML application
|
|
12
|
+
The Extensible HyperText Markup Language (XHTML)
|
|
13
|
+
Copyright ©1998-2005 World Wide Web Consortium
|
|
14
|
+
(Massachusetts Institute of Technology, European Research Consortium
|
|
15
|
+
for Informatics and Mathematics, Keio University).
|
|
16
|
+
All Rights Reserved.
|
|
17
|
+
|
|
18
|
+
Permission to use, copy, modify and distribute the XHTML Schema
|
|
19
|
+
modules and their accompanying xs:documentation for any purpose
|
|
20
|
+
and without fee is hereby granted in perpetuity, provided that the above
|
|
21
|
+
copyright notice and this paragraph appear in all copies.
|
|
22
|
+
The copyright holders make no representation about the suitability of
|
|
23
|
+
these XML Schema modules for any purpose.
|
|
24
|
+
|
|
25
|
+
They are provided "as is" without expressed or implied warranty.
|
|
26
|
+
</xs:documentation>
|
|
27
|
+
</xs:annotation>
|
|
28
|
+
|
|
29
|
+
</xs:schema>
|
|
@@ -0,0 +1,91 @@
|
|
|
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
|
+
Client-side Image Maps
|
|
8
|
+
This is the XML Schema Client-side Image Maps module for XHTML
|
|
9
|
+
|
|
10
|
+
* area, map
|
|
11
|
+
|
|
12
|
+
This module declares elements and attributes to support client-side
|
|
13
|
+
image maps.
|
|
14
|
+
|
|
15
|
+
$Id: xhtml-csismap-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_imapmodule"/>
|
|
19
|
+
</xs:annotation>
|
|
20
|
+
<xs:simpleType name="xhtml.Shape.Datatype">
|
|
21
|
+
<xs:restriction base="xs:NMTOKEN">
|
|
22
|
+
<xs:enumeration value="rect"/>
|
|
23
|
+
<xs:enumeration value="circle"/>
|
|
24
|
+
<xs:enumeration value="poly"/>
|
|
25
|
+
<xs:enumeration value="default"/>
|
|
26
|
+
</xs:restriction>
|
|
27
|
+
</xs:simpleType>
|
|
28
|
+
<xs:simpleType name="xhtml.Coords.Datatype">
|
|
29
|
+
<xs:restriction base="xh11d:Text"/>
|
|
30
|
+
</xs:simpleType>
|
|
31
|
+
<!-- modify anchor attribute definition list -->
|
|
32
|
+
<xs:attributeGroup name="xhtml.a.csim.attlist">
|
|
33
|
+
<xs:attribute name="shape" type="xhtml.Shape.Datatype" default="rect"/>
|
|
34
|
+
<xs:attribute name="coords" type="xhtml.Coords.Datatype"/>
|
|
35
|
+
</xs:attributeGroup>
|
|
36
|
+
<!-- modify img attribute definition list -->
|
|
37
|
+
<xs:attributeGroup name="xhtml.img.csim.attlist">
|
|
38
|
+
<xs:attribute name="usemap" type="xs:IDREF"/>
|
|
39
|
+
</xs:attributeGroup>
|
|
40
|
+
<!-- modify form input attribute definition list -->
|
|
41
|
+
<xs:attributeGroup name="xhtml.input.csim.attlist">
|
|
42
|
+
<xs:attribute name="usemap" type="xs:IDREF"/>
|
|
43
|
+
</xs:attributeGroup>
|
|
44
|
+
<!-- modify object attribute definition list -->
|
|
45
|
+
<xs:attributeGroup name="xhtml.object.csim.attlist">
|
|
46
|
+
<xs:attribute name="usemap" type="xs:IDREF"/>
|
|
47
|
+
</xs:attributeGroup>
|
|
48
|
+
<xs:attributeGroup name="xhtml.area.attlist">
|
|
49
|
+
<xs:attributeGroup ref="xhtml.Common.attrib"/>
|
|
50
|
+
<xs:attribute name="href" type="xh11d:URI"/>
|
|
51
|
+
<xs:attribute name="shape" type="xhtml.Shape.Datatype" default="rect"/>
|
|
52
|
+
<xs:attribute name="coords" type="xhtml.Coords.Datatype"/>
|
|
53
|
+
<xs:attribute name="nohref">
|
|
54
|
+
<xs:simpleType>
|
|
55
|
+
<xs:restriction base="xs:NMTOKEN">
|
|
56
|
+
<xs:enumeration value="nohref"/>
|
|
57
|
+
</xs:restriction>
|
|
58
|
+
</xs:simpleType>
|
|
59
|
+
</xs:attribute>
|
|
60
|
+
<xs:attribute name="alt" type="xh11d:Text" use="required"/>
|
|
61
|
+
<xs:attribute name="tabindex" type="xh11d:Number"/>
|
|
62
|
+
<xs:attribute name="accesskey" type="xh11d:Character"/>
|
|
63
|
+
</xs:attributeGroup>
|
|
64
|
+
<xs:group name="xhtml.area.content">
|
|
65
|
+
<xs:sequence/>
|
|
66
|
+
</xs:group>
|
|
67
|
+
<xs:complexType name="xhtml.area.type">
|
|
68
|
+
<xs:group ref="xhtml.area.content"/>
|
|
69
|
+
<xs:attributeGroup ref="xhtml.area.attlist"/>
|
|
70
|
+
</xs:complexType>
|
|
71
|
+
<!-- map -->
|
|
72
|
+
<xs:attributeGroup name="xhtml.map.attlist">
|
|
73
|
+
<xs:attribute name="id" type="xs:ID" use="required"/>
|
|
74
|
+
<xs:attributeGroup ref="xhtml.class"/>
|
|
75
|
+
<xs:attributeGroup ref="xhtml.title"/>
|
|
76
|
+
<xs:attributeGroup ref="xhtml.Core.extra.attrib"/>
|
|
77
|
+
<xs:attributeGroup ref="xhtml.I18n.attrib"/>
|
|
78
|
+
</xs:attributeGroup>
|
|
79
|
+
<xs:group name="xhtml.map.content">
|
|
80
|
+
<xs:sequence>
|
|
81
|
+
<xs:choice maxOccurs="unbounded">
|
|
82
|
+
<xs:group ref="xhtml.Block.mix"/>
|
|
83
|
+
<xs:element name="area" type="xhtml.area.type"/>
|
|
84
|
+
</xs:choice>
|
|
85
|
+
</xs:sequence>
|
|
86
|
+
</xs:group>
|
|
87
|
+
<xs:complexType name="xhtml.map.type">
|
|
88
|
+
<xs:group ref="xhtml.map.content"/>
|
|
89
|
+
<xs:attributeGroup ref="xhtml.map.attlist"/>
|
|
90
|
+
</xs:complexType>
|
|
91
|
+
</xs:schema>
|
|
@@ -0,0 +1,177 @@
|
|
|
1
|
+
<?xml version="1.0" encoding="UTF-8"?>
|
|
2
|
+
<xs:schema
|
|
3
|
+
xmlns:xs="http://www.w3.org/2001/XMLSchema"
|
|
4
|
+
xmlns="http://www.w3.org/1999/xhtml/datatypes/"
|
|
5
|
+
xmlns:xh11d="http://www.w3.org/1999/xhtml/datatypes/"
|
|
6
|
+
targetNamespace="http://www.w3.org/1999/xhtml/datatypes/"
|
|
7
|
+
elementFormDefault="qualified"
|
|
8
|
+
>
|
|
9
|
+
<xs:annotation>
|
|
10
|
+
<xs:documentation>
|
|
11
|
+
XHTML Datatypes
|
|
12
|
+
This is the XML Schema datatypes module for XHTML
|
|
13
|
+
|
|
14
|
+
Defines containers for the XHTML datatypes, many of
|
|
15
|
+
these imported from other specifications and standards.
|
|
16
|
+
|
|
17
|
+
$Id: xhtml-datatypes-1.xsd,v 1.11 2008/10/07 16:57:03 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/abstraction.html#s_common_attrtypes"/>
|
|
21
|
+
</xs:annotation>
|
|
22
|
+
|
|
23
|
+
<!-- nn for pixels or nn% for percentage length -->
|
|
24
|
+
<xs:simpleType name="Length">
|
|
25
|
+
<xs:union memberTypes="xs:nonNegativeInteger">
|
|
26
|
+
<xs:simpleType>
|
|
27
|
+
<xs:restriction base="xs:token">
|
|
28
|
+
<xs:pattern value="\d+[%]|\d*\.\d+[%]"/>
|
|
29
|
+
</xs:restriction>
|
|
30
|
+
</xs:simpleType>
|
|
31
|
+
</xs:union>
|
|
32
|
+
</xs:simpleType>
|
|
33
|
+
<!-- space-separated list of link types -->
|
|
34
|
+
<xs:simpleType name="LinkTypes">
|
|
35
|
+
<xs:list itemType="xs:NMTOKEN"/>
|
|
36
|
+
</xs:simpleType>
|
|
37
|
+
<!-- single or comma-separated list of media descriptors -->
|
|
38
|
+
<xs:simpleType name="MediaDesc">
|
|
39
|
+
<xs:restriction base="xs:string"/>
|
|
40
|
+
</xs:simpleType>
|
|
41
|
+
<!-- pixel, percentage, or relative -->
|
|
42
|
+
<xs:simpleType name="MultiLength">
|
|
43
|
+
<xs:union memberTypes="xh11d:Length">
|
|
44
|
+
<xs:simpleType>
|
|
45
|
+
<xs:restriction base="xs:token">
|
|
46
|
+
<xs:pattern value="\d*\*"/>
|
|
47
|
+
</xs:restriction>
|
|
48
|
+
</xs:simpleType>
|
|
49
|
+
</xs:union>
|
|
50
|
+
</xs:simpleType>
|
|
51
|
+
<!-- one or more digits (NUMBER) -->
|
|
52
|
+
<xs:simpleType name="Number">
|
|
53
|
+
<xs:restriction base="xs:nonNegativeInteger"/>
|
|
54
|
+
</xs:simpleType>
|
|
55
|
+
<!-- integer representing length in pixels -->
|
|
56
|
+
<xs:simpleType name="Pixels">
|
|
57
|
+
<xs:restriction base="xs:nonNegativeInteger"/>
|
|
58
|
+
</xs:simpleType>
|
|
59
|
+
<!-- script expression -->
|
|
60
|
+
<xs:simpleType name="Script">
|
|
61
|
+
<xs:restriction base="xs:string"/>
|
|
62
|
+
</xs:simpleType>
|
|
63
|
+
<!-- sixteen color names or RGB color expression-->
|
|
64
|
+
<xs:simpleType name="Color">
|
|
65
|
+
<xs:union memberTypes="xs:NMTOKEN">
|
|
66
|
+
<xs:simpleType>
|
|
67
|
+
<xs:restriction base="xs:token">
|
|
68
|
+
<xs:pattern value="#[0-9a-fA-F]{3}([0-9a-fA-F]{3})?"/>
|
|
69
|
+
</xs:restriction>
|
|
70
|
+
</xs:simpleType>
|
|
71
|
+
</xs:union>
|
|
72
|
+
</xs:simpleType>
|
|
73
|
+
<!-- textual content -->
|
|
74
|
+
<xs:simpleType name="Text">
|
|
75
|
+
<xs:restriction base="xs:string"/>
|
|
76
|
+
</xs:simpleType>
|
|
77
|
+
<!-- Imported Datatypes -->
|
|
78
|
+
<!-- a single character, as per section 2.2 of [XML] -->
|
|
79
|
+
<xs:simpleType name="Character">
|
|
80
|
+
<xs:restriction base="xs:string">
|
|
81
|
+
<xs:length value="1" fixed="true"/>
|
|
82
|
+
</xs:restriction>
|
|
83
|
+
</xs:simpleType>
|
|
84
|
+
<!-- a character encoding, as per [RFC2045] -->
|
|
85
|
+
<xs:simpleType name="Charset">
|
|
86
|
+
<xs:restriction base="xs:string"/>
|
|
87
|
+
</xs:simpleType>
|
|
88
|
+
<!-- a space separated list of character encodings, as per [RFC2045] -->
|
|
89
|
+
<xs:simpleType name="Charsets">
|
|
90
|
+
<xs:list itemType="Charset"/>
|
|
91
|
+
</xs:simpleType>
|
|
92
|
+
<!-- media type, as per [RFC2045] -->
|
|
93
|
+
<xs:simpleType name="ContentType">
|
|
94
|
+
<xs:restriction base="xs:string"/>
|
|
95
|
+
</xs:simpleType>
|
|
96
|
+
<!-- comma-separated list of media types, as per [RFC2045] -->
|
|
97
|
+
<xs:simpleType name="ContentTypes">
|
|
98
|
+
<xs:restriction base="xs:string"/>
|
|
99
|
+
</xs:simpleType>
|
|
100
|
+
<!-- date and time information. ISO date format -->
|
|
101
|
+
<xs:simpleType name="Datetime">
|
|
102
|
+
<xs:restriction base="xs:dateTime"/>
|
|
103
|
+
</xs:simpleType>
|
|
104
|
+
<!-- formal public identifier, as per [ISO8879] -->
|
|
105
|
+
<xs:simpleType name="FPI">
|
|
106
|
+
<xs:restriction base="xs:normalizedString"/>
|
|
107
|
+
</xs:simpleType>
|
|
108
|
+
|
|
109
|
+
<!-- a window name as used in the target attribute -->
|
|
110
|
+
<xs:simpleType name="FrameTarget">
|
|
111
|
+
<xs:union>
|
|
112
|
+
<xs:simpleType>
|
|
113
|
+
<xs:restriction base="xs:NMTOKEN">
|
|
114
|
+
<xs:enumeration value="_blank"/>
|
|
115
|
+
<xs:enumeration value="_self"/>
|
|
116
|
+
<xs:enumeration value="_parent"/>
|
|
117
|
+
<xs:enumeration value="_top"/>
|
|
118
|
+
</xs:restriction>
|
|
119
|
+
</xs:simpleType>
|
|
120
|
+
<xs:simpleType>
|
|
121
|
+
<xs:restriction base="xs:string">
|
|
122
|
+
<xs:pattern value="[a-zA-Z].*"/>
|
|
123
|
+
</xs:restriction>
|
|
124
|
+
</xs:simpleType>
|
|
125
|
+
</xs:union>
|
|
126
|
+
</xs:simpleType>
|
|
127
|
+
|
|
128
|
+
<!-- a language code, as per [RFC3066] -->
|
|
129
|
+
<xs:simpleType name="LanguageCode">
|
|
130
|
+
<xs:restriction base="xs:language"/>
|
|
131
|
+
</xs:simpleType>
|
|
132
|
+
<!-- a comma separated list of language ranges -->
|
|
133
|
+
<xs:simpleType name="LanguageCodes">
|
|
134
|
+
<xs:restriction base="xs:string"/>
|
|
135
|
+
</xs:simpleType>
|
|
136
|
+
<!-- a Uniform Resource Identifier, see [URI] -->
|
|
137
|
+
<xs:simpleType name="URI">
|
|
138
|
+
<xs:restriction base="xs:anyURI"/>
|
|
139
|
+
</xs:simpleType>
|
|
140
|
+
<!-- a space-separated list of Uniform Resource Identifiers, see [URI] -->
|
|
141
|
+
<xs:simpleType name="URIs">
|
|
142
|
+
<xs:list itemType="xs:anyURI"/>
|
|
143
|
+
</xs:simpleType>
|
|
144
|
+
<!-- comma-separated list of MultiLength -->
|
|
145
|
+
<xs:simpleType name="MultiLengths">
|
|
146
|
+
<xs:restriction base="xs:string"/>
|
|
147
|
+
</xs:simpleType>
|
|
148
|
+
<!-- character Data -->
|
|
149
|
+
<xs:simpleType name="CDATA">
|
|
150
|
+
<xs:restriction base="xs:string"/>
|
|
151
|
+
</xs:simpleType>
|
|
152
|
+
<!-- CURIE placeholder datatypes -->
|
|
153
|
+
<xs:simpleType name="CURIE">
|
|
154
|
+
<xs:restriction base="xs:string">
|
|
155
|
+
<xs:pattern value="(([\i-[:]][\c-[:]]*)?:)?.+" />
|
|
156
|
+
<xs:minLength value="1"/>
|
|
157
|
+
</xs:restriction>
|
|
158
|
+
</xs:simpleType>
|
|
159
|
+
<xs:simpleType name="CURIEs">
|
|
160
|
+
<xs:list itemType="xh11d:CURIE"/>
|
|
161
|
+
</xs:simpleType>
|
|
162
|
+
<xs:simpleType name="SafeCURIE">
|
|
163
|
+
<xs:restriction base="xs:string">
|
|
164
|
+
<xs:pattern value="\[(([\i-[:]][\c-[:]]*)?:)?.+\]" />
|
|
165
|
+
<xs:minLength value="3"/>
|
|
166
|
+
</xs:restriction>
|
|
167
|
+
</xs:simpleType>
|
|
168
|
+
<xs:simpleType name="SafeCURIEs">
|
|
169
|
+
<xs:list itemType="xh11d:SafeCURIE"/>
|
|
170
|
+
</xs:simpleType>
|
|
171
|
+
<xs:simpleType name="URIorSafeCURIE">
|
|
172
|
+
<xs:union memberTypes="xs:anyURI xh11d:SafeCURIE" />
|
|
173
|
+
</xs:simpleType>
|
|
174
|
+
<xs:simpleType name="URIorSafeCURIEs">
|
|
175
|
+
<xs:list itemType="xh11d:URIorSafeCURIE"/>
|
|
176
|
+
</xs:simpleType>
|
|
177
|
+
</xs:schema>
|
|
@@ -0,0 +1,34 @@
|
|
|
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>
|