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.
Files changed (74) hide show
  1. checksums.yaml +4 -4
  2. data/History.md +8 -0
  3. data/LICENSE +1 -1
  4. data/README.md +1 -1
  5. data/lib/validate_website/core.rb +1 -0
  6. data/lib/validate_website/static.rb +4 -63
  7. data/lib/validate_website/static_link.rb +65 -0
  8. data/lib/validate_website/validator.rb +43 -39
  9. data/lib/validate_website/version.rb +1 -1
  10. data/man/man1/validate-website-static.1 +3 -3
  11. data/man/man1/validate-website.1 +3 -3
  12. data/test/crawler_test.rb +9 -5
  13. data/test/data/validator.nu-failure.json +1 -0
  14. data/test/data/validator.nu-success.json +1 -0
  15. data/test/static_test.rb +1 -1
  16. data/test/validator_test.rb +14 -41
  17. metadata +14 -68
  18. data/data/schemas/xhtml-access-1.xsd +0 -43
  19. data/data/schemas/xhtml-applet-1.xsd +0 -66
  20. data/data/schemas/xhtml-attribs-1.xsd +0 -67
  21. data/data/schemas/xhtml-basic-form-1.xsd +0 -195
  22. data/data/schemas/xhtml-basic-table-1.xsd +0 -169
  23. data/data/schemas/xhtml-basic10-model-1.xsd +0 -385
  24. data/data/schemas/xhtml-basic10-module-redefines-1.xsd +0 -61
  25. data/data/schemas/xhtml-basic10-modules-1.xsd +0 -233
  26. data/data/schemas/xhtml-basic10.xsd +0 -99
  27. data/data/schemas/xhtml-basic11-model-1.xsd +0 -622
  28. data/data/schemas/xhtml-basic11-modules-1.xsd +0 -508
  29. data/data/schemas/xhtml-basic11.xsd +0 -105
  30. data/data/schemas/xhtml-bdo-1.xsd +0 -72
  31. data/data/schemas/xhtml-blkphras-1.xsd +0 -155
  32. data/data/schemas/xhtml-blkpres-1.xsd +0 -32
  33. data/data/schemas/xhtml-blkstruct-1.xsd +0 -44
  34. data/data/schemas/xhtml-csismap-1.xsd +0 -91
  35. data/data/schemas/xhtml-edit-1.xsd +0 -34
  36. data/data/schemas/xhtml-form-1.xsd +0 -321
  37. data/data/schemas/xhtml-frames-1.xsd +0 -113
  38. data/data/schemas/xhtml-framework-1.xsd +0 -62
  39. data/data/schemas/xhtml-hypertext-1.xsd +0 -47
  40. data/data/schemas/xhtml-iframe-1.xsd +0 -68
  41. data/data/schemas/xhtml-image-1.xsd +0 -40
  42. data/data/schemas/xhtml-inlphras-1.xsd +0 -158
  43. data/data/schemas/xhtml-inlpres-1.xsd +0 -34
  44. data/data/schemas/xhtml-inlstruct-1.xsd +0 -45
  45. data/data/schemas/xhtml-legacy-1.xsd +0 -97
  46. data/data/schemas/xhtml-link-1.xsd +0 -45
  47. data/data/schemas/xhtml-list-1.xsd +0 -94
  48. data/data/schemas/xhtml-meta-1.xsd +0 -54
  49. data/data/schemas/xhtml-misc-1.xsd +0 -441
  50. data/data/schemas/xhtml-object-1.xsd +0 -71
  51. data/data/schemas/xhtml-param-1.xsd +0 -46
  52. data/data/schemas/xhtml-pres-1.xsd +0 -46
  53. data/data/schemas/xhtml-print-1.xsd +0 -85
  54. data/data/schemas/xhtml-print-model-1.xsd +0 -604
  55. data/data/schemas/xhtml-print-modules-1.xsd +0 -422
  56. data/data/schemas/xhtml-rdfa-1.xsd +0 -116
  57. data/data/schemas/xhtml-rdfa-model-1.xsd +0 -461
  58. data/data/schemas/xhtml-rdfa-modules-1.xsd +0 -548
  59. data/data/schemas/xhtml-ruby-1.xsd +0 -170
  60. data/data/schemas/xhtml-script-1.xsd +0 -65
  61. data/data/schemas/xhtml-struct-1.xsd +0 -85
  62. data/data/schemas/xhtml-style-1.xsd +0 -47
  63. data/data/schemas/xhtml-table-1.xsd +0 -267
  64. data/data/schemas/xhtml-text-1.xsd +0 -62
  65. data/data/schemas/xhtml11-model-1.xsd +0 -715
  66. data/data/schemas/xhtml11-module-redefines-1.xsd +0 -335
  67. data/data/schemas/xhtml11-modules-1.xsd +0 -605
  68. data/data/schemas/xhtml11.xsd +0 -107
  69. data/data/schemas/xml-handlers-2.xsd +0 -98
  70. data/data/schemas/xml-script-1.xsd +0 -38
  71. data/test/data/html5-linuxfr.html +0 -1286
  72. data/test/data/validator.nu-excessive.html +0 -118
  73. data/test/data/validator.nu-failure.html +0 -10
  74. data/test/data/validator.nu-success.html +0 -2
@@ -1,170 +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 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>
@@ -1,65 +0,0 @@
1
- <?xml version="1.0" encoding="UTF-8"?>
2
- <xs:schema xmlns:xs="http://www.w3.org/2001/XMLSchema" elementFormDefault="qualified" xmlns:xh11d="http://www.w3.org/1999/xhtml/datatypes/">
3
- <xs:import namespace="http://www.w3.org/1999/xhtml/datatypes/" schemaLocation="xhtml-datatypes-1.xsd"/>
4
- <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>
@@ -1,85 +0,0 @@
1
- <?xml version="1.0" encoding="UTF-8"?>
2
- <xs:schema xmlns:xs="http://www.w3.org/2001/XMLSchema" elementFormDefault="qualified" xmlns:xh11d="http://www.w3.org/1999/xhtml/datatypes/">
3
- <xs:import namespace="http://www.w3.org/1999/xhtml/datatypes/" schemaLocation="xhtml-datatypes-1.xsd"/>
4
- <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>
@@ -1,47 +0,0 @@
1
- <?xml version="1.0" encoding="UTF-8"?>
2
- <xs:schema xmlns:xs="http://www.w3.org/2001/XMLSchema" elementFormDefault="qualified" xmlns:xh11d="http://www.w3.org/1999/xhtml/datatypes/">
3
- <xs:import namespace="http://www.w3.org/1999/xhtml/datatypes/" schemaLocation="xhtml-datatypes-1.xsd"/>
4
-
5
- <xs:annotation>
6
- <xs:documentation>
7
- 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>
@@ -1,267 +0,0 @@
1
- <?xml version="1.0" encoding="UTF-8"?>
2
- <xs:schema xmlns:xs="http://www.w3.org/2001/XMLSchema" elementFormDefault="qualified" xmlns:xh11d="http://www.w3.org/1999/xhtml/datatypes/">
3
- <xs:import namespace="http://www.w3.org/1999/xhtml/datatypes/" schemaLocation="xhtml-datatypes-1.xsd"/>
4
-
5
- <xs:annotation>
6
- <xs:documentation>
7
- This is the XML Schema Tables module for XHTML
8
- $Id: xhtml-table-1.xsd,v 1.3 2005/09/26 22:54:53 ahby Exp $
9
- </xs:documentation>
10
- <xs:documentation source="xhtml-copyright-1.xsd"/>
11
- </xs:annotation>
12
- <xs:annotation>
13
- <xs:documentation>
14
- Tables
15
-
16
- * table, caption, thead, tfoot, tbody, colgroup, col, tr, th, td
17
-
18
- This module declares element types and attributes used to provide
19
- table markup similar to HTML 4.0, including features that enable
20
- better accessibility for non-visual user agents.
21
- </xs:documentation>
22
- <xs:documentation source="http://www.w3.org/TR/2001/REC-xhtml-modularization-20010410/abstract_modules.html#s_tablemodule"/>
23
- </xs:annotation>
24
- <xs:attributeGroup name="xhtml.frame.attrib">
25
- <xs:attribute name="frame">
26
- <xs:simpleType>
27
- <xs:restriction base="xs:NMTOKEN">
28
- <xs:enumeration value="void"/>
29
- <xs:enumeration value="above"/>
30
- <xs:enumeration value="below"/>
31
- <xs:enumeration value="hsides"/>
32
- <xs:enumeration value="lhs"/>
33
- <xs:enumeration value="rhs"/>
34
- <xs:enumeration value="vsides"/>
35
- <xs:enumeration value="box"/>
36
- <xs:enumeration value="border"/>
37
- </xs:restriction>
38
- </xs:simpleType>
39
- </xs:attribute>
40
- </xs:attributeGroup>
41
- <xs:attributeGroup name="xhtml.rules.attrib">
42
- <xs:attribute name="rules">
43
- <xs:simpleType>
44
- <xs:restriction base="xs:NMTOKEN">
45
- <xs:enumeration value="none"/>
46
- <xs:enumeration value="groups"/>
47
- <xs:enumeration value="rows"/>
48
- <xs:enumeration value="cols"/>
49
- <xs:enumeration value="all"/>
50
- </xs:restriction>
51
- </xs:simpleType>
52
- </xs:attribute>
53
- </xs:attributeGroup>
54
- <xs:attributeGroup name="xhtml.CellVAlign.attrib">
55
- <xs:attribute name="valign">
56
- <xs:simpleType>
57
- <xs:restriction base="xs:NMTOKEN">
58
- <xs:enumeration value="top"/>
59
- <xs:enumeration value="middle"/>
60
- <xs:enumeration value="bottom"/>
61
- <xs:enumeration value="baseline"/>
62
- </xs:restriction>
63
- </xs:simpleType>
64
- </xs:attribute>
65
- </xs:attributeGroup>
66
- <xs:attributeGroup name="xhtml.CellHAlign.attrib">
67
- <xs:attribute name="align">
68
- <xs:simpleType>
69
- <xs:restriction base="xs:NMTOKEN">
70
- <xs:enumeration value="left"/>
71
- <xs:enumeration value="center"/>
72
- <xs:enumeration value="right"/>
73
- <xs:enumeration value="justify"/>
74
- <xs:enumeration value="char"/>
75
- </xs:restriction>
76
- </xs:simpleType>
77
- </xs:attribute>
78
- <xs:attribute name="char" type="xh11d:Character"/>
79
- <xs:attribute name="charoff" type="xh11d:Length"/>
80
- </xs:attributeGroup>
81
- <xs:attributeGroup name="xhtml.scope.attrib">
82
- <xs:attribute name="scope">
83
- <xs:simpleType>
84
- <xs:restriction base="xs:NMTOKEN">
85
- <xs:enumeration value="row"/>
86
- <xs:enumeration value="col"/>
87
- <xs:enumeration value="rowgroup"/>
88
- <xs:enumeration value="colgroup"/>
89
- </xs:restriction>
90
- </xs:simpleType>
91
- </xs:attribute>
92
- </xs:attributeGroup>
93
- <xs:attributeGroup name="xhtml.td.attlist">
94
- <xs:attributeGroup ref="xhtml.Common.attrib"/>
95
- <xs:attribute name="abbr" type="xh11d:Text"/>
96
- <xs:attribute name="axis" type="xh11d:CDATA"/>
97
- <xs:attribute name="headers" type="xs:IDREFS"/>
98
- <xs:attributeGroup ref="xhtml.scope.attrib"/>
99
- <xs:attribute name="rowspan" type="xh11d:Number" default="1"/>
100
- <xs:attribute name="colspan" type="xh11d:Number" default="1"/>
101
- <xs:attributeGroup ref="xhtml.CellHAlign.attrib"/>
102
- <xs:attributeGroup ref="xhtml.CellVAlign.attrib"/>
103
- </xs:attributeGroup>
104
- <xs:group name="xhtml.td.content">
105
- <xs:sequence>
106
- <xs:group ref="xhtml.Flow.mix" minOccurs="0" maxOccurs="unbounded"/>
107
- </xs:sequence>
108
- </xs:group>
109
- <xs:complexType name="xhtml.td.type" mixed="true">
110
- <xs:group ref="xhtml.td.content"/>
111
- <xs:attributeGroup ref="xhtml.td.attlist"/>
112
- </xs:complexType>
113
- <xs:attributeGroup name="xhtml.th.attlist">
114
- <xs:attributeGroup ref="xhtml.Common.attrib"/>
115
- <xs:attribute name="abbr" type="xh11d:Text"/>
116
- <xs:attribute name="axis" type="xh11d:CDATA"/>
117
- <xs:attribute name="headers" type="xs:IDREFS"/>
118
- <xs:attributeGroup ref="xhtml.scope.attrib"/>
119
- <xs:attribute name="rowspan" type="xh11d:Number" default="1"/>
120
- <xs:attribute name="colspan" type="xh11d:Number" default="1"/>
121
- <xs:attributeGroup ref="xhtml.CellHAlign.attrib"/>
122
- <xs:attributeGroup ref="xhtml.CellVAlign.attrib"/>
123
- </xs:attributeGroup>
124
- <xs:group name="xhtml.th.content">
125
- <xs:sequence>
126
- <xs:group ref="xhtml.Flow.mix" minOccurs="0" maxOccurs="unbounded"/>
127
- </xs:sequence>
128
- </xs:group>
129
- <xs:complexType name="xhtml.th.type" mixed="true">
130
- <xs:group ref="xhtml.th.content"/>
131
- <xs:attributeGroup ref="xhtml.th.attlist"/>
132
- </xs:complexType>
133
- <xs:attributeGroup name="xhtml.tr.attlist">
134
- <xs:attributeGroup ref="xhtml.Common.attrib"/>
135
- <xs:attributeGroup ref="xhtml.CellHAlign.attrib"/>
136
- <xs:attributeGroup ref="xhtml.CellVAlign.attrib"/>
137
- </xs:attributeGroup>
138
- <xs:group name="xhtml.tr.content">
139
- <xs:sequence>
140
- <xs:choice maxOccurs="unbounded">
141
- <xs:element name="th" type="xhtml.th.type"/>
142
- <xs:element name="td" type="xhtml.td.type"/>
143
- </xs:choice>
144
- </xs:sequence>
145
- </xs:group>
146
- <xs:complexType name="xhtml.tr.type">
147
- <xs:group ref="xhtml.tr.content"/>
148
- <xs:attributeGroup ref="xhtml.tr.attlist"/>
149
- </xs:complexType>
150
- <xs:attributeGroup name="xhtml.col.attlist">
151
- <xs:attributeGroup ref="xhtml.Common.attrib"/>
152
- <xs:attribute name="span" type="xh11d:Number" default="1"/>
153
- <xs:attribute name="width" type="xh11d:MultiLength"/>
154
- <xs:attributeGroup ref="xhtml.CellHAlign.attrib"/>
155
- <xs:attributeGroup ref="xhtml.CellVAlign.attrib"/>
156
- </xs:attributeGroup>
157
- <xs:group name="xhtml.col.content">
158
- <xs:sequence/>
159
- </xs:group>
160
- <xs:complexType name="xhtml.col.type">
161
- <xs:group ref="xhtml.col.content"/>
162
- <xs:attributeGroup ref="xhtml.col.attlist"/>
163
- </xs:complexType>
164
- <xs:attributeGroup name="xhtml.colgroup.attlist">
165
- <xs:attributeGroup ref="xhtml.Common.attrib"/>
166
- <xs:attribute name="span" type="xh11d:Number" default="1"/>
167
- <xs:attribute name="width" type="xh11d:MultiLength"/>
168
- <xs:attributeGroup ref="xhtml.CellHAlign.attrib"/>
169
- <xs:attributeGroup ref="xhtml.CellVAlign.attrib"/>
170
- </xs:attributeGroup>
171
- <xs:group name="xhtml.colgroup.content">
172
- <xs:sequence>
173
- <xs:element name="col" type="xhtml.col.type" minOccurs="0" maxOccurs="unbounded"/>
174
- </xs:sequence>
175
- </xs:group>
176
- <xs:complexType name="xhtml.colgroup.type">
177
- <xs:group ref="xhtml.colgroup.content"/>
178
- <xs:attributeGroup ref="xhtml.colgroup.attlist"/>
179
- </xs:complexType>
180
- <xs:attributeGroup name="xhtml.tbody.attlist">
181
- <xs:attributeGroup ref="xhtml.Common.attrib"/>
182
- <xs:attributeGroup ref="xhtml.CellHAlign.attrib"/>
183
- <xs:attributeGroup ref="xhtml.CellVAlign.attrib"/>
184
- </xs:attributeGroup>
185
- <xs:group name="xhtml.tbody.content">
186
- <xs:sequence>
187
- <xs:element name="tr" type="xhtml.tr.type" maxOccurs="unbounded"/>
188
- </xs:sequence>
189
- </xs:group>
190
- <xs:complexType name="xhtml.tbody.type">
191
- <xs:group ref="xhtml.tbody.content"/>
192
- <xs:attributeGroup ref="xhtml.tbody.attlist"/>
193
- </xs:complexType>
194
- <xs:attributeGroup name="xhtml.tfoot.attlist">
195
- <xs:attributeGroup ref="xhtml.Common.attrib"/>
196
- <xs:attributeGroup ref="xhtml.CellHAlign.attrib"/>
197
- <xs:attributeGroup ref="xhtml.CellVAlign.attrib"/>
198
- </xs:attributeGroup>
199
- <xs:group name="xhtml.tfoot.content">
200
- <xs:sequence>
201
- <xs:element name="tr" type="xhtml.tr.type" maxOccurs="unbounded"/>
202
- </xs:sequence>
203
- </xs:group>
204
- <xs:complexType name="xhtml.tfoot.type">
205
- <xs:group ref="xhtml.tfoot.content"/>
206
- <xs:attributeGroup ref="xhtml.tfoot.attlist"/>
207
- </xs:complexType>
208
- <xs:attributeGroup name="xhtml.thead.attlist">
209
- <xs:attributeGroup ref="xhtml.Common.attrib"/>
210
- <xs:attributeGroup ref="xhtml.CellHAlign.attrib"/>
211
- <xs:attributeGroup ref="xhtml.CellVAlign.attrib"/>
212
- </xs:attributeGroup>
213
- <xs:group name="xhtml.thead.content">
214
- <xs:sequence>
215
- <xs:element name="tr" type="xhtml.tr.type" maxOccurs="unbounded"/>
216
- </xs:sequence>
217
- </xs:group>
218
- <xs:complexType name="xhtml.thead.type">
219
- <xs:group ref="xhtml.thead.content"/>
220
- <xs:attributeGroup ref="xhtml.thead.attlist"/>
221
- </xs:complexType>
222
- <xs:attributeGroup name="xhtml.caption.attlist">
223
- <xs:attributeGroup ref="xhtml.Common.attrib"/>
224
- </xs:attributeGroup>
225
- <xs:group name="xhtml.caption.content">
226
- <xs:sequence>
227
- <xs:group ref="xhtml.Inline.mix" minOccurs="0" maxOccurs="unbounded"/>
228
- </xs:sequence>
229
- </xs:group>
230
- <xs:complexType name="xhtml.caption.type" mixed="true">
231
- <xs:group ref="xhtml.caption.content"/>
232
- <xs:attributeGroup ref="xhtml.caption.attlist"/>
233
- </xs:complexType>
234
- <xs:attributeGroup name="xhtml.table.attlist">
235
- <xs:attributeGroup ref="xhtml.Common.attrib"/>
236
- <xs:attribute name="summary" type="xh11d:Text"/>
237
- <xs:attribute name="width" type="xh11d:Length"/>
238
- <xs:attribute name="border" type="xh11d:Pixels"/>
239
- <xs:attributeGroup ref="xhtml.frame.attrib"/>
240
- <xs:attributeGroup ref="xhtml.rules.attrib"/>
241
- <xs:attribute name="cellspacing" type="xh11d:Length"/>
242
- <xs:attribute name="cellpadding" type="xh11d:Length"/>
243
- </xs:attributeGroup>
244
- <xs:group name="xhtml.table.content">
245
- <xs:sequence>
246
- <xs:element name="caption" type="xhtml.caption.type" minOccurs="0"/>
247
- <xs:choice>
248
- <xs:element name="col" type="xhtml.col.type" minOccurs="0" maxOccurs="unbounded"/>
249
- <xs:element name="colgroup" type="xhtml.colgroup.type" minOccurs="0" maxOccurs="unbounded"/>
250
- </xs:choice>
251
- <xs:choice>
252
- <xs:sequence>
253
- <xs:element name="thead" type="xhtml.thead.type" minOccurs="0"/>
254
- <xs:element name="tfoot" type="xhtml.tfoot.type" minOccurs="0"/>
255
- <xs:element name="tbody" type="xhtml.tbody.type" maxOccurs="unbounded"/>
256
- </xs:sequence>
257
- <xs:choice>
258
- <xs:element name="tr" type="xhtml.tr.type" maxOccurs="unbounded"/>
259
- </xs:choice>
260
- </xs:choice>
261
- </xs:sequence>
262
- </xs:group>
263
- <xs:complexType name="xhtml.table.type">
264
- <xs:group ref="xhtml.table.content"/>
265
- <xs:attributeGroup ref="xhtml.table.attlist"/>
266
- </xs:complexType>
267
- </xs:schema>