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,97 +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 Module for HTML Legacy Markup
12
-
13
- font, basefont, center, s, strike, u,
14
- dir, menu, isindex
15
- (plus additional datatypes and legacy attributes)
16
-
17
- This optional module declares additional markup for simple
18
- presentation-related markup based on features found in the
19
- HTML 4 Transitional and Frameset DTDs.
20
-
21
- The legacy module also include frames module, iframe module
22
- and target module. (Note: This module expects find the schema files
23
- of that declare these module)
24
-
25
- Elements/Attributes defined in frame, iframe and targer modules are
26
-
27
- * frameset, frame, noframes, att:target, iframe
28
-
29
- $Id: xhtml-legacy-1.xsd,v 1.2 2005/09/26 22:54:53 ahby Exp $
30
- </xs:documentation>
31
- <xs:documentation source="xhtml-copyright-1.xsd"/>
32
- <xs:documentation
33
- source="http://www.w3.org/TR/2001/REC-xhtml-modularization-20010410/abstract_modules.html#s_legacymodule"/>
34
- <xs:documentation
35
- source="http://www.w3.org/TR/2001/REC-xhtml-modularization-20010410/abstract_modules.html#s_framesmodule"/>
36
- <xs:documentation
37
- source="http://www.w3.org/TR/2001/REC-xhtml-modularization-20010410/abstract_modules.html#s_targetmodule"/>
38
- <xs:documentation
39
- source="http://www.w3.org/TR/2001/REC-xhtml-modularization-20010410/abstract_modules.html#s_iframemodule"/>
40
- </xs:annotation>
41
-
42
- <xs:include schemaLocation="xhtml-misc-1.xsd">
43
- <xs:annotation>
44
- <xs:documentation>
45
- Miscellaneous module
46
- Attributes defined here:
47
-
48
- * font, basefont, center, s, strike, u, dir, menu, isindex
49
- (plus additional datatypes and attributes)
50
-
51
- </xs:documentation>
52
- </xs:annotation>
53
- </xs:include>
54
-
55
- <xs:include schemaLocation="xhtml-frames-1.xsd">
56
- <xs:annotation>
57
- <xs:documentation>
58
- Frames module
59
-
60
- Elements defined here:
61
-
62
- * frameset, frame, noframes
63
- </xs:documentation>
64
- <xs:documentation
65
- source="http://www.w3.org/TR/2001/REC-xhtml-modularization-20010410/abstract_modules.html#s_framesmodule"/>
66
- </xs:annotation>
67
- </xs:include>
68
-
69
- <xs:include schemaLocation="xhtml-target-1.xsd">
70
- <xs:annotation>
71
- <xs:documentation>
72
- Target module
73
-
74
- Attributes defined here:
75
-
76
- * target
77
- </xs:documentation>
78
- <xs:documentation
79
- source="http://www.w3.org/TR/2001/REC-xhtml-modularization-20010410/abstract_modules.html#s_targetmodule"/>
80
- </xs:annotation>
81
- </xs:include>
82
-
83
- <xs:include schemaLocation="xhtml-iframe-1.xsd">
84
- <xs:annotation>
85
- <xs:documentation>
86
- Iframe module
87
-
88
- Elements defined here:
89
-
90
- * iframe
91
- </xs:documentation>
92
- <xs:documentation
93
- source="http://www.w3.org/TR/2001/REC-xhtml-modularization-20010410/abstract_modules.html#s_iframemodule"/>
94
- </xs:annotation>
95
- </xs:include>
96
-
97
- </xs:schema>
@@ -1,45 +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 Link Element module for XHTML
12
- $Id: xhtml-link-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
- <xs:annotation>
17
- <xs:documentation>
18
- Link element
19
-
20
- * link
21
-
22
- This module declares the link element type and its attributes,
23
- which could (in principle) be used to define document-level links
24
- to external resources.
25
- </xs:documentation>
26
- <xs:documentation source="http://www.w3.org/TR/2001/REC-xhtml-modularization-20010410/abstract_modules.html#s_linkmodule"/>
27
- </xs:annotation>
28
- <xs:attributeGroup name="xhtml.link.attlist">
29
- <xs:attributeGroup ref="xhtml.Common.attrib"/>
30
- <xs:attribute name="charset" type="xh11d:Charset"/>
31
- <xs:attribute name="href" type="xh11d:URI"/>
32
- <xs:attribute name="hreflang" type="xh11d:LanguageCode"/>
33
- <xs:attribute name="type" type="xh11d:ContentType"/>
34
- <xs:attribute name="rel" type="xh11d:LinkTypes"/>
35
- <xs:attribute name="rev" type="xh11d:LinkTypes"/>
36
- <xs:attribute name="media" type="xh11d:MediaDesc"/>
37
- </xs:attributeGroup>
38
- <xs:group name="xhtml.link.content">
39
- <xs:sequence/>
40
- </xs:group>
41
- <xs:complexType name="xhtml.link.type">
42
- <xs:group ref="xhtml.link.content"/>
43
- <xs:attributeGroup ref="xhtml.link.attlist"/>
44
- </xs:complexType>
45
- </xs:schema>
@@ -1,94 +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
- List Module
7
- This is the XML Schema Lists module for XHTML
8
- List Module Elements
9
-
10
- * dl, dt, dd, ol, ul, li
11
-
12
- This module declares the list-oriented element types
13
- and their attributes.
14
- $Id: xhtml-list-1.xsd,v 1.2 2005/09/26 22:54:53 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_listmodule"/>
18
- </xs:annotation>
19
- <xs:attributeGroup name="xhtml.dt.attlist">
20
- <xs:attributeGroup ref="xhtml.Common.attrib"/>
21
- </xs:attributeGroup>
22
- <xs:group name="xhtml.dt.content">
23
- <xs:sequence>
24
- <xs:group ref="xhtml.Inline.mix" minOccurs="0" maxOccurs="unbounded"/>
25
- </xs:sequence>
26
- </xs:group>
27
- <xs:complexType name="xhtml.dt.type" mixed="true">
28
- <xs:group ref="xhtml.dt.content"/>
29
- <xs:attributeGroup ref="xhtml.dt.attlist"/>
30
- </xs:complexType>
31
- <xs:attributeGroup name="xhtml.dd.attlist">
32
- <xs:attributeGroup ref="xhtml.Common.attrib"/>
33
- </xs:attributeGroup>
34
- <xs:group name="xhtml.dd.content">
35
- <xs:sequence>
36
- <xs:group ref="xhtml.Flow.mix" minOccurs="0" maxOccurs="unbounded"/>
37
- </xs:sequence>
38
- </xs:group>
39
- <xs:complexType name="xhtml.dd.type" mixed="true">
40
- <xs:group ref="xhtml.dd.content"/>
41
- <xs:attributeGroup ref="xhtml.dd.attlist"/>
42
- </xs:complexType>
43
- <xs:attributeGroup name="xhtml.dl.attlist">
44
- <xs:attributeGroup ref="xhtml.Common.attrib"/>
45
- </xs:attributeGroup>
46
- <xs:group name="xhtml.dl.content">
47
- <xs:sequence>
48
- <xs:choice maxOccurs="unbounded">
49
- <xs:element name="dt" type="xhtml.dt.type"/>
50
- <xs:element name="dd" type="xhtml.dd.type"/>
51
- </xs:choice>
52
- </xs:sequence>
53
- </xs:group>
54
- <xs:complexType name="xhtml.dl.type">
55
- <xs:group ref="xhtml.dl.content"/>
56
- <xs:attributeGroup ref="xhtml.dl.attlist"/>
57
- </xs:complexType>
58
- <xs:attributeGroup name="xhtml.li.attlist">
59
- <xs:attributeGroup ref="xhtml.Common.attrib"/>
60
- </xs:attributeGroup>
61
- <xs:group name="xhtml.li.content">
62
- <xs:sequence>
63
- <xs:group ref="xhtml.Flow.mix" minOccurs="0" maxOccurs="unbounded"/>
64
- </xs:sequence>
65
- </xs:group>
66
- <xs:complexType name="xhtml.li.type" mixed="true">
67
- <xs:group ref="xhtml.li.content"/>
68
- <xs:attributeGroup ref="xhtml.li.attlist"/>
69
- </xs:complexType>
70
- <xs:attributeGroup name="xhtml.ol.attlist">
71
- <xs:attributeGroup ref="xhtml.Common.attrib"/>
72
- </xs:attributeGroup>
73
- <xs:group name="xhtml.ol.content">
74
- <xs:sequence>
75
- <xs:element name="li" type="xhtml.li.type" maxOccurs="unbounded"/>
76
- </xs:sequence>
77
- </xs:group>
78
- <xs:complexType name="xhtml.ol.type">
79
- <xs:group ref="xhtml.ol.content"/>
80
- <xs:attributeGroup ref="xhtml.ol.attlist"/>
81
- </xs:complexType>
82
- <xs:attributeGroup name="xhtml.ul.attlist">
83
- <xs:attributeGroup ref="xhtml.Common.attrib"/>
84
- </xs:attributeGroup>
85
- <xs:group name="xhtml.ul.content">
86
- <xs:sequence>
87
- <xs:element name="li" type="xhtml.li.type" maxOccurs="unbounded"/>
88
- </xs:sequence>
89
- </xs:group>
90
- <xs:complexType name="xhtml.ul.type">
91
- <xs:group ref="xhtml.ul.content"/>
92
- <xs:attributeGroup ref="xhtml.ul.attlist"/>
93
- </xs:complexType>
94
- </xs:schema>
@@ -1,54 +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
-
10
- <xs:annotation>
11
- <xs:documentation>
12
- This is the XML Schema Metainformation module for XHTML
13
- $Id: xhtml-meta-1.xsd,v 1.3 2008/07/05 04:11:00 ahby Exp $
14
- </xs:documentation>
15
- <xs:documentation source="xhtml-copyright-1.xsd"/>
16
- </xs:annotation>
17
- <xs:annotation>
18
- <xs:documentation>
19
- Meta Information
20
-
21
- * meta
22
-
23
- This module declares the meta element type and its attributes,
24
- used to provide declarative document metainformation.
25
- </xs:documentation>
26
- <xs:documentation source="http://www.w3.org/TR/2001/REC-xhtml-modularization-20010410/abstract_modules.html#s_metamodule"/>
27
- </xs:annotation>
28
- <xs:import namespace="http://www.w3.org/XML/1998/namespace"
29
- schemaLocation="http://www.w3.org/2001/xml.xsd">
30
- <xs:annotation>
31
- <xs:documentation>
32
- This import brings in the XML namespace attributes
33
- The module itself does not provide the schemaLocation
34
- and expects the driver schema to provide the
35
- actual SchemaLocation.
36
- </xs:documentation>
37
- </xs:annotation>
38
- </xs:import>
39
- <xs:attributeGroup name="xhtml.meta.attlist">
40
- <xs:attributeGroup ref="xhtml.I18n.attrib"/>
41
- <xs:attribute ref="xml:space"/>
42
- <xs:attribute name="http-equiv" type="xs:NMTOKEN"/>
43
- <xs:attribute name="name" type="xs:NMTOKEN"/>
44
- <xs:attribute name="content" type="xh11d:CDATA" use="required"/>
45
- <xs:attribute name="scheme" type="xh11d:CDATA"/>
46
- </xs:attributeGroup>
47
- <xs:group name="xhtml.meta.content">
48
- <xs:sequence/>
49
- </xs:group>
50
- <xs:complexType name="xhtml.meta.type">
51
- <xs:group ref="xhtml.meta.content"/>
52
- <xs:attributeGroup ref="xhtml.meta.attlist"/>
53
- </xs:complexType>
54
- </xs:schema>
@@ -1,441 +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 Miscellaneous Legacy
12
- Markup module for XHTML
13
- $Id: xhtml-misc-1.xsd,v 1.2 2005/09/26 22:54:53 ahby Exp $
14
- </xs:documentation>
15
- <xs:documentation source="xhtml-copyright-1.xsd"/>
16
- </xs:annotation>
17
-
18
- <xs:annotation>
19
- <xs:documentation>
20
- XHTML Miscellaneous Legacy Markup
21
- font, basefont, center, s, strike, u,
22
- dir, menu, isindex
23
-
24
- This is to allow XHTML documents to be transformed for
25
- display on HTML browsers where CSS support is inconsistent
26
- or unavailable.
27
-
28
- The module also declares legacy attributes for elements
29
- in other module. Note: This module only declares the
30
- attribute list, and it is up to the document type to
31
- redefine the model of affected modules.
32
- </xs:documentation>
33
- <xs:documentation
34
- source="http://www.w3.org/TR/2001/REC-xhtml-modularization-20010410/abstract_modules.html#s_legacymodule"/>
35
- </xs:annotation>
36
-
37
- <xs:attributeGroup name="xhtml.font.attlist">
38
- <xs:attributeGroup ref="xhtml.Core.attrib"/>
39
- <xs:attributeGroup ref="xhtml.I18n.attrib"/>
40
- <xs:attribute name="size" type="xh11d:CDATA"/>
41
- <xs:attribute name="color" type="xh11d:Color"/>
42
- <xs:attribute name="face" type="xh11d:CDATA"/>
43
- </xs:attributeGroup>
44
-
45
- <xs:group name="xhtml.font.content">
46
- <xs:sequence>
47
- <xs:group ref="xhtml.Inline.mix" minOccurs="0" maxOccurs="unbounded"/>
48
- </xs:sequence>
49
- </xs:group>
50
-
51
- <xs:complexType name="xhtml.font.type" mixed="true">
52
- <xs:group ref="xhtml.font.content"/>
53
- <xs:attributeGroup ref="xhtml.font.attlist"/>
54
- </xs:complexType>
55
-
56
- <xs:attributeGroup name="xhtml.basefont.attlist">
57
- <xs:attributeGroup ref="xhtml.id"/>
58
- <xs:attribute name="size" type="xh11d:CDATA" use="required"/>
59
- <xs:attribute name="color" type="xh11d:Color"/>
60
- <xs:attribute name="face" type="xh11d:CDATA"/>
61
- </xs:attributeGroup>
62
-
63
- <xs:group name="xhtml.basefont.content">
64
- <xs:sequence/>
65
- </xs:group>
66
-
67
- <xs:complexType name="xhtml.basefont.type">
68
- <xs:group ref="xhtml.basefont.content"/>
69
- <xs:attributeGroup ref="xhtml.basefont.attlist"/>
70
- </xs:complexType>
71
-
72
- <xs:attributeGroup name="xhtml.center.attlist">
73
- <xs:attributeGroup ref="xhtml.Common.attrib"/>
74
- </xs:attributeGroup>
75
-
76
- <xs:group name="xhtml.center.content">
77
- <xs:sequence>
78
- <xs:group ref="xhtml.Flow.mix" minOccurs="0" maxOccurs="unbounded"/>
79
- </xs:sequence>
80
- </xs:group>
81
-
82
- <xs:complexType name="xhtml.center.type" mixed="true">
83
- <xs:group ref="xhtml.center.content"/>
84
- <xs:attributeGroup ref="xhtml.center.attlist"/>
85
- </xs:complexType>
86
-
87
- <xs:attributeGroup name="xhtml.s.attlist">
88
- <xs:attributeGroup ref="xhtml.Common.attrib"/>
89
- </xs:attributeGroup>
90
-
91
- <xs:group name="xhtml.s.content">
92
- <xs:sequence>
93
- <xs:group ref="xhtml.Inline.mix" minOccurs="0" maxOccurs="unbounded"/>
94
- </xs:sequence>
95
- </xs:group>
96
-
97
- <xs:complexType name="xhtml.s.type" mixed="true">
98
- <xs:group ref="xhtml.s.content"/>
99
- <xs:attributeGroup ref="xhtml.s.attlist"/>
100
- </xs:complexType>
101
-
102
- <xs:attributeGroup name="xhtml.strike.attlist">
103
- <xs:attributeGroup ref="xhtml.Common.attrib"/>
104
- </xs:attributeGroup>
105
-
106
- <xs:group name="xhtml.strike.content">
107
- <xs:sequence>
108
- <xs:group ref="xhtml.Inline.mix" minOccurs="0" maxOccurs="unbounded"/>
109
- </xs:sequence>
110
- </xs:group>
111
-
112
- <xs:complexType name="xhtml.strike.type" mixed="true">
113
- <xs:group ref="xhtml.strike.content"/>
114
- <xs:attributeGroup ref="xhtml.strike.attlist"/>
115
- </xs:complexType>
116
-
117
- <xs:attributeGroup name="xhtml.u.attlist">
118
- <xs:attributeGroup ref="xhtml.Common.attrib"/>
119
- </xs:attributeGroup>
120
-
121
- <xs:group name="xhtml.u.content">
122
- <xs:sequence>
123
- <xs:group ref="xhtml.Inline.mix" minOccurs="0" maxOccurs="unbounded"/>
124
- </xs:sequence>
125
- </xs:group>
126
-
127
- <xs:complexType name="xhtml.u.type" mixed="true">
128
- <xs:group ref="xhtml.u.content"/>
129
- <xs:attributeGroup ref="xhtml.u.attlist"/>
130
- </xs:complexType>
131
-
132
- <xs:attributeGroup name="xhtml.dir.attlist">
133
- <xs:attributeGroup ref="xhtml.Common.attrib"/>
134
- <xs:attribute name="compact">
135
- <xs:simpleType>
136
- <xs:restriction base="xs:NMTOKEN">
137
- <xs:enumeration value="compact"/>
138
- </xs:restriction>
139
- </xs:simpleType>
140
- </xs:attribute>
141
- </xs:attributeGroup>
142
-
143
- <xs:group name="xhtml.dir.content">
144
- <xs:sequence>
145
- <xs:element ref="li" maxOccurs="unbounded"/>
146
- </xs:sequence>
147
- </xs:group>
148
-
149
- <xs:complexType name="xhtml.dir.type" mixed="true">
150
- <xs:group ref="xhtml.dir.content"/>
151
- <xs:attributeGroup ref="xhtml.dir.attlist"/>
152
- </xs:complexType>
153
-
154
- <xs:attributeGroup name="xhtml.menu.attlist">
155
- <xs:attributeGroup ref="xhtml.Common.attrib"/>
156
- <xs:attribute name="compact">
157
- <xs:simpleType>
158
- <xs:restriction base="xs:NMTOKEN">
159
- <xs:enumeration value="compact"/>
160
- </xs:restriction>
161
- </xs:simpleType>
162
- </xs:attribute>
163
- </xs:attributeGroup>
164
-
165
- <xs:group name="xhtml.menu.content">
166
- <xs:sequence>
167
- <xs:element ref="li" maxOccurs="unbounded"/>
168
- </xs:sequence>
169
- </xs:group>
170
-
171
- <xs:complexType name="xhtml.menu.type" mixed="true">
172
- <xs:group ref="xhtml.menu.content"/>
173
- <xs:attributeGroup ref="xhtml.menu.attlist"/>
174
- </xs:complexType>
175
-
176
- <xs:attributeGroup name="xhtml.isindex.attlist">
177
- <xs:attributeGroup ref="xhtml.Core.attrib"/>
178
- <xs:attributeGroup ref="xhtml.I18n.attrib"/>
179
- <xs:attribute name="prompt" type="xh11d:Text"/>
180
- </xs:attributeGroup>
181
-
182
- <xs:group name="xhtml.isindex.content">
183
- <xs:sequence/>
184
- </xs:group>
185
-
186
- <xs:complexType name="xhtml.isindex.type">
187
- <xs:group ref="xhtml.isindex.content"/>
188
- <xs:attributeGroup ref="xhtml.isindex.attlist"/>
189
- </xs:complexType>
190
-
191
- <xs:annotation>
192
- <xs:documentation>
193
- Attribute redefinitions
194
- </xs:documentation>
195
- </xs:annotation>
196
-
197
- <xs:attributeGroup name="xhtml.align.legacy.attlist">
198
- <xs:attribute name="align">
199
- <xs:simpleType>
200
- <xs:restriction base="xs:NMTOKEN">
201
- <xs:enumeration value="left"/>
202
- <xs:enumeration value="center"/>
203
- <xs:enumeration value="right"/>
204
- <xs:enumeration value="justify"/>
205
- </xs:restriction>
206
- </xs:simpleType>
207
- </xs:attribute>
208
- </xs:attributeGroup>
209
-
210
- <!-- add 'target' attribute to 'a' element -->
211
- <xs:attributeGroup name="xhtml.a.legacy.attlist">
212
- <xs:attribute name="target" type="xh11d:FrameTarget"/>
213
- </xs:attributeGroup>
214
-
215
- <xs:attributeGroup name="xhtml.applet.legacy.attlist">
216
- <xs:attribute name="align">
217
- <xs:simpleType>
218
- <xs:restriction base="xs:NMTOKEN">
219
- <xs:enumeration value="top"/>
220
- <xs:enumeration value="middle"/>
221
- <xs:enumeration value="bottom"/>
222
- <xs:enumeration value="left"/>
223
- <xs:enumeration value="right"/>
224
- </xs:restriction>
225
- </xs:simpleType>
226
- </xs:attribute>
227
- <xs:attribute name="hspace" type="xh11d:Pixels"/>
228
- <xs:attribute name="vspace" type="xh11d:Pixels"/>
229
- </xs:attributeGroup>
230
-
231
- <xs:attributeGroup name="xhtml.body.legacy.attlist">
232
- <xs:attribute name="background" type="xh11d:URI"/>
233
- <xs:attribute name="bgcolor" type="xh11d:Color"/>
234
- <xs:attribute name="text" type="xh11d:Color"/>
235
- <xs:attribute name="link" type="xh11d:Color"/>
236
- <xs:attribute name="vlinke" type="xh11d:Color"/>
237
- <xs:attribute name="alink" type="xh11d:Color"/>
238
- </xs:attributeGroup>
239
-
240
- <xs:attributeGroup name="xhtml.br.legacy.attlist">
241
- <xs:attribute name="clear" default="none">
242
- <xs:simpleType>
243
- <xs:restriction base="xs:NMTOKEN">
244
- <xs:enumeration value="left"/>
245
- <xs:enumeration value="all"/>
246
- <xs:enumeration value="right"/>
247
- <xs:enumeration value="none"/>
248
- </xs:restriction>
249
- </xs:simpleType>
250
- </xs:attribute>
251
- </xs:attributeGroup>
252
-
253
- <xs:attributeGroup name="xhtml.caption.legacy.attlist">
254
- <xs:attributeGroup ref="xhtml.align.legacy.attlist"/>
255
- </xs:attributeGroup>
256
-
257
- <xs:attributeGroup name="xhtml.hr.legacy.attlist">
258
- <xs:attribute name="align">
259
- <xs:simpleType>
260
- <xs:restriction base="xs:NMTOKEN">
261
- <xs:enumeration value="left"/>
262
- <xs:enumeration value="center"/>
263
- <xs:enumeration value="right"/>
264
- </xs:restriction>
265
- </xs:simpleType>
266
- </xs:attribute>
267
- <xs:attribute name="noshade">
268
- <xs:simpleType>
269
- <xs:restriction base="xs:NMTOKEN">
270
- <xs:enumeration value="noshade"/>
271
- </xs:restriction>
272
- </xs:simpleType>
273
- </xs:attribute>
274
- <xs:attribute name="size" type="xh11d:Pixels"/>
275
- <xs:attribute name="width" type="xh11d:Length"/>
276
- </xs:attributeGroup>
277
-
278
- <xs:attributeGroup name="xhtml.img.legacy.attlist">
279
- <xs:attribute name="align">
280
- <xs:simpleType>
281
- <xs:restriction base="xs:NMTOKEN">
282
- <xs:enumeration value="top"/>
283
- <xs:enumeration value="middle"/>
284
- <xs:enumeration value="bottom"/>
285
- <xs:enumeration value="left"/>
286
- <xs:enumeration value="right"/>
287
- </xs:restriction>
288
- </xs:simpleType>
289
- </xs:attribute>
290
- <xs:attribute name="border" type="xh11d:Pixels"/>
291
- <xs:attribute name="hspace" type="xh11d:Pixels"/>
292
- <xs:attribute name="vspace" type="xh11d:Pixels"/>
293
- </xs:attributeGroup>
294
-
295
- <xs:attributeGroup name="xhtml.input.legacy.attlist">
296
- <xs:attribute name="align">
297
- <xs:simpleType>
298
- <xs:restriction base="xs:NMTOKEN">
299
- <xs:enumeration value="top"/>
300
- <xs:enumeration value="middle"/>
301
- <xs:enumeration value="bottom"/>
302
- <xs:enumeration value="left"/>
303
- <xs:enumeration value="right"/>
304
- </xs:restriction>
305
- </xs:simpleType>
306
- </xs:attribute>
307
- </xs:attributeGroup>
308
-
309
- <xs:attributeGroup name="xhtml.legend.legacy.attlist">
310
- <xs:attribute name="align">
311
- <xs:simpleType>
312
- <xs:restriction base="xs:NMTOKEN">
313
- <xs:enumeration value="top"/>
314
- <xs:enumeration value="bottom"/>
315
- <xs:enumeration value="left"/>
316
- <xs:enumeration value="right"/>
317
- </xs:restriction>
318
- </xs:simpleType>
319
- </xs:attribute>
320
- </xs:attributeGroup>
321
-
322
- <xs:attributeGroup name="xhtml.li.legacy.attlist">
323
- <xs:attribute name="type" type="xh11d:CDATA"/>
324
- <xs:attribute name="value" type="xh11d:Number"/>
325
- </xs:attributeGroup>
326
-
327
- <xs:attributeGroup name="xhtml.object.legacy.attlist">
328
- <xs:attribute name="align">
329
- <xs:simpleType>
330
- <xs:restriction base="xs:NMTOKEN">
331
- <xs:enumeration value="top"/>
332
- <xs:enumeration value="middle"/>
333
- <xs:enumeration value="bottom"/>
334
- <xs:enumeration value="left"/>
335
- <xs:enumeration value="right"/>
336
- </xs:restriction>
337
- </xs:simpleType>
338
- </xs:attribute>
339
- <xs:attribute name="border" type="xh11d:Pixels"/>
340
- <xs:attribute name="hspace" type="xh11d:Pixels"/>
341
- <xs:attribute name="vspace" type="xh11d:Pixels"/>
342
- </xs:attributeGroup>
343
-
344
- <xs:attributeGroup name="xhtml.ol.legacy.attlist">
345
- <xs:attribute name="type" type="xh11d:Text"/>
346
- <xs:attribute name="compact">
347
- <xs:simpleType>
348
- <xs:restriction base="xs:NMTOKEN">
349
- <xs:enumeration value="compact"/>
350
- </xs:restriction>
351
- </xs:simpleType>
352
- </xs:attribute>
353
- <xs:attribute name="start" type="xh11d:Number"/>
354
- </xs:attributeGroup>
355
-
356
- <xs:attributeGroup name="xhtml.dl.legacy.attlist">
357
- <xs:attribute name="compact">
358
- <xs:simpleType>
359
- <xs:restriction base="xs:NMTOKEN">
360
- <xs:enumeration value="compact"/>
361
- </xs:restriction>
362
- </xs:simpleType>
363
- </xs:attribute>
364
- </xs:attributeGroup>
365
-
366
-
367
- <xs:attributeGroup name="xhtml.div.legacy.attlist">
368
- <xs:attributeGroup ref="xhtml.align.legacy.attlist"/>
369
- </xs:attributeGroup>
370
-
371
- <xs:attributeGroup name="xhtml.heading.legacy.attlist">
372
- <xs:attributeGroup ref="xhtml.align.legacy.attlist"/>
373
- </xs:attributeGroup>
374
-
375
- <xs:attributeGroup name="xhtml.p.legacy.attlist">
376
- <xs:attributeGroup ref="xhtml.align.legacy.attlist"/>
377
- </xs:attributeGroup>
378
-
379
- <xs:attributeGroup name="xhtml.pre.legacy.attlist">
380
- <xs:attribute name="width" type="xh11d:Length"/>
381
- </xs:attributeGroup>
382
-
383
- <xs:attributeGroup name="xhtml.script.legacy.attlist">
384
- <xs:attribute name="language" type="xh11d:ContentType"/>
385
- </xs:attributeGroup>
386
-
387
- <xs:attributeGroup name="xhtml.table.legacy.attlist">
388
- <xs:attribute name="align">
389
- <xs:simpleType>
390
- <xs:restriction base="xs:NMTOKEN">
391
- <xs:enumeration value="left"/>
392
- <xs:enumeration value="center"/>
393
- <xs:enumeration value="right"/>
394
- </xs:restriction>
395
- </xs:simpleType>
396
- </xs:attribute>
397
- <xs:attribute name="bgcolor" type="xh11d:Color"/>
398
- </xs:attributeGroup>
399
-
400
- <xs:attributeGroup name="xhtml.tr.legacy.attlist">
401
- <xs:attribute name="bgcolor" type="xh11d:Color"/>
402
- </xs:attributeGroup>
403
-
404
- <xs:attributeGroup name="xhtml.th.legacy.attlist">
405
- <xs:attribute name="nowrap">
406
- <xs:simpleType>
407
- <xs:restriction base="xs:NMTOKEN">
408
- <xs:enumeration value="nowrap"/>
409
- </xs:restriction>
410
- </xs:simpleType>
411
- </xs:attribute>
412
- <xs:attribute name="bgcolor" type="xh11d:Color"/>
413
- <xs:attribute name="width" type="xh11d:Length"/>
414
- <xs:attribute name="height" type="xh11d:Length"/>
415
- </xs:attributeGroup>
416
-
417
- <xs:attributeGroup name="xhtml.td.legacy.attlist">
418
- <xs:attribute name="nowrap">
419
- <xs:simpleType>
420
- <xs:restriction base="xs:NMTOKEN">
421
- <xs:enumeration value="nowrap"/>
422
- </xs:restriction>
423
- </xs:simpleType>
424
- </xs:attribute>
425
- <xs:attribute name="bgcolor" type="xh11d:Color"/>
426
- <xs:attribute name="width" type="xh11d:Length"/>
427
- <xs:attribute name="height" type="xh11d:Length"/>
428
- </xs:attributeGroup>
429
-
430
- <xs:attributeGroup name="xhtml.ul.legacy.attlist">
431
- <xs:attribute name="type" type="xh11d:CDATA"/>
432
- <xs:attribute name="compact">
433
- <xs:simpleType>
434
- <xs:restriction base="xs:NMTOKEN">
435
- <xs:enumeration value="compact"/>
436
- </xs:restriction>
437
- </xs:simpleType>
438
- </xs:attribute>
439
- </xs:attributeGroup>
440
-
441
- </xs:schema>