validate-website 1.6.0 → 1.7.0
Sign up to get free protection for your applications and to get access to all the features.
- checksums.yaml +4 -4
- data/History.md +8 -0
- data/LICENSE +1 -1
- data/README.md +1 -1
- data/lib/validate_website/core.rb +1 -0
- data/lib/validate_website/static.rb +4 -63
- data/lib/validate_website/static_link.rb +65 -0
- data/lib/validate_website/validator.rb +43 -39
- data/lib/validate_website/version.rb +1 -1
- data/man/man1/validate-website-static.1 +3 -3
- data/man/man1/validate-website.1 +3 -3
- data/test/crawler_test.rb +9 -5
- data/test/data/validator.nu-failure.json +1 -0
- data/test/data/validator.nu-success.json +1 -0
- data/test/static_test.rb +1 -1
- data/test/validator_test.rb +14 -41
- metadata +14 -68
- data/data/schemas/xhtml-access-1.xsd +0 -43
- data/data/schemas/xhtml-applet-1.xsd +0 -66
- data/data/schemas/xhtml-attribs-1.xsd +0 -67
- data/data/schemas/xhtml-basic-form-1.xsd +0 -195
- data/data/schemas/xhtml-basic-table-1.xsd +0 -169
- data/data/schemas/xhtml-basic10-model-1.xsd +0 -385
- data/data/schemas/xhtml-basic10-module-redefines-1.xsd +0 -61
- data/data/schemas/xhtml-basic10-modules-1.xsd +0 -233
- data/data/schemas/xhtml-basic10.xsd +0 -99
- data/data/schemas/xhtml-basic11-model-1.xsd +0 -622
- data/data/schemas/xhtml-basic11-modules-1.xsd +0 -508
- data/data/schemas/xhtml-basic11.xsd +0 -105
- data/data/schemas/xhtml-bdo-1.xsd +0 -72
- data/data/schemas/xhtml-blkphras-1.xsd +0 -155
- data/data/schemas/xhtml-blkpres-1.xsd +0 -32
- data/data/schemas/xhtml-blkstruct-1.xsd +0 -44
- data/data/schemas/xhtml-csismap-1.xsd +0 -91
- data/data/schemas/xhtml-edit-1.xsd +0 -34
- data/data/schemas/xhtml-form-1.xsd +0 -321
- data/data/schemas/xhtml-frames-1.xsd +0 -113
- data/data/schemas/xhtml-framework-1.xsd +0 -62
- data/data/schemas/xhtml-hypertext-1.xsd +0 -47
- data/data/schemas/xhtml-iframe-1.xsd +0 -68
- data/data/schemas/xhtml-image-1.xsd +0 -40
- data/data/schemas/xhtml-inlphras-1.xsd +0 -158
- data/data/schemas/xhtml-inlpres-1.xsd +0 -34
- data/data/schemas/xhtml-inlstruct-1.xsd +0 -45
- data/data/schemas/xhtml-legacy-1.xsd +0 -97
- data/data/schemas/xhtml-link-1.xsd +0 -45
- data/data/schemas/xhtml-list-1.xsd +0 -94
- data/data/schemas/xhtml-meta-1.xsd +0 -54
- data/data/schemas/xhtml-misc-1.xsd +0 -441
- data/data/schemas/xhtml-object-1.xsd +0 -71
- data/data/schemas/xhtml-param-1.xsd +0 -46
- data/data/schemas/xhtml-pres-1.xsd +0 -46
- data/data/schemas/xhtml-print-1.xsd +0 -85
- data/data/schemas/xhtml-print-model-1.xsd +0 -604
- data/data/schemas/xhtml-print-modules-1.xsd +0 -422
- data/data/schemas/xhtml-rdfa-1.xsd +0 -116
- data/data/schemas/xhtml-rdfa-model-1.xsd +0 -461
- data/data/schemas/xhtml-rdfa-modules-1.xsd +0 -548
- data/data/schemas/xhtml-ruby-1.xsd +0 -170
- data/data/schemas/xhtml-script-1.xsd +0 -65
- data/data/schemas/xhtml-struct-1.xsd +0 -85
- data/data/schemas/xhtml-style-1.xsd +0 -47
- data/data/schemas/xhtml-table-1.xsd +0 -267
- data/data/schemas/xhtml-text-1.xsd +0 -62
- data/data/schemas/xhtml11-model-1.xsd +0 -715
- data/data/schemas/xhtml11-module-redefines-1.xsd +0 -335
- data/data/schemas/xhtml11-modules-1.xsd +0 -605
- data/data/schemas/xhtml11.xsd +0 -107
- data/data/schemas/xml-handlers-2.xsd +0 -98
- data/data/schemas/xml-script-1.xsd +0 -38
- data/test/data/html5-linuxfr.html +0 -1286
- data/test/data/validator.nu-excessive.html +0 -118
- data/test/data/validator.nu-failure.html +0 -10
- data/test/data/validator.nu-success.html +0 -2
@@ -1,105 +0,0 @@
|
|
1
|
-
<?xml version="1.0" encoding="UTF-8"?>
|
2
|
-
<xs:schema targetNamespace="http://www.w3.org/1999/xhtml"
|
3
|
-
xmlns:xs="http://www.w3.org/2001/XMLSchema"
|
4
|
-
xmlns:xh11d="http://www.w3.org/1999/xhtml/datatypes/"
|
5
|
-
xmlns="http://www.w3.org/1999/xhtml"
|
6
|
-
blockDefault="#all">
|
7
|
-
|
8
|
-
<xs:annotation>
|
9
|
-
<xs:documentation>
|
10
|
-
This is the XML Schema driver for XHTML Basic 1.1.
|
11
|
-
Please use this namespace for XHTML elements:
|
12
|
-
"http://www.w3.org/1999/xhtml"
|
13
|
-
|
14
|
-
$Id: xhtml-basic11.xsd,v 1.1 2008/05/29 19:43:14 smccarro Exp $
|
15
|
-
</xs:documentation>
|
16
|
-
</xs:annotation>
|
17
|
-
|
18
|
-
<xs:annotation>
|
19
|
-
<xs:documentation>
|
20
|
-
This is XHTML Basic
|
21
|
-
Copyright ©1998-2008 World Wide Web Consortium
|
22
|
-
(Massachusetts Institute of Technology, European Research Consortium
|
23
|
-
for Informatics and Mathematics, Keio University).
|
24
|
-
All Rights Reserved.
|
25
|
-
|
26
|
-
Permission to use, copy, modify and distribute the XHTML Schema
|
27
|
-
modules and their accompanying xs:documentation for any purpose
|
28
|
-
and without fee is hereby granted in perpetuity, provided that the above
|
29
|
-
copyright notice and this paragraph appear in all copies.
|
30
|
-
The copyright holders make no representation about the suitability of
|
31
|
-
these XML Schema modules for any purpose.
|
32
|
-
|
33
|
-
They are provided "as is" without expressed or implied warranty.
|
34
|
-
</xs:documentation>
|
35
|
-
</xs:annotation>
|
36
|
-
|
37
|
-
<xs:annotation>
|
38
|
-
<xs:documentation>
|
39
|
-
This is the Schema Driver file for XHTML Basic 1.1
|
40
|
-
Document Type
|
41
|
-
|
42
|
-
This schema includes
|
43
|
-
+ imports external schemas (xml.xsd)
|
44
|
-
+ refedines (and include)s schema modules for XHTML
|
45
|
-
Basic 1.1 Document Type.
|
46
|
-
+ includes Schema for Named content model for the
|
47
|
-
XHTML Basic 1.1 Document Type
|
48
|
-
|
49
|
-
XHTML Basic 1.1 Document Type includes the following Modules
|
50
|
-
|
51
|
-
XHTML Core modules (Required for XHTML Family Conformance)
|
52
|
-
+ text
|
53
|
-
+ hypertext
|
54
|
-
+ lists
|
55
|
-
+ structure (redefined)
|
56
|
-
|
57
|
-
Other XHTML modules
|
58
|
-
+ Link
|
59
|
-
+ Metainformation
|
60
|
-
+ Intrinsic Events
|
61
|
-
+ Scripting
|
62
|
-
+ Stylesheet
|
63
|
-
+ Style Attribute
|
64
|
-
+ Target
|
65
|
-
+ Inputmode
|
66
|
-
+ Base
|
67
|
-
+ Image
|
68
|
-
+ Object
|
69
|
-
+ Presentation
|
70
|
-
+ Param
|
71
|
-
+ Forms
|
72
|
-
+ Basic tables
|
73
|
-
</xs:documentation>
|
74
|
-
</xs:annotation>
|
75
|
-
|
76
|
-
<xs:import namespace="http://www.w3.org/XML/1998/namespace"
|
77
|
-
schemaLocation="http://www.w3.org/2001/xml.xsd">
|
78
|
-
<xs:annotation>
|
79
|
-
<xs:documentation>
|
80
|
-
This import brings in the XML namespace attributes
|
81
|
-
The XML attributes are used by various modules
|
82
|
-
</xs:documentation>
|
83
|
-
</xs:annotation>
|
84
|
-
</xs:import>
|
85
|
-
|
86
|
-
<xs:include schemaLocation="xhtml-basic11-model-1.xsd">
|
87
|
-
<xs:annotation>
|
88
|
-
<xs:documentation>
|
89
|
-
Document Model module for the XHTML Basic 1.1 Document Type
|
90
|
-
This schema file defines all named models used by XHTML
|
91
|
-
Modularization Framework for XHTML Basic 1.1 Document Type
|
92
|
-
</xs:documentation>
|
93
|
-
</xs:annotation>
|
94
|
-
</xs:include>
|
95
|
-
|
96
|
-
<xs:include schemaLocation="xhtml-basic11-modules-1.xsd">
|
97
|
-
<xs:annotation>
|
98
|
-
<xs:documentation>
|
99
|
-
Schema that includes the modules (and redefinitions)
|
100
|
-
for XHTML Basic 1.1 Document Type.
|
101
|
-
</xs:documentation>
|
102
|
-
</xs:annotation>
|
103
|
-
</xs:include>
|
104
|
-
|
105
|
-
</xs:schema>
|
@@ -1,72 +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
|
-
Bidirectional Override (bdo) Element
|
7
|
-
This is the XML Schema BDO Element module for XHTML
|
8
|
-
|
9
|
-
This modules declares the element 'bdo' and 'dir' attributes,
|
10
|
-
Used to override the Unicode bidirectional algorithm for selected
|
11
|
-
fragments of text.
|
12
|
-
Bidirectional text support includes both the bdo element and
|
13
|
-
the 'dir' attribute.
|
14
|
-
|
15
|
-
$Id: xhtml-bdo-1.xsd,v 1.5 2005/09/26 23:37:47 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_bdomodule"/>
|
19
|
-
</xs:annotation>
|
20
|
-
<xs:import namespace="http://www.w3.org/XML/1998/namespace" schemaLocation="http://www.w3.org/2001/xml.xsd">
|
21
|
-
<xs:annotation>
|
22
|
-
<xs:documentation>
|
23
|
-
This import brings in the XML namespace attributes
|
24
|
-
The module itself does not provide the schemaLocation
|
25
|
-
and expects the driver schema to provide the
|
26
|
-
actual SchemaLocation.
|
27
|
-
</xs:documentation>
|
28
|
-
</xs:annotation>
|
29
|
-
</xs:import>
|
30
|
-
<xs:attributeGroup name="xhtml.bdo.attlist">
|
31
|
-
<xs:attributeGroup ref="xhtml.Core.attrib"/>
|
32
|
-
<xs:attribute name="dir" use="required">
|
33
|
-
<xs:simpleType>
|
34
|
-
<xs:restriction base="xs:NMTOKEN">
|
35
|
-
<xs:enumeration value="ltr"/>
|
36
|
-
<xs:enumeration value="rtl"/>
|
37
|
-
</xs:restriction>
|
38
|
-
</xs:simpleType>
|
39
|
-
</xs:attribute>
|
40
|
-
</xs:attributeGroup>
|
41
|
-
<xs:group name="xhtml.bdo.content">
|
42
|
-
<xs:sequence>
|
43
|
-
<xs:group ref="xhtml.Inline.mix" minOccurs="0" maxOccurs="unbounded"/>
|
44
|
-
</xs:sequence>
|
45
|
-
</xs:group>
|
46
|
-
<xs:complexType name="xhtml.bdo.type" mixed="true">
|
47
|
-
<xs:group ref="xhtml.bdo.content"/>
|
48
|
-
<xs:attributeGroup ref="xhtml.bdo.attlist"/>
|
49
|
-
</xs:complexType>
|
50
|
-
<xs:attributeGroup name="xhtml.dir.attrib">
|
51
|
-
<xs:attribute name="dir">
|
52
|
-
<xs:simpleType>
|
53
|
-
<xs:restriction base="xs:NMTOKEN">
|
54
|
-
<xs:enumeration value="ltr"/>
|
55
|
-
<xs:enumeration value="rtl"/>
|
56
|
-
</xs:restriction>
|
57
|
-
</xs:simpleType>
|
58
|
-
</xs:attribute>
|
59
|
-
</xs:attributeGroup>
|
60
|
-
<!-- Global dir attribute -->
|
61
|
-
<xs:attribute name="dir">
|
62
|
-
<xs:simpleType>
|
63
|
-
<xs:restriction base="xs:NMTOKEN">
|
64
|
-
<xs:enumeration value="ltr"/>
|
65
|
-
<xs:enumeration value="rtl"/>
|
66
|
-
</xs:restriction>
|
67
|
-
</xs:simpleType>
|
68
|
-
</xs:attribute>
|
69
|
-
<xs:attributeGroup name="xhtml.Global.bdo.attrib">
|
70
|
-
<xs:attribute ref="dir"/>
|
71
|
-
</xs:attributeGroup>
|
72
|
-
</xs:schema>
|
@@ -1,155 +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: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>
|
@@ -1,32 +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 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>
|
@@ -1,44 +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
|
-
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>
|
@@ -1,91 +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
|
-
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>
|