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.
Files changed (98) hide show
  1. data/CHANGELOG.rdoc +10 -0
  2. data/Manifest.txt +88 -0
  3. data/Rakefile +7 -11
  4. data/lib/markup_validity.rb +1 -1
  5. data/lib/markup_validity/MarkUp.html +1095 -0
  6. data/lib/markup_validity/SCHEMA.html +90 -0
  7. data/lib/markup_validity/assertions.rb +8 -1
  8. data/lib/markup_validity/examples.html +25 -0
  9. data/lib/markup_validity/rspec.rb +19 -0
  10. data/lib/markup_validity/templates.html +15 -0
  11. data/lib/markup_validity/validator.rb +27 -1
  12. data/lib/markup_validity/xframes-1.xsd +166 -0
  13. data/lib/markup_validity/xhtml-access-1.xsd +43 -0
  14. data/lib/markup_validity/xhtml-applet-1.xsd +66 -0
  15. data/lib/markup_validity/xhtml-attribs-1.xsd +67 -0
  16. data/lib/markup_validity/xhtml-base-1.xsd +31 -0
  17. data/lib/markup_validity/xhtml-basic-form-1.xsd +195 -0
  18. data/lib/markup_validity/xhtml-basic-table-1.xsd +169 -0
  19. data/lib/markup_validity/xhtml-basic10-model-1.xsd +385 -0
  20. data/lib/markup_validity/xhtml-basic10-module-redefines-1.xsd +61 -0
  21. data/lib/markup_validity/xhtml-basic10-modules-1.xsd +233 -0
  22. data/lib/markup_validity/xhtml-basic10.xsd +99 -0
  23. data/lib/markup_validity/xhtml-basic11-model-1.xsd +622 -0
  24. data/lib/markup_validity/xhtml-basic11-modules-1.xsd +508 -0
  25. data/lib/markup_validity/xhtml-basic11.xsd +105 -0
  26. data/lib/markup_validity/xhtml-bdo-1.xsd +72 -0
  27. data/lib/markup_validity/xhtml-blkphras-1.xsd +155 -0
  28. data/lib/markup_validity/xhtml-blkpres-1.xsd +32 -0
  29. data/lib/markup_validity/xhtml-blkstruct-1.xsd +44 -0
  30. data/lib/markup_validity/xhtml-charent-1.xsd +38 -0
  31. data/lib/markup_validity/xhtml-copyright-1.xsd +29 -0
  32. data/lib/markup_validity/xhtml-csismap-1.xsd +91 -0
  33. data/lib/markup_validity/xhtml-datatypes-1.xsd +177 -0
  34. data/lib/markup_validity/xhtml-edit-1.xsd +34 -0
  35. data/lib/markup_validity/xhtml-events-1.xsd +130 -0
  36. data/lib/markup_validity/xhtml-form-1.xsd +321 -0
  37. data/lib/markup_validity/xhtml-frames-1.xsd +113 -0
  38. data/lib/markup_validity/xhtml-framework-1.xsd +62 -0
  39. data/lib/markup_validity/xhtml-hypertext-1.xsd +47 -0
  40. data/lib/markup_validity/xhtml-iframe-1.xsd +68 -0
  41. data/lib/markup_validity/xhtml-image-1.xsd +40 -0
  42. data/lib/markup_validity/xhtml-inlphras-1.xsd +158 -0
  43. data/lib/markup_validity/xhtml-inlpres-1.xsd +34 -0
  44. data/lib/markup_validity/xhtml-inlstruct-1.xsd +45 -0
  45. data/lib/markup_validity/xhtml-inlstyle-1.xsd +22 -0
  46. data/lib/markup_validity/xhtml-inputmode-1.xsd +35 -0
  47. data/lib/markup_validity/xhtml-lat1.ent +196 -0
  48. data/lib/markup_validity/xhtml-legacy-1.xsd +97 -0
  49. data/lib/markup_validity/xhtml-link-1.xsd +45 -0
  50. data/lib/markup_validity/xhtml-list-1.xsd +94 -0
  51. data/lib/markup_validity/xhtml-meta-1.xsd +54 -0
  52. data/lib/markup_validity/xhtml-metaAttributes-1.xsd +39 -0
  53. data/lib/markup_validity/xhtml-misc-1.xsd +441 -0
  54. data/lib/markup_validity/xhtml-nameident-1.xsd +63 -0
  55. data/lib/markup_validity/xhtml-notations-1.xsd +69 -0
  56. data/lib/markup_validity/xhtml-object-1.xsd +71 -0
  57. data/lib/markup_validity/xhtml-param-1.xsd +46 -0
  58. data/lib/markup_validity/xhtml-pres-1.xsd +46 -0
  59. data/lib/markup_validity/xhtml-print-1.xsd +85 -0
  60. data/lib/markup_validity/xhtml-print-model-1.xsd +604 -0
  61. data/lib/markup_validity/xhtml-print-modules-1.xsd +422 -0
  62. data/lib/markup_validity/xhtml-rdfa-1.dtd +438 -0
  63. data/lib/markup_validity/xhtml-rdfa-1.xsd +116 -0
  64. data/lib/markup_validity/xhtml-rdfa-model-1.xsd +461 -0
  65. data/lib/markup_validity/xhtml-rdfa-modules-1.xsd +548 -0
  66. data/lib/markup_validity/xhtml-ruby-1.xsd +170 -0
  67. data/lib/markup_validity/xhtml-ruby-basic-1.xsd +84 -0
  68. data/lib/markup_validity/xhtml-script-1.xsd +65 -0
  69. data/lib/markup_validity/xhtml-special.ent +80 -0
  70. data/lib/markup_validity/xhtml-ssismap-1.xsd +38 -0
  71. data/lib/markup_validity/xhtml-struct-1.xsd +85 -0
  72. data/lib/markup_validity/xhtml-style-1.xsd +47 -0
  73. data/lib/markup_validity/xhtml-symbol.ent +237 -0
  74. data/lib/markup_validity/xhtml-table-1.xsd +267 -0
  75. data/lib/markup_validity/xhtml-target-1.xsd +49 -0
  76. data/lib/markup_validity/xhtml-text-1.xsd +62 -0
  77. data/lib/markup_validity/xhtml1-strict.dtd +978 -0
  78. data/lib/markup_validity/xhtml1-transitional.dtd +1201 -0
  79. data/lib/markup_validity/xhtml11-model-1.xsd +715 -0
  80. data/lib/markup_validity/xhtml11-module-redefines-1.xsd +335 -0
  81. data/lib/markup_validity/xhtml11-modules-1.xsd +605 -0
  82. data/lib/markup_validity/xhtml11.xsd +107 -0
  83. data/lib/markup_validity/xhtml2.xsd +21 -0
  84. data/lib/markup_validity/xml-events-1.xsd +73 -0
  85. data/lib/markup_validity/xml-events-2.xsd +73 -0
  86. data/lib/markup_validity/xml-events-attribs-1.xsd +73 -0
  87. data/lib/markup_validity/xml-events-attribs-2.xsd +75 -0
  88. data/lib/markup_validity/xml-events-copyright-1.xsd +34 -0
  89. data/lib/markup_validity/xml-events-copyright-2.xsd +34 -0
  90. data/lib/markup_validity/xml-handlers-1.xsd +136 -0
  91. data/lib/markup_validity/xml-handlers-2.xsd +98 -0
  92. data/lib/markup_validity/xml-script-1.xsd +38 -0
  93. data/spec/matcher_spec.rb +8 -0
  94. data/test/assets/invalid_entity.xhtml +109 -0
  95. data/test/assets/invalid_entity_transitional.xhtml +109 -0
  96. data/test/helper.rb +48 -0
  97. data/test/test_markup_validity.rb +19 -0
  98. metadata +90 -3
@@ -0,0 +1,47 @@
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
+ Hypertext Module
13
+ This is the XML Schema Hypertext module for XHTML
14
+
15
+ * a
16
+
17
+ This module declares the anchor ('a') element type, which
18
+ defines the source of a hypertext link. The destination
19
+ (or link 'target') is identified via its 'id' attribute
20
+ rather than the 'name' attribute as was used in HTML.
21
+
22
+ $Id: xhtml-hypertext-1.xsd,v 1.4 2005/09/26 23:37:47 ahby Exp $
23
+ </xs:documentation>
24
+ <xs:documentation source="xhtml-copyright-1.xsd"/>
25
+ <xs:documentation source="http://www.w3.org/TR/2001/REC-xhtml-modularization-20010410/abstract_modules.html#s_hypertextmodule"/>
26
+ </xs:annotation>
27
+ <xs:attributeGroup name="xhtml.a.attlist">
28
+ <xs:attributeGroup ref="xhtml.Common.attrib"/>
29
+ <xs:attribute name="href" type="xh11d:URI"/>
30
+ <xs:attribute name="charset" type="xh11d:Charset"/>
31
+ <xs:attribute name="type" type="xh11d:ContentType"/>
32
+ <xs:attribute name="hreflang" type="xh11d:LanguageCode"/>
33
+ <xs:attribute name="rel" type="xh11d:LinkTypes"/>
34
+ <xs:attribute name="rev" type="xh11d:LinkTypes"/>
35
+ <xs:attribute name="accesskey" type="xh11d:Character"/>
36
+ <xs:attribute name="tabindex" type="xh11d:Number"/>
37
+ </xs:attributeGroup>
38
+ <xs:group name="xhtml.a.content">
39
+ <xs:sequence>
40
+ <xs:group ref="xhtml.InlNoAnchor.mix" minOccurs="0" maxOccurs="unbounded"/>
41
+ </xs:sequence>
42
+ </xs:group>
43
+ <xs:complexType name="xhtml.a.type" mixed="true">
44
+ <xs:group ref="xhtml.a.content"/>
45
+ <xs:attributeGroup ref="xhtml.a.attlist"/>
46
+ </xs:complexType>
47
+ </xs:schema>
@@ -0,0 +1,68 @@
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 Inline Frame Element module for XHTML
12
+ $Id: xhtml-iframe-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
+
17
+ <xs:annotation>
18
+ <xs:documentation>
19
+ Inline Frames
20
+
21
+ * iframe
22
+
23
+ This module declares the iframe element type and its attributes,
24
+ used to create an inline frame within a document.
25
+ </xs:documentation>
26
+ <xs:documentation
27
+ source="http://www.w3.org/TR/2001/REC-xhtml-modularization-20010410/abstract_modules.html#s_iframemodule"/>
28
+ </xs:annotation>
29
+
30
+ <xs:attributeGroup name="xhtml.iframe.attlist">
31
+ <xs:attributeGroup ref="xhtml.Core.attrib"/>
32
+ <xs:attribute name="longdesc" type="xh11d:URI"/>
33
+ <xs:attribute name="src" type="xh11d:URI"/>
34
+ <xs:attribute name="frameborder" default="1">
35
+ <xs:simpleType>
36
+ <xs:restriction base="xs:nonNegativeInteger">
37
+ <xs:enumeration value="1"/>
38
+ <xs:enumeration value="0"/>
39
+ </xs:restriction>
40
+ </xs:simpleType>
41
+ </xs:attribute>
42
+ <xs:attribute name="marginwidth" type="xh11d:Pixels"/>
43
+ <xs:attribute name="marginheight" type="xh11d:Pixels"/>
44
+ <xs:attribute name="scrolling" default="auto">
45
+ <xs:simpleType>
46
+ <xs:restriction base="xs:NMTOKEN">
47
+ <xs:enumeration value="yes"/>
48
+ <xs:enumeration value="no"/>
49
+ <xs:enumeration value="auto"/>
50
+ </xs:restriction>
51
+ </xs:simpleType>
52
+ </xs:attribute>
53
+ <xs:attribute name="height" type="xh11d:Length"/>
54
+ <xs:attribute name="width" type="xh11d:Length"/>
55
+ </xs:attributeGroup>
56
+
57
+ <xs:group name="xhtml.iframe.content">
58
+ <xs:sequence>
59
+ <xs:group ref="xhtml.Flow.mix" minOccurs="0" maxOccurs="unbounded"/>
60
+ </xs:sequence>
61
+ </xs:group>
62
+
63
+ <xs:complexType name="xhtml.iframe.type" mixed="true">
64
+ <xs:group ref="xhtml.iframe.content"/>
65
+ <xs:attributeGroup ref="xhtml.iframe.attlist"/>
66
+ </xs:complexType>
67
+
68
+ </xs:schema>
@@ -0,0 +1,40 @@
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
+ Images
8
+ This is the XML Schema Images module for XHTML
9
+
10
+ * img
11
+
12
+ This module provides markup to support basic image embedding.
13
+
14
+ To avoid problems with text-only UAs as well as to make
15
+ image content understandable and navigable to users of
16
+ non-visual UAs, you need to provide a description with
17
+ the 'alt' attribute, and avoid server-side image maps.
18
+
19
+
20
+ $Id: xhtml-image-1.xsd,v 1.2 2005/09/26 22:54:53 ahby Exp $
21
+ </xs:documentation>
22
+ <xs:documentation source="xhtml-copyright-1.xsd"/>
23
+ <xs:documentation source="http://www.w3.org/TR/2001/REC-xhtml-modularization-20010410/abstract_modules.html#s_imagemodule"/>
24
+ </xs:annotation>
25
+ <xs:attributeGroup name="xhtml.img.attlist">
26
+ <xs:attributeGroup ref="xhtml.Common.attrib"/>
27
+ <xs:attribute name="src" type="xh11d:URI" use="required"/>
28
+ <xs:attribute name="alt" type="xh11d:Text" use="required"/>
29
+ <xs:attribute name="longdesc" type="xh11d:URI"/>
30
+ <xs:attribute name="height" type="xh11d:Length"/>
31
+ <xs:attribute name="width" type="xh11d:Length"/>
32
+ </xs:attributeGroup>
33
+ <xs:group name="xhtml.img.content">
34
+ <xs:sequence/>
35
+ </xs:group>
36
+ <xs:complexType name="xhtml.img.type">
37
+ <xs:group ref="xhtml.img.content"/>
38
+ <xs:attributeGroup ref="xhtml.img.attlist"/>
39
+ </xs:complexType>
40
+ </xs:schema>
@@ -0,0 +1,158 @@
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 Inline Phrasal support module for XHTML
8
+ $Id: xhtml-inlphras-1.xsd,v 1.4 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
+ Inline Phrasal.
15
+ This module declares the elements and their attributes used to
16
+ support inline-level phrasal markup.
17
+ This is the XML Schema Inline Phrasal module for XHTML
18
+
19
+ * abbr, acronym, cite, code, dfn, em, kbd, q, samp, strong, var
20
+
21
+ $Id: xhtml-inlphras-1.xsd,v 1.4 2005/09/26 22:54:53 ahby Exp $
22
+ </xs:documentation>
23
+ <xs:documentation source="http://www.w3.org/TR/xhtml-modularization/abstract_modules.html#s_textmodule"/>
24
+ </xs:annotation>
25
+ <xs:attributeGroup name="xhtml.abbr.attlist">
26
+ <xs:attributeGroup ref="xhtml.Common.attrib"/>
27
+ </xs:attributeGroup>
28
+ <xs:group name="xhtml.abbr.content">
29
+ <xs:sequence>
30
+ <xs:group ref="xhtml.Inline.mix" minOccurs="0" maxOccurs="unbounded"/>
31
+ </xs:sequence>
32
+ </xs:group>
33
+ <xs:complexType name="xhtml.abbr.type" mixed="true">
34
+ <xs:group ref="xhtml.abbr.content"/>
35
+ <xs:attributeGroup ref="xhtml.abbr.attlist"/>
36
+ </xs:complexType>
37
+ <xs:attributeGroup name="xhtml.acronym.attlist">
38
+ <xs:attributeGroup ref="xhtml.Common.attrib"/>
39
+ </xs:attributeGroup>
40
+ <xs:group name="xhtml.acronym.content">
41
+ <xs:sequence>
42
+ <xs:group ref="xhtml.Inline.mix" minOccurs="0" maxOccurs="unbounded"/>
43
+ </xs:sequence>
44
+ </xs:group>
45
+ <xs:complexType name="xhtml.acronym.type" mixed="true">
46
+ <xs:group ref="xhtml.acronym.content"/>
47
+ <xs:attributeGroup ref="xhtml.acronym.attlist"/>
48
+ </xs:complexType>
49
+ <xs:attributeGroup name="xhtml.cite.attlist">
50
+ <xs:attributeGroup ref="xhtml.Common.attrib"/>
51
+ </xs:attributeGroup>
52
+ <xs:group name="xhtml.cite.content">
53
+ <xs:sequence>
54
+ <xs:group ref="xhtml.Inline.mix" minOccurs="0" maxOccurs="unbounded"/>
55
+ </xs:sequence>
56
+ </xs:group>
57
+ <xs:complexType name="xhtml.cite.type" mixed="true">
58
+ <xs:group ref="xhtml.cite.content"/>
59
+ <xs:attributeGroup ref="xhtml.cite.attlist"/>
60
+ </xs:complexType>
61
+ <xs:attributeGroup name="xhtml.code.attlist">
62
+ <xs:attributeGroup ref="xhtml.Common.attrib"/>
63
+ </xs:attributeGroup>
64
+ <xs:group name="xhtml.code.content">
65
+ <xs:sequence>
66
+ <xs:group ref="xhtml.Inline.mix" minOccurs="0" maxOccurs="unbounded"/>
67
+ </xs:sequence>
68
+ </xs:group>
69
+ <xs:complexType name="xhtml.code.type" mixed="true">
70
+ <xs:group ref="xhtml.code.content"/>
71
+ <xs:attributeGroup ref="xhtml.code.attlist"/>
72
+ </xs:complexType>
73
+ <xs:attributeGroup name="xhtml.dfn.attlist">
74
+ <xs:attributeGroup ref="xhtml.Common.attrib"/>
75
+ </xs:attributeGroup>
76
+ <xs:group name="xhtml.dfn.content">
77
+ <xs:sequence>
78
+ <xs:group ref="xhtml.Inline.mix" minOccurs="0" maxOccurs="unbounded"/>
79
+ </xs:sequence>
80
+ </xs:group>
81
+ <xs:complexType name="xhtml.dfn.type" mixed="true">
82
+ <xs:group ref="xhtml.dfn.content"/>
83
+ <xs:attributeGroup ref="xhtml.dfn.attlist"/>
84
+ </xs:complexType>
85
+ <xs:attributeGroup name="xhtml.em.attlist">
86
+ <xs:attributeGroup ref="xhtml.Common.attrib"/>
87
+ </xs:attributeGroup>
88
+ <xs:group name="xhtml.em.content">
89
+ <xs:sequence>
90
+ <xs:group ref="xhtml.Inline.mix" minOccurs="0" maxOccurs="unbounded"/>
91
+ </xs:sequence>
92
+ </xs:group>
93
+ <xs:complexType name="xhtml.em.type" mixed="true">
94
+ <xs:group ref="xhtml.em.content"/>
95
+ <xs:attributeGroup ref="xhtml.em.attlist"/>
96
+ </xs:complexType>
97
+ <xs:attributeGroup name="xhtml.kbd.attlist">
98
+ <xs:attributeGroup ref="xhtml.Common.attrib"/>
99
+ </xs:attributeGroup>
100
+ <xs:group name="xhtml.kbd.content">
101
+ <xs:sequence>
102
+ <xs:group ref="xhtml.Inline.mix" minOccurs="0" maxOccurs="unbounded"/>
103
+ </xs:sequence>
104
+ </xs:group>
105
+ <xs:complexType name="xhtml.kbd.type" mixed="true">
106
+ <xs:group ref="xhtml.kbd.content"/>
107
+ <xs:attributeGroup ref="xhtml.kbd.attlist"/>
108
+ </xs:complexType>
109
+ <xs:attributeGroup name="xhtml.samp.attlist">
110
+ <xs:attributeGroup ref="xhtml.Common.attrib"/>
111
+ </xs:attributeGroup>
112
+ <xs:group name="xhtml.samp.content">
113
+ <xs:sequence>
114
+ <xs:group ref="xhtml.Inline.mix" minOccurs="0" maxOccurs="unbounded"/>
115
+ </xs:sequence>
116
+ </xs:group>
117
+ <xs:complexType name="xhtml.samp.type" mixed="true">
118
+ <xs:group ref="xhtml.samp.content"/>
119
+ <xs:attributeGroup ref="xhtml.samp.attlist"/>
120
+ </xs:complexType>
121
+ <xs:attributeGroup name="xhtml.strong.attlist">
122
+ <xs:attributeGroup ref="xhtml.Common.attrib"/>
123
+ </xs:attributeGroup>
124
+ <xs:group name="xhtml.strong.content">
125
+ <xs:sequence>
126
+ <xs:group ref="xhtml.Inline.mix" minOccurs="0" maxOccurs="unbounded"/>
127
+ </xs:sequence>
128
+ </xs:group>
129
+ <xs:complexType name="xhtml.strong.type" mixed="true">
130
+ <xs:group ref="xhtml.strong.content"/>
131
+ <xs:attributeGroup ref="xhtml.strong.attlist"/>
132
+ </xs:complexType>
133
+ <xs:attributeGroup name="xhtml.var.attlist">
134
+ <xs:attributeGroup ref="xhtml.Common.attrib"/>
135
+ </xs:attributeGroup>
136
+ <xs:group name="xhtml.var.content">
137
+ <xs:sequence>
138
+ <xs:group ref="xhtml.Inline.mix" minOccurs="0" maxOccurs="unbounded"/>
139
+ </xs:sequence>
140
+ </xs:group>
141
+ <xs:complexType name="xhtml.var.type" mixed="true">
142
+ <xs:group ref="xhtml.var.content"/>
143
+ <xs:attributeGroup ref="xhtml.var.attlist"/>
144
+ </xs:complexType>
145
+ <xs:attributeGroup name="xhtml.q.attlist">
146
+ <xs:attributeGroup ref="xhtml.Common.attrib"/>
147
+ <xs:attribute name="cite" type="xh11d:URI"/>
148
+ </xs:attributeGroup>
149
+ <xs:group name="xhtml.q.content">
150
+ <xs:sequence>
151
+ <xs:group ref="xhtml.Inline.mix" minOccurs="0" maxOccurs="unbounded"/>
152
+ </xs:sequence>
153
+ </xs:group>
154
+ <xs:complexType name="xhtml.q.type" mixed="true">
155
+ <xs:group ref="xhtml.q.content"/>
156
+ <xs:attributeGroup ref="xhtml.q.attlist"/>
157
+ </xs:complexType>
158
+ </xs:schema>
@@ -0,0 +1,34 @@
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 Inline Presentation element module for XHTML
7
+ $Id: xhtml-inlpres-1.xsd,v 1.2 2005/09/26 22:54:53 ahby Exp $
8
+ </xs:documentation>
9
+ <xs:documentation source="xhtml-copyright-1.xsd"/>
10
+ </xs:annotation>
11
+ <xs:annotation>
12
+ <xs:documentation>
13
+ Inline Presentational Elements
14
+
15
+ * b, big, i, small, sub, sup, tt
16
+
17
+ This module declares the elements and their attributes used to
18
+ support inline-level presentational markup.
19
+ </xs:documentation>
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.InlPres.attlist">
23
+ <xs:attributeGroup ref="xhtml.Common.attrib"/>
24
+ </xs:attributeGroup>
25
+ <xs:group name="xhtml.InlPres.content">
26
+ <xs:sequence>
27
+ <xs:group ref="xhtml.Inline.mix" minOccurs="0" maxOccurs="unbounded"/>
28
+ </xs:sequence>
29
+ </xs:group>
30
+ <xs:complexType name="xhtml.InlPres.type" mixed="true">
31
+ <xs:group ref="xhtml.InlPres.content"/>
32
+ <xs:attributeGroup ref="xhtml.InlPres.attlist"/>
33
+ </xs:complexType>
34
+ </xs:schema>
@@ -0,0 +1,45 @@
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 Inline Structural support module for XHTML
7
+ $Id: xhtml-inlstruct-1.xsd,v 1.4 2005/09/26 22:54:53 ahby Exp $
8
+ </xs:documentation>
9
+ <xs:documentation source="xhtml-copyright-1.xsd"/>
10
+ </xs:annotation>
11
+ <xs:annotation>
12
+ <xs:documentation>
13
+ Inline Structural.
14
+ This module declares the elements and their attributes
15
+ used to support inline-level structural markup.
16
+ This is the XML Schema Inline Structural element module for XHTML
17
+
18
+ * br, span
19
+
20
+ </xs:documentation>
21
+ <xs:documentation source="http://www.w3.org/TR/xhtml-modularization/abstract_modules.html#s_textmodule"/>
22
+ </xs:annotation>
23
+ <xs:attributeGroup name="xhtml.br.attlist">
24
+ <xs:attributeGroup ref="xhtml.Core.attrib"/>
25
+ </xs:attributeGroup>
26
+ <xs:group name="xhtml.br.content">
27
+ <xs:sequence/>
28
+ </xs:group>
29
+ <xs:complexType name="xhtml.br.type">
30
+ <xs:group ref="xhtml.br.content"/>
31
+ <xs:attributeGroup ref="xhtml.br.attlist"/>
32
+ </xs:complexType>
33
+ <xs:attributeGroup name="xhtml.span.attlist">
34
+ <xs:attributeGroup ref="xhtml.Common.attrib"/>
35
+ </xs:attributeGroup>
36
+ <xs:group name="xhtml.span.content">
37
+ <xs:sequence>
38
+ <xs:group ref="xhtml.Inline.mix" minOccurs="0" maxOccurs="unbounded"/>
39
+ </xs:sequence>
40
+ </xs:group>
41
+ <xs:complexType name="xhtml.span.type" mixed="true">
42
+ <xs:group ref="xhtml.span.content"/>
43
+ <xs:attributeGroup ref="xhtml.span.attlist"/>
44
+ </xs:complexType>
45
+ </xs:schema>
@@ -0,0 +1,22 @@
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
+ Inline Style module
7
+ This is the XML Schema Inline Style module for XHTML
8
+
9
+ * styloe attribute
10
+
11
+ This module declares the 'style' attribute, used to support inline
12
+ style markup.
13
+
14
+ $Id: xhtml-inlstyle-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_styleattributemodule"/>
18
+ </xs:annotation>
19
+ <xs:attributeGroup name="xhtml.style.attrib">
20
+ <xs:attribute name="style" type="xh11d:CDATA"/>
21
+ </xs:attributeGroup>
22
+ </xs:schema>
@@ -0,0 +1,35 @@
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 inputmode module for XHTML
12
+ $Id: xhtml-inputmode-1.xsd,v 1.1 2008/05/29 19:43:21 smccarro Exp $
13
+ </xs:documentation>
14
+ <xs:documentation source="xhtml-copyright-1.xsd"/>
15
+ </xs:annotation>
16
+
17
+ <xs:annotation>
18
+ <xs:documentation>
19
+ InputMode
20
+
21
+ * inputmode
22
+
23
+ This module declares the 'inputmode' attribute used for giving hints about how to deal with input
24
+ </xs:documentation>
25
+ </xs:annotation>
26
+
27
+ <xs:attributeGroup name="xhtml.input.inputmode.attlist">
28
+ <xs:attribute name="inputmode" type="xh11d:FrameTarget"/>
29
+ </xs:attributeGroup>
30
+
31
+ <xs:attributeGroup name="xhtml.textarea.inputmode.attlist">
32
+ <xs:attribute name="inputmode" type="xh11d:FrameTarget"/>
33
+ </xs:attributeGroup>
34
+
35
+ </xs:schema>