markup_validity 1.0.0 → 1.1.0
Sign up to get free protection for your applications and to get access to all the features.
- data/CHANGELOG.rdoc +10 -0
- data/Manifest.txt +88 -0
- data/Rakefile +7 -11
- data/lib/markup_validity.rb +1 -1
- data/lib/markup_validity/MarkUp.html +1095 -0
- data/lib/markup_validity/SCHEMA.html +90 -0
- data/lib/markup_validity/assertions.rb +8 -1
- data/lib/markup_validity/examples.html +25 -0
- data/lib/markup_validity/rspec.rb +19 -0
- data/lib/markup_validity/templates.html +15 -0
- data/lib/markup_validity/validator.rb +27 -1
- data/lib/markup_validity/xframes-1.xsd +166 -0
- data/lib/markup_validity/xhtml-access-1.xsd +43 -0
- data/lib/markup_validity/xhtml-applet-1.xsd +66 -0
- data/lib/markup_validity/xhtml-attribs-1.xsd +67 -0
- data/lib/markup_validity/xhtml-base-1.xsd +31 -0
- data/lib/markup_validity/xhtml-basic-form-1.xsd +195 -0
- data/lib/markup_validity/xhtml-basic-table-1.xsd +169 -0
- data/lib/markup_validity/xhtml-basic10-model-1.xsd +385 -0
- data/lib/markup_validity/xhtml-basic10-module-redefines-1.xsd +61 -0
- data/lib/markup_validity/xhtml-basic10-modules-1.xsd +233 -0
- data/lib/markup_validity/xhtml-basic10.xsd +99 -0
- data/lib/markup_validity/xhtml-basic11-model-1.xsd +622 -0
- data/lib/markup_validity/xhtml-basic11-modules-1.xsd +508 -0
- data/lib/markup_validity/xhtml-basic11.xsd +105 -0
- data/lib/markup_validity/xhtml-bdo-1.xsd +72 -0
- data/lib/markup_validity/xhtml-blkphras-1.xsd +155 -0
- data/lib/markup_validity/xhtml-blkpres-1.xsd +32 -0
- data/lib/markup_validity/xhtml-blkstruct-1.xsd +44 -0
- data/lib/markup_validity/xhtml-charent-1.xsd +38 -0
- data/lib/markup_validity/xhtml-copyright-1.xsd +29 -0
- data/lib/markup_validity/xhtml-csismap-1.xsd +91 -0
- data/lib/markup_validity/xhtml-datatypes-1.xsd +177 -0
- data/lib/markup_validity/xhtml-edit-1.xsd +34 -0
- data/lib/markup_validity/xhtml-events-1.xsd +130 -0
- data/lib/markup_validity/xhtml-form-1.xsd +321 -0
- data/lib/markup_validity/xhtml-frames-1.xsd +113 -0
- data/lib/markup_validity/xhtml-framework-1.xsd +62 -0
- data/lib/markup_validity/xhtml-hypertext-1.xsd +47 -0
- data/lib/markup_validity/xhtml-iframe-1.xsd +68 -0
- data/lib/markup_validity/xhtml-image-1.xsd +40 -0
- data/lib/markup_validity/xhtml-inlphras-1.xsd +158 -0
- data/lib/markup_validity/xhtml-inlpres-1.xsd +34 -0
- data/lib/markup_validity/xhtml-inlstruct-1.xsd +45 -0
- data/lib/markup_validity/xhtml-inlstyle-1.xsd +22 -0
- data/lib/markup_validity/xhtml-inputmode-1.xsd +35 -0
- data/lib/markup_validity/xhtml-lat1.ent +196 -0
- data/lib/markup_validity/xhtml-legacy-1.xsd +97 -0
- data/lib/markup_validity/xhtml-link-1.xsd +45 -0
- data/lib/markup_validity/xhtml-list-1.xsd +94 -0
- data/lib/markup_validity/xhtml-meta-1.xsd +54 -0
- data/lib/markup_validity/xhtml-metaAttributes-1.xsd +39 -0
- data/lib/markup_validity/xhtml-misc-1.xsd +441 -0
- data/lib/markup_validity/xhtml-nameident-1.xsd +63 -0
- data/lib/markup_validity/xhtml-notations-1.xsd +69 -0
- data/lib/markup_validity/xhtml-object-1.xsd +71 -0
- data/lib/markup_validity/xhtml-param-1.xsd +46 -0
- data/lib/markup_validity/xhtml-pres-1.xsd +46 -0
- data/lib/markup_validity/xhtml-print-1.xsd +85 -0
- data/lib/markup_validity/xhtml-print-model-1.xsd +604 -0
- data/lib/markup_validity/xhtml-print-modules-1.xsd +422 -0
- data/lib/markup_validity/xhtml-rdfa-1.dtd +438 -0
- data/lib/markup_validity/xhtml-rdfa-1.xsd +116 -0
- data/lib/markup_validity/xhtml-rdfa-model-1.xsd +461 -0
- data/lib/markup_validity/xhtml-rdfa-modules-1.xsd +548 -0
- data/lib/markup_validity/xhtml-ruby-1.xsd +170 -0
- data/lib/markup_validity/xhtml-ruby-basic-1.xsd +84 -0
- data/lib/markup_validity/xhtml-script-1.xsd +65 -0
- data/lib/markup_validity/xhtml-special.ent +80 -0
- data/lib/markup_validity/xhtml-ssismap-1.xsd +38 -0
- data/lib/markup_validity/xhtml-struct-1.xsd +85 -0
- data/lib/markup_validity/xhtml-style-1.xsd +47 -0
- data/lib/markup_validity/xhtml-symbol.ent +237 -0
- data/lib/markup_validity/xhtml-table-1.xsd +267 -0
- data/lib/markup_validity/xhtml-target-1.xsd +49 -0
- data/lib/markup_validity/xhtml-text-1.xsd +62 -0
- data/lib/markup_validity/xhtml1-strict.dtd +978 -0
- data/lib/markup_validity/xhtml1-transitional.dtd +1201 -0
- data/lib/markup_validity/xhtml11-model-1.xsd +715 -0
- data/lib/markup_validity/xhtml11-module-redefines-1.xsd +335 -0
- data/lib/markup_validity/xhtml11-modules-1.xsd +605 -0
- data/lib/markup_validity/xhtml11.xsd +107 -0
- data/lib/markup_validity/xhtml2.xsd +21 -0
- data/lib/markup_validity/xml-events-1.xsd +73 -0
- data/lib/markup_validity/xml-events-2.xsd +73 -0
- data/lib/markup_validity/xml-events-attribs-1.xsd +73 -0
- data/lib/markup_validity/xml-events-attribs-2.xsd +75 -0
- data/lib/markup_validity/xml-events-copyright-1.xsd +34 -0
- data/lib/markup_validity/xml-events-copyright-2.xsd +34 -0
- data/lib/markup_validity/xml-handlers-1.xsd +136 -0
- data/lib/markup_validity/xml-handlers-2.xsd +98 -0
- data/lib/markup_validity/xml-script-1.xsd +38 -0
- data/spec/matcher_spec.rb +8 -0
- data/test/assets/invalid_entity.xhtml +109 -0
- data/test/assets/invalid_entity_transitional.xhtml +109 -0
- data/test/helper.rb +48 -0
- data/test/test_markup_validity.rb +19 -0
- metadata +90 -3
@@ -0,0 +1,196 @@
|
|
1
|
+
<!-- Portions (C) International Organization for Standardization 1986
|
2
|
+
Permission to copy in any form is granted for use with
|
3
|
+
conforming SGML systems and applications as defined in
|
4
|
+
ISO 8879, provided this notice is included in all copies.
|
5
|
+
-->
|
6
|
+
<!-- Character entity set. Typical invocation:
|
7
|
+
<!ENTITY % HTMLlat1 PUBLIC
|
8
|
+
"-//W3C//ENTITIES Latin 1 for XHTML//EN"
|
9
|
+
"http://www.w3.org/TR/xhtml1/DTD/xhtml-lat1.ent">
|
10
|
+
%HTMLlat1;
|
11
|
+
-->
|
12
|
+
|
13
|
+
<!ENTITY nbsp " "> <!-- no-break space = non-breaking space,
|
14
|
+
U+00A0 ISOnum -->
|
15
|
+
<!ENTITY iexcl "¡"> <!-- inverted exclamation mark, U+00A1 ISOnum -->
|
16
|
+
<!ENTITY cent "¢"> <!-- cent sign, U+00A2 ISOnum -->
|
17
|
+
<!ENTITY pound "£"> <!-- pound sign, U+00A3 ISOnum -->
|
18
|
+
<!ENTITY curren "¤"> <!-- currency sign, U+00A4 ISOnum -->
|
19
|
+
<!ENTITY yen "¥"> <!-- yen sign = yuan sign, U+00A5 ISOnum -->
|
20
|
+
<!ENTITY brvbar "¦"> <!-- broken bar = broken vertical bar,
|
21
|
+
U+00A6 ISOnum -->
|
22
|
+
<!ENTITY sect "§"> <!-- section sign, U+00A7 ISOnum -->
|
23
|
+
<!ENTITY uml "¨"> <!-- diaeresis = spacing diaeresis,
|
24
|
+
U+00A8 ISOdia -->
|
25
|
+
<!ENTITY copy "©"> <!-- copyright sign, U+00A9 ISOnum -->
|
26
|
+
<!ENTITY ordf "ª"> <!-- feminine ordinal indicator, U+00AA ISOnum -->
|
27
|
+
<!ENTITY laquo "«"> <!-- left-pointing double angle quotation mark
|
28
|
+
= left pointing guillemet, U+00AB ISOnum -->
|
29
|
+
<!ENTITY not "¬"> <!-- not sign = angled dash,
|
30
|
+
U+00AC ISOnum -->
|
31
|
+
<!ENTITY shy "­"> <!-- soft hyphen = discretionary hyphen,
|
32
|
+
U+00AD ISOnum -->
|
33
|
+
<!ENTITY reg "®"> <!-- registered sign = registered trade mark sign,
|
34
|
+
U+00AE ISOnum -->
|
35
|
+
<!ENTITY macr "¯"> <!-- macron = spacing macron = overline
|
36
|
+
= APL overbar, U+00AF ISOdia -->
|
37
|
+
<!ENTITY deg "°"> <!-- degree sign, U+00B0 ISOnum -->
|
38
|
+
<!ENTITY plusmn "±"> <!-- plus-minus sign = plus-or-minus sign,
|
39
|
+
U+00B1 ISOnum -->
|
40
|
+
<!ENTITY sup2 "²"> <!-- superscript two = superscript digit two
|
41
|
+
= squared, U+00B2 ISOnum -->
|
42
|
+
<!ENTITY sup3 "³"> <!-- superscript three = superscript digit three
|
43
|
+
= cubed, U+00B3 ISOnum -->
|
44
|
+
<!ENTITY acute "´"> <!-- acute accent = spacing acute,
|
45
|
+
U+00B4 ISOdia -->
|
46
|
+
<!ENTITY micro "µ"> <!-- micro sign, U+00B5 ISOnum -->
|
47
|
+
<!ENTITY para "¶"> <!-- pilcrow sign = paragraph sign,
|
48
|
+
U+00B6 ISOnum -->
|
49
|
+
<!ENTITY middot "·"> <!-- middle dot = Georgian comma
|
50
|
+
= Greek middle dot, U+00B7 ISOnum -->
|
51
|
+
<!ENTITY cedil "¸"> <!-- cedilla = spacing cedilla, U+00B8 ISOdia -->
|
52
|
+
<!ENTITY sup1 "¹"> <!-- superscript one = superscript digit one,
|
53
|
+
U+00B9 ISOnum -->
|
54
|
+
<!ENTITY ordm "º"> <!-- masculine ordinal indicator,
|
55
|
+
U+00BA ISOnum -->
|
56
|
+
<!ENTITY raquo "»"> <!-- right-pointing double angle quotation mark
|
57
|
+
= right pointing guillemet, U+00BB ISOnum -->
|
58
|
+
<!ENTITY frac14 "¼"> <!-- vulgar fraction one quarter
|
59
|
+
= fraction one quarter, U+00BC ISOnum -->
|
60
|
+
<!ENTITY frac12 "½"> <!-- vulgar fraction one half
|
61
|
+
= fraction one half, U+00BD ISOnum -->
|
62
|
+
<!ENTITY frac34 "¾"> <!-- vulgar fraction three quarters
|
63
|
+
= fraction three quarters, U+00BE ISOnum -->
|
64
|
+
<!ENTITY iquest "¿"> <!-- inverted question mark
|
65
|
+
= turned question mark, U+00BF ISOnum -->
|
66
|
+
<!ENTITY Agrave "À"> <!-- latin capital letter A with grave
|
67
|
+
= latin capital letter A grave,
|
68
|
+
U+00C0 ISOlat1 -->
|
69
|
+
<!ENTITY Aacute "Á"> <!-- latin capital letter A with acute,
|
70
|
+
U+00C1 ISOlat1 -->
|
71
|
+
<!ENTITY Acirc "Â"> <!-- latin capital letter A with circumflex,
|
72
|
+
U+00C2 ISOlat1 -->
|
73
|
+
<!ENTITY Atilde "Ã"> <!-- latin capital letter A with tilde,
|
74
|
+
U+00C3 ISOlat1 -->
|
75
|
+
<!ENTITY Auml "Ä"> <!-- latin capital letter A with diaeresis,
|
76
|
+
U+00C4 ISOlat1 -->
|
77
|
+
<!ENTITY Aring "Å"> <!-- latin capital letter A with ring above
|
78
|
+
= latin capital letter A ring,
|
79
|
+
U+00C5 ISOlat1 -->
|
80
|
+
<!ENTITY AElig "Æ"> <!-- latin capital letter AE
|
81
|
+
= latin capital ligature AE,
|
82
|
+
U+00C6 ISOlat1 -->
|
83
|
+
<!ENTITY Ccedil "Ç"> <!-- latin capital letter C with cedilla,
|
84
|
+
U+00C7 ISOlat1 -->
|
85
|
+
<!ENTITY Egrave "È"> <!-- latin capital letter E with grave,
|
86
|
+
U+00C8 ISOlat1 -->
|
87
|
+
<!ENTITY Eacute "É"> <!-- latin capital letter E with acute,
|
88
|
+
U+00C9 ISOlat1 -->
|
89
|
+
<!ENTITY Ecirc "Ê"> <!-- latin capital letter E with circumflex,
|
90
|
+
U+00CA ISOlat1 -->
|
91
|
+
<!ENTITY Euml "Ë"> <!-- latin capital letter E with diaeresis,
|
92
|
+
U+00CB ISOlat1 -->
|
93
|
+
<!ENTITY Igrave "Ì"> <!-- latin capital letter I with grave,
|
94
|
+
U+00CC ISOlat1 -->
|
95
|
+
<!ENTITY Iacute "Í"> <!-- latin capital letter I with acute,
|
96
|
+
U+00CD ISOlat1 -->
|
97
|
+
<!ENTITY Icirc "Î"> <!-- latin capital letter I with circumflex,
|
98
|
+
U+00CE ISOlat1 -->
|
99
|
+
<!ENTITY Iuml "Ï"> <!-- latin capital letter I with diaeresis,
|
100
|
+
U+00CF ISOlat1 -->
|
101
|
+
<!ENTITY ETH "Ð"> <!-- latin capital letter ETH, U+00D0 ISOlat1 -->
|
102
|
+
<!ENTITY Ntilde "Ñ"> <!-- latin capital letter N with tilde,
|
103
|
+
U+00D1 ISOlat1 -->
|
104
|
+
<!ENTITY Ograve "Ò"> <!-- latin capital letter O with grave,
|
105
|
+
U+00D2 ISOlat1 -->
|
106
|
+
<!ENTITY Oacute "Ó"> <!-- latin capital letter O with acute,
|
107
|
+
U+00D3 ISOlat1 -->
|
108
|
+
<!ENTITY Ocirc "Ô"> <!-- latin capital letter O with circumflex,
|
109
|
+
U+00D4 ISOlat1 -->
|
110
|
+
<!ENTITY Otilde "Õ"> <!-- latin capital letter O with tilde,
|
111
|
+
U+00D5 ISOlat1 -->
|
112
|
+
<!ENTITY Ouml "Ö"> <!-- latin capital letter O with diaeresis,
|
113
|
+
U+00D6 ISOlat1 -->
|
114
|
+
<!ENTITY times "×"> <!-- multiplication sign, U+00D7 ISOnum -->
|
115
|
+
<!ENTITY Oslash "Ø"> <!-- latin capital letter O with stroke
|
116
|
+
= latin capital letter O slash,
|
117
|
+
U+00D8 ISOlat1 -->
|
118
|
+
<!ENTITY Ugrave "Ù"> <!-- latin capital letter U with grave,
|
119
|
+
U+00D9 ISOlat1 -->
|
120
|
+
<!ENTITY Uacute "Ú"> <!-- latin capital letter U with acute,
|
121
|
+
U+00DA ISOlat1 -->
|
122
|
+
<!ENTITY Ucirc "Û"> <!-- latin capital letter U with circumflex,
|
123
|
+
U+00DB ISOlat1 -->
|
124
|
+
<!ENTITY Uuml "Ü"> <!-- latin capital letter U with diaeresis,
|
125
|
+
U+00DC ISOlat1 -->
|
126
|
+
<!ENTITY Yacute "Ý"> <!-- latin capital letter Y with acute,
|
127
|
+
U+00DD ISOlat1 -->
|
128
|
+
<!ENTITY THORN "Þ"> <!-- latin capital letter THORN,
|
129
|
+
U+00DE ISOlat1 -->
|
130
|
+
<!ENTITY szlig "ß"> <!-- latin small letter sharp s = ess-zed,
|
131
|
+
U+00DF ISOlat1 -->
|
132
|
+
<!ENTITY agrave "à"> <!-- latin small letter a with grave
|
133
|
+
= latin small letter a grave,
|
134
|
+
U+00E0 ISOlat1 -->
|
135
|
+
<!ENTITY aacute "á"> <!-- latin small letter a with acute,
|
136
|
+
U+00E1 ISOlat1 -->
|
137
|
+
<!ENTITY acirc "â"> <!-- latin small letter a with circumflex,
|
138
|
+
U+00E2 ISOlat1 -->
|
139
|
+
<!ENTITY atilde "ã"> <!-- latin small letter a with tilde,
|
140
|
+
U+00E3 ISOlat1 -->
|
141
|
+
<!ENTITY auml "ä"> <!-- latin small letter a with diaeresis,
|
142
|
+
U+00E4 ISOlat1 -->
|
143
|
+
<!ENTITY aring "å"> <!-- latin small letter a with ring above
|
144
|
+
= latin small letter a ring,
|
145
|
+
U+00E5 ISOlat1 -->
|
146
|
+
<!ENTITY aelig "æ"> <!-- latin small letter ae
|
147
|
+
= latin small ligature ae, U+00E6 ISOlat1 -->
|
148
|
+
<!ENTITY ccedil "ç"> <!-- latin small letter c with cedilla,
|
149
|
+
U+00E7 ISOlat1 -->
|
150
|
+
<!ENTITY egrave "è"> <!-- latin small letter e with grave,
|
151
|
+
U+00E8 ISOlat1 -->
|
152
|
+
<!ENTITY eacute "é"> <!-- latin small letter e with acute,
|
153
|
+
U+00E9 ISOlat1 -->
|
154
|
+
<!ENTITY ecirc "ê"> <!-- latin small letter e with circumflex,
|
155
|
+
U+00EA ISOlat1 -->
|
156
|
+
<!ENTITY euml "ë"> <!-- latin small letter e with diaeresis,
|
157
|
+
U+00EB ISOlat1 -->
|
158
|
+
<!ENTITY igrave "ì"> <!-- latin small letter i with grave,
|
159
|
+
U+00EC ISOlat1 -->
|
160
|
+
<!ENTITY iacute "í"> <!-- latin small letter i with acute,
|
161
|
+
U+00ED ISOlat1 -->
|
162
|
+
<!ENTITY icirc "î"> <!-- latin small letter i with circumflex,
|
163
|
+
U+00EE ISOlat1 -->
|
164
|
+
<!ENTITY iuml "ï"> <!-- latin small letter i with diaeresis,
|
165
|
+
U+00EF ISOlat1 -->
|
166
|
+
<!ENTITY eth "ð"> <!-- latin small letter eth, U+00F0 ISOlat1 -->
|
167
|
+
<!ENTITY ntilde "ñ"> <!-- latin small letter n with tilde,
|
168
|
+
U+00F1 ISOlat1 -->
|
169
|
+
<!ENTITY ograve "ò"> <!-- latin small letter o with grave,
|
170
|
+
U+00F2 ISOlat1 -->
|
171
|
+
<!ENTITY oacute "ó"> <!-- latin small letter o with acute,
|
172
|
+
U+00F3 ISOlat1 -->
|
173
|
+
<!ENTITY ocirc "ô"> <!-- latin small letter o with circumflex,
|
174
|
+
U+00F4 ISOlat1 -->
|
175
|
+
<!ENTITY otilde "õ"> <!-- latin small letter o with tilde,
|
176
|
+
U+00F5 ISOlat1 -->
|
177
|
+
<!ENTITY ouml "ö"> <!-- latin small letter o with diaeresis,
|
178
|
+
U+00F6 ISOlat1 -->
|
179
|
+
<!ENTITY divide "÷"> <!-- division sign, U+00F7 ISOnum -->
|
180
|
+
<!ENTITY oslash "ø"> <!-- latin small letter o with stroke,
|
181
|
+
= latin small letter o slash,
|
182
|
+
U+00F8 ISOlat1 -->
|
183
|
+
<!ENTITY ugrave "ù"> <!-- latin small letter u with grave,
|
184
|
+
U+00F9 ISOlat1 -->
|
185
|
+
<!ENTITY uacute "ú"> <!-- latin small letter u with acute,
|
186
|
+
U+00FA ISOlat1 -->
|
187
|
+
<!ENTITY ucirc "û"> <!-- latin small letter u with circumflex,
|
188
|
+
U+00FB ISOlat1 -->
|
189
|
+
<!ENTITY uuml "ü"> <!-- latin small letter u with diaeresis,
|
190
|
+
U+00FC ISOlat1 -->
|
191
|
+
<!ENTITY yacute "ý"> <!-- latin small letter y with acute,
|
192
|
+
U+00FD ISOlat1 -->
|
193
|
+
<!ENTITY thorn "þ"> <!-- latin small letter thorn,
|
194
|
+
U+00FE ISOlat1 -->
|
195
|
+
<!ENTITY yuml "ÿ"> <!-- latin small letter y with diaeresis,
|
196
|
+
U+00FF ISOlat1 -->
|
@@ -0,0 +1,97 @@
|
|
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>
|
@@ -0,0 +1,45 @@
|
|
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>
|
@@ -0,0 +1,94 @@
|
|
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>
|
@@ -0,0 +1,54 @@
|
|
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>
|