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,105 @@
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 &#169;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>
@@ -0,0 +1,72 @@
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>
@@ -0,0 +1,155 @@
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>
@@ -0,0 +1,32 @@
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>
@@ -0,0 +1,44 @@
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>
@@ -0,0 +1,38 @@
1
+ <?xml version="1.0" encoding="UTF-8"?>
2
+ <!--
3
+ This schema module includes three named character entity files.
4
+ -->
5
+ <!DOCTYPE xs:schema [
6
+ <!-- These are the entity sets for ISO Latin 1 characters for the XHTML -->
7
+ <!ENTITY % HTMLlat1 PUBLIC
8
+ "-//W3C//ENTITIES Latin 1 for XHTML//EN"
9
+ "http://www.w3.org/MarkUp/DTD/xhtml-lat1.ent">
10
+ %HTMLlat1;
11
+ <!-- These are the entity sets for special characters for the XHTML -->
12
+ <!ENTITY % HTMLsymbol PUBLIC
13
+ "-//W3C//ENTITIES Symbols for XHTML//EN"
14
+ "http://www.w3.org/MarkUp/DTD/xhtml-symbol.ent">
15
+ %HTMLsymbol;
16
+ <!-- These are the entity sets for symbol characters for the XHTML -->
17
+ <!ENTITY % HTMLspecial PUBLIC
18
+ "-//W3C//ENTITIES Special for XHTML//EN"
19
+ "http://www.w3.org/MarkUp/DTD/xhtml-special.ent">
20
+ %HTMLspecial;
21
+ ]>
22
+ <xs:schema xmlns:xs="http://www.w3.org/2001/XMLSchema"
23
+ elementFormDefault="qualified">
24
+ <xs:annotation>
25
+ <xs:documentation>
26
+ Character Entities for XHTML
27
+ This is the XML Schema Character Entities module for XHTML
28
+
29
+ This module declares the set of character entities for XHTML,
30
+ including the Latin 1, Symbol and Special character collections.
31
+ XML Schema does not support Entities, hence Entities are enable
32
+ through an Internal DTD Subset.
33
+
34
+ $Id: xhtml-charent-1.xsd,v 1.3 2005/09/26 22:54:53 ahby Exp $
35
+ </xs:documentation>
36
+ <xs:documentation source="xhtml-copyright-1.xsd"/>
37
+ </xs:annotation>
38
+ </xs:schema>