validate-website 0.1 → 0.2

This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
Files changed (93) hide show
  1. data/README +15 -4
  2. data/Rakefile +6 -4
  3. data/bin/validate-website +33 -36
  4. data/lib/colorful_messages.rb +7 -10
  5. data/lib/validator.rb +37 -0
  6. data/lib/xhtml/xframes-1.xsd +166 -0
  7. data/lib/xhtml/xhtml-access-1.xsd +43 -0
  8. data/lib/xhtml/xhtml-applet-1.xsd +66 -0
  9. data/lib/xhtml/xhtml-attribs-1.xsd +67 -0
  10. data/lib/xhtml/xhtml-base-1.xsd +31 -0
  11. data/lib/xhtml/xhtml-basic-form-1.xsd +195 -0
  12. data/lib/xhtml/xhtml-basic-table-1.xsd +169 -0
  13. data/lib/xhtml/xhtml-basic10-model-1.xsd +385 -0
  14. data/lib/xhtml/xhtml-basic10-module-redefines-1.xsd +61 -0
  15. data/lib/xhtml/xhtml-basic10-modules-1.xsd +233 -0
  16. data/lib/xhtml/xhtml-basic10.xsd +99 -0
  17. data/lib/xhtml/xhtml-basic11-model-1.xsd +622 -0
  18. data/lib/xhtml/xhtml-basic11-modules-1.xsd +508 -0
  19. data/lib/xhtml/xhtml-basic11.xsd +105 -0
  20. data/lib/xhtml/xhtml-bdo-1.xsd +72 -0
  21. data/lib/xhtml/xhtml-blkphras-1.xsd +155 -0
  22. data/lib/xhtml/xhtml-blkpres-1.xsd +32 -0
  23. data/lib/xhtml/xhtml-blkstruct-1.xsd +44 -0
  24. data/lib/xhtml/xhtml-charent-1.xsd +38 -0
  25. data/lib/xhtml/xhtml-copyright-1.xsd +29 -0
  26. data/lib/xhtml/xhtml-csismap-1.xsd +91 -0
  27. data/lib/xhtml/xhtml-datatypes-1.xsd +177 -0
  28. data/lib/xhtml/xhtml-edit-1.xsd +34 -0
  29. data/lib/xhtml/xhtml-events-1.xsd +130 -0
  30. data/lib/xhtml/xhtml-form-1.xsd +321 -0
  31. data/lib/xhtml/xhtml-frames-1.xsd +113 -0
  32. data/lib/xhtml/xhtml-framework-1.xsd +62 -0
  33. data/lib/xhtml/xhtml-hypertext-1.xsd +47 -0
  34. data/lib/xhtml/xhtml-iframe-1.xsd +68 -0
  35. data/lib/xhtml/xhtml-image-1.xsd +40 -0
  36. data/lib/xhtml/xhtml-inlphras-1.xsd +158 -0
  37. data/lib/xhtml/xhtml-inlpres-1.xsd +34 -0
  38. data/lib/xhtml/xhtml-inlstruct-1.xsd +45 -0
  39. data/lib/xhtml/xhtml-inlstyle-1.xsd +22 -0
  40. data/lib/xhtml/xhtml-inputmode-1.xsd +35 -0
  41. data/lib/xhtml/xhtml-lat1.ent +196 -0
  42. data/lib/xhtml/xhtml-legacy-1.xsd +97 -0
  43. data/lib/xhtml/xhtml-link-1.xsd +45 -0
  44. data/lib/xhtml/xhtml-list-1.xsd +94 -0
  45. data/lib/xhtml/xhtml-meta-1.xsd +54 -0
  46. data/lib/xhtml/xhtml-metaAttributes-1.xsd +39 -0
  47. data/lib/xhtml/xhtml-misc-1.xsd +441 -0
  48. data/lib/xhtml/xhtml-nameident-1.xsd +63 -0
  49. data/lib/xhtml/xhtml-notations-1.xsd +69 -0
  50. data/lib/xhtml/xhtml-object-1.xsd +71 -0
  51. data/lib/xhtml/xhtml-param-1.xsd +46 -0
  52. data/lib/xhtml/xhtml-pres-1.xsd +46 -0
  53. data/lib/xhtml/xhtml-print-1.xsd +85 -0
  54. data/lib/xhtml/xhtml-print-model-1.xsd +604 -0
  55. data/lib/xhtml/xhtml-print-modules-1.xsd +422 -0
  56. data/lib/xhtml/xhtml-rdfa-1.dtd +438 -0
  57. data/lib/xhtml/xhtml-rdfa-1.xsd +116 -0
  58. data/lib/xhtml/xhtml-rdfa-model-1.xsd +461 -0
  59. data/lib/xhtml/xhtml-rdfa-modules-1.xsd +548 -0
  60. data/lib/xhtml/xhtml-ruby-1.xsd +170 -0
  61. data/lib/xhtml/xhtml-ruby-basic-1.xsd +84 -0
  62. data/lib/xhtml/xhtml-script-1.xsd +65 -0
  63. data/lib/xhtml/xhtml-special.ent +80 -0
  64. data/lib/xhtml/xhtml-ssismap-1.xsd +38 -0
  65. data/lib/xhtml/xhtml-struct-1.xsd +85 -0
  66. data/lib/xhtml/xhtml-style-1.xsd +47 -0
  67. data/lib/xhtml/xhtml-symbol.ent +237 -0
  68. data/lib/xhtml/xhtml-table-1.xsd +267 -0
  69. data/lib/xhtml/xhtml-target-1.xsd +49 -0
  70. data/lib/xhtml/xhtml-text-1.xsd +62 -0
  71. data/lib/xhtml/xhtml1-frameset.dtd +1235 -0
  72. data/lib/xhtml/xhtml1-frameset.xsd +2847 -0
  73. data/lib/xhtml/xhtml1-strict.dtd +978 -0
  74. data/lib/xhtml/xhtml1-strict.xsd +2211 -0
  75. data/lib/xhtml/xhtml1-transitional.dtd +1201 -0
  76. data/lib/xhtml/xhtml1-transitional.xsd +2755 -0
  77. data/lib/xhtml/xhtml11-model-1.xsd +715 -0
  78. data/lib/xhtml/xhtml11-module-redefines-1.xsd +335 -0
  79. data/lib/xhtml/xhtml11-modules-1.xsd +605 -0
  80. data/lib/xhtml/xhtml11.xsd +107 -0
  81. data/lib/xhtml/xhtml2.xsd +21 -0
  82. data/lib/xhtml/xml-events-1.xsd +73 -0
  83. data/lib/xhtml/xml-events-2.xsd +73 -0
  84. data/lib/xhtml/xml-events-attribs-1.xsd +73 -0
  85. data/lib/xhtml/xml-events-attribs-2.xsd +75 -0
  86. data/lib/xhtml/xml-events-copyright-1.xsd +34 -0
  87. data/lib/xhtml/xml-events-copyright-2.xsd +34 -0
  88. data/lib/xhtml/xml-handlers-1.xsd +136 -0
  89. data/lib/xhtml/xml-handlers-2.xsd +98 -0
  90. data/lib/xhtml/xml-script-1.xsd +38 -0
  91. data/lib/xhtml/xml.xsd +286 -0
  92. metadata +114 -8
  93. data/lib/spkspider.rb +0 -147
@@ -0,0 +1,46 @@
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 Param Element module for XHTML
7
+ $Id: xhtml-param-1.xsd,v 1.3 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
+ Parameters for Java Applets and Embedded Objects
14
+
15
+ * param
16
+
17
+ This module provides declarations for the param element,
18
+ used to provide named property values for the applet
19
+ and object elements.
20
+ </xs:documentation>
21
+ <xs:documentation source="http://www.w3.org/TR/2001/REC-xhtml-modularization-20010410/abstract_modules.html#s_objectmodule"/>
22
+ <xs:documentation source="http://www.w3.org/TR/2001/REC-xhtml-modularization-20010410/abstract_modules.html#s_appletmodule"/>
23
+ </xs:annotation>
24
+ <xs:attributeGroup name="xhtml.param.attlist">
25
+ <xs:attributeGroup ref="xhtml.id"/>
26
+ <xs:attribute name="name" type="xh11d:CDATA" use="required"/>
27
+ <xs:attribute name="value" type="xh11d:CDATA"/>
28
+ <xs:attribute name="valuetype" default="data">
29
+ <xs:simpleType>
30
+ <xs:restriction base="xs:NMTOKEN">
31
+ <xs:enumeration value="data"/>
32
+ <xs:enumeration value="ref"/>
33
+ <xs:enumeration value="object"/>
34
+ </xs:restriction>
35
+ </xs:simpleType>
36
+ </xs:attribute>
37
+ <xs:attribute name="type" type="xh11d:ContentType"/>
38
+ </xs:attributeGroup>
39
+ <xs:group name="xhtml.param.content">
40
+ <xs:sequence/>
41
+ </xs:group>
42
+ <xs:complexType name="xhtml.param.type">
43
+ <xs:group ref="xhtml.param.content"/>
44
+ <xs:attributeGroup ref="xhtml.param.attlist"/>
45
+ </xs:complexType>
46
+ </xs:schema>
@@ -0,0 +1,46 @@
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 Presentation module for XHTML
7
+ This is a REQUIRED module.
8
+ $Id: xhtml-pres-1.xsd,v 1.2 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
+ Presentational Elements
15
+
16
+ This module defines elements and their attributes for
17
+ simple presentation-related markup.
18
+
19
+ Elements defined here:
20
+
21
+ * hr
22
+ * b, big, i, small, sub, sup, tt
23
+ </xs:documentation>
24
+ <xs:documentation source="http://www.w3.org/TR/2001/REC-xhtml-modularization-20010410/abstract_modules.html#s_presentationmodule"/>
25
+ </xs:annotation>
26
+ <xs:include schemaLocation="xhtml-blkpres-1.xsd">
27
+ <xs:annotation>
28
+ <xs:documentation>
29
+ Block Presentational module
30
+ Elements defined here:
31
+
32
+ * hr
33
+ </xs:documentation>
34
+ </xs:annotation>
35
+ </xs:include>
36
+ <xs:include schemaLocation="xhtml-inlpres-1.xsd">
37
+ <xs:annotation>
38
+ <xs:documentation>
39
+ Inline Presentational module
40
+ Elements defined here:
41
+
42
+ * b, big, i, small, sub, sup, tt
43
+ </xs:documentation>
44
+ </xs:annotation>
45
+ </xs:include>
46
+ </xs:schema>
@@ -0,0 +1,85 @@
1
+ <?xml version="1.0" encoding="UTF-8"?>
2
+ <xs:schema
3
+ xmlns:xs="http://www.w3.org/2001/XMLSchema"
4
+ targetNamespace="http://www.w3.org/1999/xhtml"
5
+ xmlns:xh11d="http://www.w3.org/1999/xhtml/datatypes/"
6
+ xmlns="http://www.w3.org/1999/xhtml"
7
+ elementFormDefault="qualified" >
8
+ <xs:annotation>
9
+ <xs:documentation>
10
+ This is the XML Schema driver for XHTML Print 1.0
11
+ Please use this namespace for XHTML elements:
12
+
13
+ "http://www.w3.org/1999/xhtml"
14
+
15
+ $Id: xhtml-print-1.xsd,v 1.1 2008/05/29 21:24:57 smccarro Exp $
16
+ </xs:documentation>
17
+ <xs:documentation source="xhtml-copyright-1.xsd"/>
18
+ </xs:annotation>
19
+ <xs:annotation>
20
+ <xs:documentation>
21
+ This is the Schema Driver file for XHTML Print 1.0
22
+ Document Type
23
+
24
+ This schema
25
+ + imports external schemas (xml.xsd)
26
+ + refedines (and include)s schema modules for XHTML1.1 Document Type.
27
+ + includes Schema for Named content model for the
28
+ XHTML Print 1.0 Document Type
29
+
30
+ XHTML Print 1.0 Document Type includes the following Modules
31
+ XHTML Core modules (Required for XHTML Family Conformance)
32
+ + text
33
+ + hypertext
34
+ + lists
35
+ + structure
36
+ Other XHTML modules
37
+ + Edit
38
+ + Bdo
39
+ + Presentational
40
+ + Link
41
+ + Meta
42
+ + Base
43
+ + Scripting
44
+ + Style
45
+ + Image
46
+ + Applet
47
+ + Object
48
+ + Param (Applet/Object modules require Param Module)
49
+ + Basic Tables
50
+ + Basic Forms
51
+ </xs:documentation>
52
+ </xs:annotation>
53
+ <xs:import
54
+ namespace="http://www.w3.org/XML/1998/namespace"
55
+ schemaLocation="http://www.w3.org/2001/xml.xsd">
56
+ <xs:annotation>
57
+ <xs:documentation>
58
+ This import brings in the XML namespace attributes
59
+ The XML attributes are used by various modules.
60
+ </xs:documentation>
61
+ </xs:annotation>
62
+ </xs:import>
63
+ <xs:include
64
+ schemaLocation="xhtml-print-model-1.xsd">
65
+ <xs:annotation>
66
+ <xs:documentation>
67
+ Document Model module for the XHTML Print 1.0 Document Type.
68
+ This schema file defines all named models used by XHTML
69
+ Modularization Framework for XHTML Print 1.0 Document Type
70
+ </xs:documentation>
71
+ </xs:annotation>
72
+ </xs:include>
73
+ <xs:import
74
+ namespace="http://www.w3.org/1999/xhtml/datatypes/"
75
+ schemaLocation="xhtml-datatypes-1.xsd"/>
76
+ <xs:include
77
+ schemaLocation="xhtml-print-modules-1.xsd">
78
+ <xs:annotation>
79
+ <xs:documentation>
80
+ Schema that includes all modules (and redefinitions)
81
+ for XHTML Print Document Type.
82
+ </xs:documentation>
83
+ </xs:annotation>
84
+ </xs:include>
85
+ </xs:schema>