validate-website 0.1 → 0.2

Sign up to get free protection for your applications and to get access to all the features.
Files changed (93) hide show
  1. data/README +15 -4
  2. data/Rakefile +6 -4
  3. data/bin/validate-website +33 -36
  4. data/lib/colorful_messages.rb +7 -10
  5. data/lib/validator.rb +37 -0
  6. data/lib/xhtml/xframes-1.xsd +166 -0
  7. data/lib/xhtml/xhtml-access-1.xsd +43 -0
  8. data/lib/xhtml/xhtml-applet-1.xsd +66 -0
  9. data/lib/xhtml/xhtml-attribs-1.xsd +67 -0
  10. data/lib/xhtml/xhtml-base-1.xsd +31 -0
  11. data/lib/xhtml/xhtml-basic-form-1.xsd +195 -0
  12. data/lib/xhtml/xhtml-basic-table-1.xsd +169 -0
  13. data/lib/xhtml/xhtml-basic10-model-1.xsd +385 -0
  14. data/lib/xhtml/xhtml-basic10-module-redefines-1.xsd +61 -0
  15. data/lib/xhtml/xhtml-basic10-modules-1.xsd +233 -0
  16. data/lib/xhtml/xhtml-basic10.xsd +99 -0
  17. data/lib/xhtml/xhtml-basic11-model-1.xsd +622 -0
  18. data/lib/xhtml/xhtml-basic11-modules-1.xsd +508 -0
  19. data/lib/xhtml/xhtml-basic11.xsd +105 -0
  20. data/lib/xhtml/xhtml-bdo-1.xsd +72 -0
  21. data/lib/xhtml/xhtml-blkphras-1.xsd +155 -0
  22. data/lib/xhtml/xhtml-blkpres-1.xsd +32 -0
  23. data/lib/xhtml/xhtml-blkstruct-1.xsd +44 -0
  24. data/lib/xhtml/xhtml-charent-1.xsd +38 -0
  25. data/lib/xhtml/xhtml-copyright-1.xsd +29 -0
  26. data/lib/xhtml/xhtml-csismap-1.xsd +91 -0
  27. data/lib/xhtml/xhtml-datatypes-1.xsd +177 -0
  28. data/lib/xhtml/xhtml-edit-1.xsd +34 -0
  29. data/lib/xhtml/xhtml-events-1.xsd +130 -0
  30. data/lib/xhtml/xhtml-form-1.xsd +321 -0
  31. data/lib/xhtml/xhtml-frames-1.xsd +113 -0
  32. data/lib/xhtml/xhtml-framework-1.xsd +62 -0
  33. data/lib/xhtml/xhtml-hypertext-1.xsd +47 -0
  34. data/lib/xhtml/xhtml-iframe-1.xsd +68 -0
  35. data/lib/xhtml/xhtml-image-1.xsd +40 -0
  36. data/lib/xhtml/xhtml-inlphras-1.xsd +158 -0
  37. data/lib/xhtml/xhtml-inlpres-1.xsd +34 -0
  38. data/lib/xhtml/xhtml-inlstruct-1.xsd +45 -0
  39. data/lib/xhtml/xhtml-inlstyle-1.xsd +22 -0
  40. data/lib/xhtml/xhtml-inputmode-1.xsd +35 -0
  41. data/lib/xhtml/xhtml-lat1.ent +196 -0
  42. data/lib/xhtml/xhtml-legacy-1.xsd +97 -0
  43. data/lib/xhtml/xhtml-link-1.xsd +45 -0
  44. data/lib/xhtml/xhtml-list-1.xsd +94 -0
  45. data/lib/xhtml/xhtml-meta-1.xsd +54 -0
  46. data/lib/xhtml/xhtml-metaAttributes-1.xsd +39 -0
  47. data/lib/xhtml/xhtml-misc-1.xsd +441 -0
  48. data/lib/xhtml/xhtml-nameident-1.xsd +63 -0
  49. data/lib/xhtml/xhtml-notations-1.xsd +69 -0
  50. data/lib/xhtml/xhtml-object-1.xsd +71 -0
  51. data/lib/xhtml/xhtml-param-1.xsd +46 -0
  52. data/lib/xhtml/xhtml-pres-1.xsd +46 -0
  53. data/lib/xhtml/xhtml-print-1.xsd +85 -0
  54. data/lib/xhtml/xhtml-print-model-1.xsd +604 -0
  55. data/lib/xhtml/xhtml-print-modules-1.xsd +422 -0
  56. data/lib/xhtml/xhtml-rdfa-1.dtd +438 -0
  57. data/lib/xhtml/xhtml-rdfa-1.xsd +116 -0
  58. data/lib/xhtml/xhtml-rdfa-model-1.xsd +461 -0
  59. data/lib/xhtml/xhtml-rdfa-modules-1.xsd +548 -0
  60. data/lib/xhtml/xhtml-ruby-1.xsd +170 -0
  61. data/lib/xhtml/xhtml-ruby-basic-1.xsd +84 -0
  62. data/lib/xhtml/xhtml-script-1.xsd +65 -0
  63. data/lib/xhtml/xhtml-special.ent +80 -0
  64. data/lib/xhtml/xhtml-ssismap-1.xsd +38 -0
  65. data/lib/xhtml/xhtml-struct-1.xsd +85 -0
  66. data/lib/xhtml/xhtml-style-1.xsd +47 -0
  67. data/lib/xhtml/xhtml-symbol.ent +237 -0
  68. data/lib/xhtml/xhtml-table-1.xsd +267 -0
  69. data/lib/xhtml/xhtml-target-1.xsd +49 -0
  70. data/lib/xhtml/xhtml-text-1.xsd +62 -0
  71. data/lib/xhtml/xhtml1-frameset.dtd +1235 -0
  72. data/lib/xhtml/xhtml1-frameset.xsd +2847 -0
  73. data/lib/xhtml/xhtml1-strict.dtd +978 -0
  74. data/lib/xhtml/xhtml1-strict.xsd +2211 -0
  75. data/lib/xhtml/xhtml1-transitional.dtd +1201 -0
  76. data/lib/xhtml/xhtml1-transitional.xsd +2755 -0
  77. data/lib/xhtml/xhtml11-model-1.xsd +715 -0
  78. data/lib/xhtml/xhtml11-module-redefines-1.xsd +335 -0
  79. data/lib/xhtml/xhtml11-modules-1.xsd +605 -0
  80. data/lib/xhtml/xhtml11.xsd +107 -0
  81. data/lib/xhtml/xhtml2.xsd +21 -0
  82. data/lib/xhtml/xml-events-1.xsd +73 -0
  83. data/lib/xhtml/xml-events-2.xsd +73 -0
  84. data/lib/xhtml/xml-events-attribs-1.xsd +73 -0
  85. data/lib/xhtml/xml-events-attribs-2.xsd +75 -0
  86. data/lib/xhtml/xml-events-copyright-1.xsd +34 -0
  87. data/lib/xhtml/xml-events-copyright-2.xsd +34 -0
  88. data/lib/xhtml/xml-handlers-1.xsd +136 -0
  89. data/lib/xhtml/xml-handlers-2.xsd +98 -0
  90. data/lib/xhtml/xml-script-1.xsd +38 -0
  91. data/lib/xhtml/xml.xsd +286 -0
  92. metadata +114 -8
  93. data/lib/spkspider.rb +0 -147
@@ -0,0 +1,170 @@
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 Ruby module for XHTML
12
+ $Id: xhtml-ruby-1.xsd,v 1.3 2009/01/06 15:38:11 ahby Exp $
13
+ </xs:documentation>
14
+ <xs:documentation source="xhtml-copyright-1.xsd"/>
15
+ </xs:annotation>
16
+
17
+ <xs:annotation>
18
+ <xs:documentation>
19
+ "Ruby" are short runs of text alongside the base text, typically
20
+ used in East Asian documents to indicate pronunciation or to
21
+ provide a short annotation. The full specification for Ruby is here:
22
+
23
+ http://www.w3.org/TR/2001/REC-ruby-20010531/
24
+
25
+ This module defines "Ruby " or "complex Ruby" as described
26
+ in the specification:
27
+
28
+ http://www.w3.org/TR/2001/REC-ruby-20010531/#complex
29
+
30
+ Simple or Basic Ruby are defined in a separate module.
31
+
32
+ This module declares the elements and their attributes used to
33
+ support complex ruby annotation markup. Elements defined here
34
+ * ruby, rbc, rtc, rb, rt, rp
35
+
36
+ This module expects the document model to define the
37
+ following content models
38
+ + InlNoRuby.mix
39
+ </xs:documentation>
40
+ <xs:documentation
41
+ source="http://www.w3.org/TR/2001/REC-ruby-20010531/"/>
42
+ </xs:annotation>
43
+
44
+ <xs:group name="xhtml.ruby.content.simple">
45
+ <xs:sequence>
46
+ <xs:element name="rb" type="xhtml.rb.type"/>
47
+ <xs:choice>
48
+ <xs:element name="rt" type="xhtml.rt.type"/>
49
+ <xs:sequence>
50
+ <xs:element name="rp" type="xhtml.rp.type"/>
51
+ <xs:element name="rt" type="xhtml.rt.type"/>
52
+ <xs:element name="rp" type="xhtml.rp.type"/>
53
+ </xs:sequence>
54
+ </xs:choice>
55
+ </xs:sequence>
56
+ </xs:group>
57
+
58
+ <xs:group name="xhtml.ruby.content.complex">
59
+ <xs:sequence>
60
+ <xs:element name="rbc" type="xhtml.rbc.type"/>
61
+ <xs:element name="rtc" type="xhtml.rtc.type" maxOccurs="2"/>
62
+ </xs:sequence>
63
+ </xs:group>
64
+
65
+ <!--
66
+ add to this group any common attributes for all Ruby elements
67
+ -->
68
+ <xs:attributeGroup name="xhtml.ruby.common.attrib"/>
69
+
70
+ <xs:group name="xhtml.ruby.content">
71
+ <xs:choice>
72
+ <xs:group ref="xhtml.ruby.content.simple"/>
73
+ <xs:group ref="xhtml.ruby.content.complex"/>
74
+ </xs:choice>
75
+ </xs:group>
76
+
77
+ <xs:complexType name="xhtml.ruby.type">
78
+ <xs:group ref="xhtml.ruby.content"/>
79
+ <xs:attributeGroup ref="xhtml.ruby.common.attrib"/>
80
+ </xs:complexType>
81
+
82
+ <!--
83
+ rbc (ruby base component) element
84
+ -->
85
+ <xs:attributeGroup name="xhtml.rbc.attlist">
86
+ <xs:attributeGroup ref="xhtml.ruby.common.attrib"/>
87
+ </xs:attributeGroup>
88
+
89
+ <xs:group name="xhtml.rbc.content">
90
+ <xs:sequence>
91
+ <xs:element name="rb" type="xhtml.rb.type" />
92
+ </xs:sequence>
93
+ </xs:group>
94
+
95
+ <xs:complexType name="xhtml.rbc.type">
96
+ <xs:group ref="xhtml.rbc.content"/>
97
+ <xs:attributeGroup ref="xhtml.rbc.attlist"/>
98
+ </xs:complexType>
99
+
100
+ <!--
101
+ rtc (ruby text component) element
102
+ -->
103
+ <xs:attributeGroup name="xhtml.rtc.attlist">
104
+ <xs:attributeGroup ref="xhtml.ruby.common.attrib"/>
105
+ </xs:attributeGroup>
106
+
107
+ <xs:group name="xhtml.rtc.content">
108
+ <xs:sequence>
109
+ <xs:element name="rt" type="xhtml.rt.type" maxOccurs="unbounded"/>
110
+ </xs:sequence>
111
+ </xs:group>
112
+
113
+ <xs:complexType name="xhtml.rtc.type">
114
+ <xs:group ref="xhtml.rt.content"/>
115
+ <xs:attributeGroup ref="xhtml.rtc.attlist"/>
116
+ </xs:complexType>
117
+
118
+ <!--
119
+ rb (ruby base) element
120
+ -->
121
+ <xs:attributeGroup name="xhtml.rb.attlist">
122
+ <xs:attributeGroup ref="xhtml.ruby.common.attrib"/>
123
+ </xs:attributeGroup>
124
+
125
+ <xs:group name="xhtml.rb.content">
126
+ <xs:sequence>
127
+ <xs:group ref="xhtml.InlNoRuby.mix" minOccurs="0" maxOccurs="unbounded"/>
128
+ </xs:sequence>
129
+ </xs:group>
130
+
131
+ <xs:complexType name="xhtml.rb.type" mixed="true">
132
+ <xs:group ref="xhtml.rb.content"/>
133
+ <xs:attributeGroup ref="xhtml.rb.attlist"/>
134
+ </xs:complexType>
135
+
136
+ <!--
137
+ rt (ruby text) element
138
+ -->
139
+ <xs:attributeGroup name="xhtml.rt.attlist">
140
+ <xs:attributeGroup ref="xhtml.ruby.common.attrib"/>
141
+ <xs:attribute name="rbspan" type="xh11d:Number" default="1"/>
142
+ </xs:attributeGroup>
143
+
144
+ <xs:group name="xhtml.rt.content">
145
+ <xs:sequence>
146
+ <xs:group ref="xhtml.InlNoRuby.mix" minOccurs="0" maxOccurs="unbounded"/>
147
+ </xs:sequence>
148
+ </xs:group>
149
+
150
+ <xs:complexType name="xhtml.rt.type" mixed="true">
151
+ <xs:group ref="xhtml.rt.content"/>
152
+ <xs:attributeGroup ref="xhtml.rt.attlist"/>
153
+ </xs:complexType>
154
+
155
+ <!-- rp (ruby parenthesis) element -->
156
+ <xs:attributeGroup name="xhtml.rp.attlist">
157
+ <xs:attributeGroup ref="xhtml.ruby.common.attrib"/>
158
+ </xs:attributeGroup>
159
+
160
+ <xs:group name="xhtml.rp.content">
161
+ <xs:sequence/>
162
+ </xs:group>
163
+
164
+
165
+ <xs:complexType name="xhtml.rp.type" mixed="true">
166
+ <xs:group ref="xhtml.rp.content"/>
167
+ <xs:attributeGroup ref="xhtml.rp.attlist"/>
168
+ </xs:complexType>
169
+
170
+ </xs:schema>
@@ -0,0 +1,84 @@
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 Schema module for Ruby Basic.
7
+ $Id: xhtml-ruby-basic-1.xsd,v 1.6 2005/09/26 22:54:53 ahby Exp $
8
+ </xs:documentation>
9
+ <xs:documentation source="xhtml-copyright-1.xsd"/>
10
+ </xs:annotation>
11
+ <xs:annotation>
12
+ <xs:documentation>
13
+ "Ruby" are short runs of text alongside the base text, typically
14
+ used in East Asian documents to indicate pronunciation or to
15
+ provide a short annotation. The full specification for Ruby is here:
16
+
17
+ http://www.w3.org/TR/2001/REC-ruby-20010531/
18
+
19
+ This module defines "Ruby Basic" or "simple Ruby" as described
20
+ in the specification:
21
+
22
+ http://www.w3.org/TR/ruby/#simple-ruby1
23
+
24
+ This module declares the elements and their attributes used to
25
+ support simple ruby annotation markup. Elements defined here are
26
+ * ruby, rb, rt, rp
27
+ Ruby Basic does not use the rbc or rtc elements.
28
+ The content of the ruby element for Ruby Basic
29
+ uses the rp element for fallback purposes.
30
+ </xs:documentation>
31
+ <xs:documentation source="http://www.w3.org/TR/2001/REC-ruby-20010531/#simple-ruby1"/>
32
+ </xs:annotation>
33
+ <xs:group name="xhtml.ruby.content.simple">
34
+ <xs:sequence>
35
+ <xs:element name="rb" type="xhtml.rb.type"/>
36
+ <xs:choice>
37
+ <xs:element name="rt" type="xhtml.rt.type"/>
38
+ <xs:sequence>
39
+ <xs:element name="rp" type="xhtml.rp.type"/>
40
+ <xs:element name="rt" type="xhtml.rt.type"/>
41
+ <xs:element name="rp" type="xhtml.rp.type"/>
42
+ </xs:sequence>
43
+ </xs:choice>
44
+ </xs:sequence>
45
+ </xs:group>
46
+ <!--
47
+ add to this group any common attributes for all Ruby elements
48
+ -->
49
+ <xs:attributeGroup name="xhtml.ruby.common.attrib"/>
50
+ <xs:complexType name="xhtml.ruby.type">
51
+ <xs:group ref="xhtml.ruby.content.simple"/>
52
+ <xs:attributeGroup ref="xhtml.ruby.common.attrib"/>
53
+ </xs:complexType>
54
+ <!--
55
+ rb (ruby base) element
56
+ -->
57
+ <xs:attributeGroup name="xhtml.rb.attrib">
58
+ <xs:attributeGroup ref="xhtml.ruby.common.attrib"/>
59
+ </xs:attributeGroup>
60
+ <xs:complexType name="xhtml.rb.type" mixed="true">
61
+ <xs:attributeGroup ref="xhtml.rb.attrib"/>
62
+ </xs:complexType>
63
+ <!--
64
+ rt (ruby text) element
65
+ -->
66
+ <xs:attributeGroup name="xhtml.rt.attrib">
67
+ <xs:attributeGroup ref="xhtml.ruby.common.attrib"/>
68
+ </xs:attributeGroup>
69
+ <!--
70
+ Note that the rbspan element is not used in Ruby Basic
71
+ -->
72
+ <xs:complexType name="xhtml.rt.type" mixed="true">
73
+ <xs:attributeGroup ref="xhtml.rt.attrib"/>
74
+ </xs:complexType>
75
+ <!--
76
+ rp (ruby parenthesis) element
77
+ -->
78
+ <xs:attributeGroup name="xhtml.rp.attrib">
79
+ <xs:attributeGroup ref="xhtml.ruby.common.attrib"/>
80
+ </xs:attributeGroup>
81
+ <xs:complexType name="xhtml.rp.type" mixed="true">
82
+ <xs:attributeGroup ref="xhtml.rp.attrib"/>
83
+ </xs:complexType>
84
+ </xs:schema>
@@ -0,0 +1,65 @@
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 Schema Scripting module for XHTML
7
+ $Id: xhtml-script-1.xsd,v 1.5 2006/09/11 08:50:41 ahby Exp $
8
+ </xs:documentation>
9
+ <xs:documentation source="xhtml-copyright-1.xsd"/>
10
+ </xs:annotation>
11
+ <xs:annotation>
12
+ <xs:documentation>
13
+ Scripting
14
+
15
+ * script, noscript
16
+
17
+ This module declares element types and attributes used to provide
18
+ support for executable scripts as well as an alternate content
19
+ container where scripts are not supported.
20
+ </xs:documentation>
21
+ <xs:documentation source="http://www.w3.org/TR/2001/REC-xhtml-modularization-20010410/abstract_modules.html#s_scriptmodule"/>
22
+ </xs:annotation>
23
+ <xs:import namespace="http://www.w3.org/XML/1998/namespace" schemaLocation="http://www.w3.org/2001/xml.xsd">
24
+ <xs:annotation>
25
+ <xs:documentation>
26
+ This import brings in the XML namespace attributes
27
+ The module itself does not provide the schemaLocation
28
+ and expects the driver schema to provide the
29
+ actual SchemaLocation.
30
+ </xs:documentation>
31
+ </xs:annotation>
32
+ </xs:import>
33
+ <xs:attributeGroup name="xhtml.script.attlist">
34
+ <xs:attributeGroup ref="xhtml.id"/>
35
+ <xs:attribute name="charset" type="xh11d:Charset"/>
36
+ <xs:attribute name="type" type="xh11d:ContentType" use="required"/>
37
+ <xs:attribute name="src" type="xh11d:URI"/>
38
+ <xs:attribute name="defer">
39
+ <xs:simpleType>
40
+ <xs:restriction base="xs:NMTOKEN">
41
+ <xs:enumeration value="defer"/>
42
+ </xs:restriction>
43
+ </xs:simpleType>
44
+ </xs:attribute>
45
+ </xs:attributeGroup>
46
+ <xs:group name="xhtml.script.content">
47
+ <xs:sequence/>
48
+ </xs:group>
49
+ <xs:complexType name="xhtml.script.type" mixed="true">
50
+ <xs:group ref="xhtml.script.content"/>
51
+ <xs:attributeGroup ref="xhtml.script.attlist"/>
52
+ </xs:complexType>
53
+ <xs:attributeGroup name="xhtml.noscript.attlist">
54
+ <xs:attributeGroup ref="xhtml.Common.attrib"/>
55
+ </xs:attributeGroup>
56
+ <xs:group name="xhtml.noscript.content">
57
+ <xs:sequence>
58
+ <xs:group ref="xhtml.Block.mix" maxOccurs="unbounded"/>
59
+ </xs:sequence>
60
+ </xs:group>
61
+ <xs:complexType name="xhtml.noscript.type">
62
+ <xs:group ref="xhtml.noscript.content"/>
63
+ <xs:attributeGroup ref="xhtml.noscript.attlist"/>
64
+ </xs:complexType>
65
+ </xs:schema>
@@ -0,0 +1,80 @@
1
+ <!-- Special characters for XHTML -->
2
+
3
+ <!-- Character entity set. Typical invocation:
4
+ <!ENTITY % HTMLspecial PUBLIC
5
+ "-//W3C//ENTITIES Special for XHTML//EN"
6
+ "http://www.w3.org/TR/xhtml1/DTD/xhtml-special.ent">
7
+ %HTMLspecial;
8
+ -->
9
+
10
+ <!-- Portions (C) International Organization for Standardization 1986:
11
+ Permission to copy in any form is granted for use with
12
+ conforming SGML systems and applications as defined in
13
+ ISO 8879, provided this notice is included in all copies.
14
+ -->
15
+
16
+ <!-- Relevant ISO entity set is given unless names are newly introduced.
17
+ New names (i.e., not in ISO 8879 list) do not clash with any
18
+ existing ISO 8879 entity names. ISO 10646 character numbers
19
+ are given for each character, in hex. values are decimal
20
+ conversions of the ISO 10646 values and refer to the document
21
+ character set. Names are Unicode names.
22
+ -->
23
+
24
+ <!-- C0 Controls and Basic Latin -->
25
+ <!ENTITY quot "&#34;"> <!-- quotation mark, U+0022 ISOnum -->
26
+ <!ENTITY amp "&#38;#38;"> <!-- ampersand, U+0026 ISOnum -->
27
+ <!ENTITY lt "&#38;#60;"> <!-- less-than sign, U+003C ISOnum -->
28
+ <!ENTITY gt "&#62;"> <!-- greater-than sign, U+003E ISOnum -->
29
+ <!ENTITY apos "&#39;"> <!-- apostrophe = APL quote, U+0027 ISOnum -->
30
+
31
+ <!-- Latin Extended-A -->
32
+ <!ENTITY OElig "&#338;"> <!-- latin capital ligature OE,
33
+ U+0152 ISOlat2 -->
34
+ <!ENTITY oelig "&#339;"> <!-- latin small ligature oe, U+0153 ISOlat2 -->
35
+ <!-- ligature is a misnomer, this is a separate character in some languages -->
36
+ <!ENTITY Scaron "&#352;"> <!-- latin capital letter S with caron,
37
+ U+0160 ISOlat2 -->
38
+ <!ENTITY scaron "&#353;"> <!-- latin small letter s with caron,
39
+ U+0161 ISOlat2 -->
40
+ <!ENTITY Yuml "&#376;"> <!-- latin capital letter Y with diaeresis,
41
+ U+0178 ISOlat2 -->
42
+
43
+ <!-- Spacing Modifier Letters -->
44
+ <!ENTITY circ "&#710;"> <!-- modifier letter circumflex accent,
45
+ U+02C6 ISOpub -->
46
+ <!ENTITY tilde "&#732;"> <!-- small tilde, U+02DC ISOdia -->
47
+
48
+ <!-- General Punctuation -->
49
+ <!ENTITY ensp "&#8194;"> <!-- en space, U+2002 ISOpub -->
50
+ <!ENTITY emsp "&#8195;"> <!-- em space, U+2003 ISOpub -->
51
+ <!ENTITY thinsp "&#8201;"> <!-- thin space, U+2009 ISOpub -->
52
+ <!ENTITY zwnj "&#8204;"> <!-- zero width non-joiner,
53
+ U+200C NEW RFC 2070 -->
54
+ <!ENTITY zwj "&#8205;"> <!-- zero width joiner, U+200D NEW RFC 2070 -->
55
+ <!ENTITY lrm "&#8206;"> <!-- left-to-right mark, U+200E NEW RFC 2070 -->
56
+ <!ENTITY rlm "&#8207;"> <!-- right-to-left mark, U+200F NEW RFC 2070 -->
57
+ <!ENTITY ndash "&#8211;"> <!-- en dash, U+2013 ISOpub -->
58
+ <!ENTITY mdash "&#8212;"> <!-- em dash, U+2014 ISOpub -->
59
+ <!ENTITY lsquo "&#8216;"> <!-- left single quotation mark,
60
+ U+2018 ISOnum -->
61
+ <!ENTITY rsquo "&#8217;"> <!-- right single quotation mark,
62
+ U+2019 ISOnum -->
63
+ <!ENTITY sbquo "&#8218;"> <!-- single low-9 quotation mark, U+201A NEW -->
64
+ <!ENTITY ldquo "&#8220;"> <!-- left double quotation mark,
65
+ U+201C ISOnum -->
66
+ <!ENTITY rdquo "&#8221;"> <!-- right double quotation mark,
67
+ U+201D ISOnum -->
68
+ <!ENTITY bdquo "&#8222;"> <!-- double low-9 quotation mark, U+201E NEW -->
69
+ <!ENTITY dagger "&#8224;"> <!-- dagger, U+2020 ISOpub -->
70
+ <!ENTITY Dagger "&#8225;"> <!-- double dagger, U+2021 ISOpub -->
71
+ <!ENTITY permil "&#8240;"> <!-- per mille sign, U+2030 ISOtech -->
72
+ <!ENTITY lsaquo "&#8249;"> <!-- single left-pointing angle quotation mark,
73
+ U+2039 ISO proposed -->
74
+ <!-- lsaquo is proposed but not yet ISO standardized -->
75
+ <!ENTITY rsaquo "&#8250;"> <!-- single right-pointing angle quotation mark,
76
+ U+203A ISO proposed -->
77
+ <!-- rsaquo is proposed but not yet ISO standardized -->
78
+
79
+ <!-- Currency Symbols -->
80
+ <!ENTITY euro "&#8364;"> <!-- euro sign, U+20AC NEW -->
@@ -0,0 +1,38 @@
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 Schema Server-side Image Maps module for XHTML
7
+ $Id: xhtml-ssismap-1.xsd,v 1.3 2005/09/26 22:54:53 ahby Exp $
8
+ </xs:documentation>
9
+ <xs:documentation source="xhtml-copyright-1.xsd"/>
10
+ </xs:annotation>
11
+ <xs:annotation>
12
+ <xs:documentation>
13
+ Server-side Image Maps
14
+
15
+ This adds the 'ismap' attribute to the img element to
16
+ support server-side processing of a user selection.
17
+ </xs:documentation>
18
+ <xs:documentation source="http://www.w3.org/TR/2001/REC-xhtml-modularization-20010410/abstract_modules.html#s_servermapmodule"/>
19
+ </xs:annotation>
20
+ <xs:attributeGroup name="xhtml.img.ssimap.attlist">
21
+ <xs:attribute name="ismap">
22
+ <xs:simpleType>
23
+ <xs:restriction base="xs:NMTOKEN">
24
+ <xs:enumeration value="ismap"/>
25
+ </xs:restriction>
26
+ </xs:simpleType>
27
+ </xs:attribute>
28
+ </xs:attributeGroup>
29
+ <xs:attributeGroup name="xhtml.input.ssimap.attlist">
30
+ <xs:attribute name="ismap">
31
+ <xs:simpleType>
32
+ <xs:restriction base="xs:NMTOKEN">
33
+ <xs:enumeration value="ismap"/>
34
+ </xs:restriction>
35
+ </xs:simpleType>
36
+ </xs:attribute>
37
+ </xs:attributeGroup>
38
+ </xs:schema>
@@ -0,0 +1,85 @@
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 Schema Document Structure module for XHTML
7
+ Document Structure
8
+
9
+ * title, head, body, html
10
+
11
+ The Structure Module defines the major structural elements and
12
+ their attributes.
13
+
14
+ $Id: xhtml-struct-1.xsd,v 1.10 2008/07/05 04:11:00 ahby Exp $
15
+ </xs:documentation>
16
+ <xs:documentation source="xhtml-copyright-1.xsd"/>
17
+ <xs:documentation source="http://www.w3.org/TR/2001/REC-xhtml-modularization-20010410/abstract_modules.html#s_structuremodule"/>
18
+ </xs:annotation>
19
+ <xs:import namespace="http://www.w3.org/XML/1998/namespace" schemaLocation="http://www.w3.org/2001/xml.xsd">
20
+ <xs:annotation>
21
+ <xs:documentation>
22
+ This import brings in the XML namespace attributes
23
+ The module itself does not provide the schemaLocation
24
+ and expects the driver schema to provide the
25
+ actual SchemaLocation.
26
+ </xs:documentation>
27
+ </xs:annotation>
28
+ </xs:import>
29
+ <xs:attributeGroup name="xhtml.title.attlist">
30
+ <xs:attributeGroup ref="xhtml.I18n.attrib"/>
31
+ <xs:attributeGroup ref="xhtml.id"/>
32
+ <xs:attribute ref="xml:space"/>
33
+ </xs:attributeGroup>
34
+ <xs:group name="xhtml.title.content">
35
+ <xs:sequence/>
36
+ </xs:group>
37
+ <xs:complexType name="xhtml.title.type" mixed="true">
38
+ <xs:group ref="xhtml.title.content"/>
39
+ <xs:attributeGroup ref="xhtml.title.attlist"/>
40
+ </xs:complexType>
41
+ <xs:attributeGroup name="xhtml.profile.attrib">
42
+ <xs:attribute name="profile" type="xh11d:URI"/>
43
+ </xs:attributeGroup>
44
+ <xs:attributeGroup name="xhtml.head.attlist">
45
+ <xs:attributeGroup ref="xhtml.profile.attrib"/>
46
+ <xs:attributeGroup ref="xhtml.I18n.attrib"/>
47
+ <xs:attributeGroup ref="xhtml.id"/>
48
+ <xs:attribute ref="xml:space"/>
49
+ </xs:attributeGroup>
50
+ <xs:complexType name="xhtml.head.type">
51
+ <xs:group ref="xhtml.head.content"/>
52
+ <xs:attributeGroup ref="xhtml.head.attlist"/>
53
+ </xs:complexType>
54
+ <xs:attributeGroup name="xhtml.body.attlist">
55
+ <xs:attributeGroup ref="xhtml.Common.attrib"/>
56
+ </xs:attributeGroup>
57
+ <xs:group name="xhtml.body.content">
58
+ <xs:sequence>
59
+ <xs:group ref="xhtml.Block.mix" minOccurs="0" maxOccurs="unbounded"/>
60
+ </xs:sequence>
61
+ </xs:group>
62
+ <xs:complexType name="xhtml.body.type">
63
+ <xs:group ref="xhtml.body.content"/>
64
+ <xs:attributeGroup ref="xhtml.body.attlist"/>
65
+ </xs:complexType>
66
+ <xs:attributeGroup name="xhtml.version.attrib">
67
+ <xs:attribute name="version" type="xh11d:CDATA"/>
68
+ </xs:attributeGroup>
69
+ <xs:attributeGroup name="xhtml.html.attlist">
70
+ <xs:attributeGroup ref="xhtml.version.attrib"/>
71
+ <xs:attributeGroup ref="xhtml.I18n.attrib"/>
72
+ <xs:attributeGroup ref="xhtml.id"/>
73
+ <xs:attribute ref="xml:space"/>
74
+ </xs:attributeGroup>
75
+ <xs:group name="xhtml.html.content">
76
+ <xs:sequence>
77
+ <xs:element name="head" type="xhtml.head.type"/>
78
+ <xs:element name="body" type="xhtml.body.type"/>
79
+ </xs:sequence>
80
+ </xs:group>
81
+ <xs:complexType name="xhtml.html.type">
82
+ <xs:group ref="xhtml.html.content"/>
83
+ <xs:attributeGroup ref="xhtml.html.attlist"/>
84
+ </xs:complexType>
85
+ </xs:schema>
@@ -0,0 +1,47 @@
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
+ This is the XML Schema Stylesheets module for XHTML
8
+ $Id: xhtml-style-1.xsd,v 1.5 2006/09/11 10:14:57 ahby Exp $
9
+ </xs:documentation>
10
+ <xs:documentation source="xhtml-copyright-1.xsd"/>
11
+ </xs:annotation>
12
+ <xs:annotation>
13
+ <xs:documentation>
14
+ Stylesheets
15
+
16
+ * style
17
+
18
+ This module declares the style element type and its attributes,
19
+ used to embed stylesheet information in the document head element.
20
+ </xs:documentation>
21
+ <xs:documentation source="http://www.w3.org/TR/2001/REC-xhtml-modularization-20010410/abstract_modules.html#s_stylemodule"/>
22
+ </xs:annotation>
23
+ <xs:import namespace="http://www.w3.org/XML/1998/namespace" schemaLocation="http://www.w3.org/2001/xml.xsd">
24
+ <xs:annotation>
25
+ <xs:documentation>
26
+ This import brings in the XML namespace attributes
27
+ The module itself does not provide the schemaLocation
28
+ and expects the driver schema to provide the
29
+ actual SchemaLocation.
30
+ </xs:documentation>
31
+ </xs:annotation>
32
+ </xs:import>
33
+ <xs:attributeGroup name="xhtml.style.attlist">
34
+ <xs:attributeGroup ref="xhtml.id"/>
35
+ <xs:attributeGroup ref="xhtml.title"/>
36
+ <xs:attributeGroup ref="xhtml.I18n.attrib"/>
37
+ <xs:attribute name="type" type="xh11d:ContentType" use="required"/>
38
+ <xs:attribute name="media" type="xh11d:MediaDesc"/>
39
+ </xs:attributeGroup>
40
+ <xs:group name="xhtml.style.content">
41
+ <xs:sequence/>
42
+ </xs:group>
43
+ <xs:complexType name="xhtml.style.type" mixed="true">
44
+ <xs:group ref="xhtml.style.content"/>
45
+ <xs:attributeGroup ref="xhtml.style.attlist"/>
46
+ </xs:complexType>
47
+ </xs:schema>