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.
- data/README +15 -4
- data/Rakefile +6 -4
- data/bin/validate-website +33 -36
- data/lib/colorful_messages.rb +7 -10
- data/lib/validator.rb +37 -0
- data/lib/xhtml/xframes-1.xsd +166 -0
- data/lib/xhtml/xhtml-access-1.xsd +43 -0
- data/lib/xhtml/xhtml-applet-1.xsd +66 -0
- data/lib/xhtml/xhtml-attribs-1.xsd +67 -0
- data/lib/xhtml/xhtml-base-1.xsd +31 -0
- data/lib/xhtml/xhtml-basic-form-1.xsd +195 -0
- data/lib/xhtml/xhtml-basic-table-1.xsd +169 -0
- data/lib/xhtml/xhtml-basic10-model-1.xsd +385 -0
- data/lib/xhtml/xhtml-basic10-module-redefines-1.xsd +61 -0
- data/lib/xhtml/xhtml-basic10-modules-1.xsd +233 -0
- data/lib/xhtml/xhtml-basic10.xsd +99 -0
- data/lib/xhtml/xhtml-basic11-model-1.xsd +622 -0
- data/lib/xhtml/xhtml-basic11-modules-1.xsd +508 -0
- data/lib/xhtml/xhtml-basic11.xsd +105 -0
- data/lib/xhtml/xhtml-bdo-1.xsd +72 -0
- data/lib/xhtml/xhtml-blkphras-1.xsd +155 -0
- data/lib/xhtml/xhtml-blkpres-1.xsd +32 -0
- data/lib/xhtml/xhtml-blkstruct-1.xsd +44 -0
- data/lib/xhtml/xhtml-charent-1.xsd +38 -0
- data/lib/xhtml/xhtml-copyright-1.xsd +29 -0
- data/lib/xhtml/xhtml-csismap-1.xsd +91 -0
- data/lib/xhtml/xhtml-datatypes-1.xsd +177 -0
- data/lib/xhtml/xhtml-edit-1.xsd +34 -0
- data/lib/xhtml/xhtml-events-1.xsd +130 -0
- data/lib/xhtml/xhtml-form-1.xsd +321 -0
- data/lib/xhtml/xhtml-frames-1.xsd +113 -0
- data/lib/xhtml/xhtml-framework-1.xsd +62 -0
- data/lib/xhtml/xhtml-hypertext-1.xsd +47 -0
- data/lib/xhtml/xhtml-iframe-1.xsd +68 -0
- data/lib/xhtml/xhtml-image-1.xsd +40 -0
- data/lib/xhtml/xhtml-inlphras-1.xsd +158 -0
- data/lib/xhtml/xhtml-inlpres-1.xsd +34 -0
- data/lib/xhtml/xhtml-inlstruct-1.xsd +45 -0
- data/lib/xhtml/xhtml-inlstyle-1.xsd +22 -0
- data/lib/xhtml/xhtml-inputmode-1.xsd +35 -0
- data/lib/xhtml/xhtml-lat1.ent +196 -0
- data/lib/xhtml/xhtml-legacy-1.xsd +97 -0
- data/lib/xhtml/xhtml-link-1.xsd +45 -0
- data/lib/xhtml/xhtml-list-1.xsd +94 -0
- data/lib/xhtml/xhtml-meta-1.xsd +54 -0
- data/lib/xhtml/xhtml-metaAttributes-1.xsd +39 -0
- data/lib/xhtml/xhtml-misc-1.xsd +441 -0
- data/lib/xhtml/xhtml-nameident-1.xsd +63 -0
- data/lib/xhtml/xhtml-notations-1.xsd +69 -0
- data/lib/xhtml/xhtml-object-1.xsd +71 -0
- data/lib/xhtml/xhtml-param-1.xsd +46 -0
- data/lib/xhtml/xhtml-pres-1.xsd +46 -0
- data/lib/xhtml/xhtml-print-1.xsd +85 -0
- data/lib/xhtml/xhtml-print-model-1.xsd +604 -0
- data/lib/xhtml/xhtml-print-modules-1.xsd +422 -0
- data/lib/xhtml/xhtml-rdfa-1.dtd +438 -0
- data/lib/xhtml/xhtml-rdfa-1.xsd +116 -0
- data/lib/xhtml/xhtml-rdfa-model-1.xsd +461 -0
- data/lib/xhtml/xhtml-rdfa-modules-1.xsd +548 -0
- data/lib/xhtml/xhtml-ruby-1.xsd +170 -0
- data/lib/xhtml/xhtml-ruby-basic-1.xsd +84 -0
- data/lib/xhtml/xhtml-script-1.xsd +65 -0
- data/lib/xhtml/xhtml-special.ent +80 -0
- data/lib/xhtml/xhtml-ssismap-1.xsd +38 -0
- data/lib/xhtml/xhtml-struct-1.xsd +85 -0
- data/lib/xhtml/xhtml-style-1.xsd +47 -0
- data/lib/xhtml/xhtml-symbol.ent +237 -0
- data/lib/xhtml/xhtml-table-1.xsd +267 -0
- data/lib/xhtml/xhtml-target-1.xsd +49 -0
- data/lib/xhtml/xhtml-text-1.xsd +62 -0
- data/lib/xhtml/xhtml1-frameset.dtd +1235 -0
- data/lib/xhtml/xhtml1-frameset.xsd +2847 -0
- data/lib/xhtml/xhtml1-strict.dtd +978 -0
- data/lib/xhtml/xhtml1-strict.xsd +2211 -0
- data/lib/xhtml/xhtml1-transitional.dtd +1201 -0
- data/lib/xhtml/xhtml1-transitional.xsd +2755 -0
- data/lib/xhtml/xhtml11-model-1.xsd +715 -0
- data/lib/xhtml/xhtml11-module-redefines-1.xsd +335 -0
- data/lib/xhtml/xhtml11-modules-1.xsd +605 -0
- data/lib/xhtml/xhtml11.xsd +107 -0
- data/lib/xhtml/xhtml2.xsd +21 -0
- data/lib/xhtml/xml-events-1.xsd +73 -0
- data/lib/xhtml/xml-events-2.xsd +73 -0
- data/lib/xhtml/xml-events-attribs-1.xsd +73 -0
- data/lib/xhtml/xml-events-attribs-2.xsd +75 -0
- data/lib/xhtml/xml-events-copyright-1.xsd +34 -0
- data/lib/xhtml/xml-events-copyright-2.xsd +34 -0
- data/lib/xhtml/xml-handlers-1.xsd +136 -0
- data/lib/xhtml/xml-handlers-2.xsd +98 -0
- data/lib/xhtml/xml-script-1.xsd +38 -0
- data/lib/xhtml/xml.xsd +286 -0
- metadata +114 -8
- data/lib/spkspider.rb +0 -147
@@ -0,0 +1,107 @@
|
|
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 1.1.
|
11
|
+
Please use this namespace for XHTML elements:
|
12
|
+
|
13
|
+
"http://www.w3.org/1999/xhtml"
|
14
|
+
|
15
|
+
$Id: xhtml11.xsd,v 1.6 2007/02/22 13:02:52 ahby Exp $
|
16
|
+
</xs:documentation>
|
17
|
+
<xs:documentation source="xhtml-copyright-1.xsd"/>
|
18
|
+
</xs:annotation>
|
19
|
+
<xs:annotation>
|
20
|
+
<xs:documentation>
|
21
|
+
This is XHTML, a reformulation of HTML as a modular XML application
|
22
|
+
The Extensible HyperText Markup Language (XHTML)
|
23
|
+
Copyright ©1998-2007 World Wide Web Consortium
|
24
|
+
(Massachusetts Institute of Technology, European Research Consortium
|
25
|
+
for Informatics and Mathematics, Keio University).
|
26
|
+
All Rights Reserved.
|
27
|
+
|
28
|
+
Permission to use, copy, modify and distribute the XHTML Schema
|
29
|
+
modules and their accompanying xs:documentation for any purpose
|
30
|
+
and without fee is hereby granted in perpetuity, provided that the above
|
31
|
+
copyright notice and this paragraph appear in all copies.
|
32
|
+
The copyright holders make no representation about the suitability of
|
33
|
+
these XML Schema modules for any purpose.
|
34
|
+
|
35
|
+
They are provided "as is" without expressed or implied warranty.
|
36
|
+
</xs:documentation>
|
37
|
+
</xs:annotation>
|
38
|
+
<xs:annotation>
|
39
|
+
<xs:documentation>
|
40
|
+
This is the Schema Driver file for XHTML1.1
|
41
|
+
Document Type
|
42
|
+
|
43
|
+
This schema
|
44
|
+
+ imports external schemas (xml.xsd)
|
45
|
+
+ refedines (and include)s schema modules for XHTML1.1 Document Type.
|
46
|
+
+ includes Schema for Named content model for the
|
47
|
+
XHTML1.1 Document Type
|
48
|
+
|
49
|
+
XHTML1.1 Document Type includes the following Modules
|
50
|
+
XHTML Core modules (Required for XHTML Family Conformance)
|
51
|
+
+ text
|
52
|
+
+ hypertext
|
53
|
+
+ lists
|
54
|
+
+ structure
|
55
|
+
Other XHTML modules
|
56
|
+
+ Edit
|
57
|
+
+ Bdo
|
58
|
+
+ Presentational
|
59
|
+
+ Link
|
60
|
+
+ Meta
|
61
|
+
+ Base
|
62
|
+
+ Scripting
|
63
|
+
+ Style
|
64
|
+
+ Image
|
65
|
+
+ Applet
|
66
|
+
+ Object
|
67
|
+
+ Param (Applet/Object modules require Param Module)
|
68
|
+
+ Tables
|
69
|
+
+ Forms
|
70
|
+
+ Client side image maps
|
71
|
+
+ Server side image maps
|
72
|
+
+ Ruby
|
73
|
+
</xs:documentation>
|
74
|
+
</xs:annotation>
|
75
|
+
<xs:import
|
76
|
+
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
|
+
<xs:include
|
86
|
+
schemaLocation="xhtml11-model-1.xsd">
|
87
|
+
<xs:annotation>
|
88
|
+
<xs:documentation>
|
89
|
+
Document Model module for the XHTML1.1 Document Type.
|
90
|
+
This schema file defines all named models used by XHTML
|
91
|
+
Modularization Framework for XHTML1.1 Document Type
|
92
|
+
</xs:documentation>
|
93
|
+
</xs:annotation>
|
94
|
+
</xs:include>
|
95
|
+
<xs:import
|
96
|
+
namespace="http://www.w3.org/1999/xhtml/datatypes/"
|
97
|
+
schemaLocation="xhtml-datatypes-1.xsd"/>
|
98
|
+
<xs:include
|
99
|
+
schemaLocation="xhtml11-modules-1.xsd">
|
100
|
+
<xs:annotation>
|
101
|
+
<xs:documentation>
|
102
|
+
Schema that includes all modules (and redefinitions)
|
103
|
+
for XHTML1.1 Document Type.
|
104
|
+
</xs:documentation>
|
105
|
+
</xs:annotation>
|
106
|
+
</xs:include>
|
107
|
+
</xs:schema>
|
@@ -0,0 +1,21 @@
|
|
1
|
+
<xs:schema xmlns:xs="http://www.w3.org/2001/XMLSchema"
|
2
|
+
targetNamespace="http://www.w3.org/2002/06/xhtml2/">
|
3
|
+
|
4
|
+
<xs:annotation>
|
5
|
+
<xs:documentation>
|
6
|
+
A minimal XML Schema for XHTML 2.0
|
7
|
+
$Id: xhtml2.xsd,v 1.4 2005/06/14 15:28:27 mimasa Exp $
|
8
|
+
</xs:documentation>
|
9
|
+
</xs:annotation>
|
10
|
+
|
11
|
+
<xs:element name="html">
|
12
|
+
<xs:complexType>
|
13
|
+
<xs:sequence>
|
14
|
+
<xs:any namespace="##any" processContents="skip"
|
15
|
+
minOccurs="0" maxOccurs="unbounded"/>
|
16
|
+
</xs:sequence>
|
17
|
+
<xs:anyAttribute namespace="##any" processContents="skip"/>
|
18
|
+
</xs:complexType>
|
19
|
+
</xs:element>
|
20
|
+
|
21
|
+
</xs:schema>
|
@@ -0,0 +1,73 @@
|
|
1
|
+
<?xml version="1.0" encoding="UTF-8"?>
|
2
|
+
<xs:schema
|
3
|
+
targetNamespace="http://www.w3.org/2001/xml-events"
|
4
|
+
xmlns="http://www.w3.org/2001/xml-events"
|
5
|
+
xmlns:xs="http://www.w3.org/2001/XMLSchema"
|
6
|
+
xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance"
|
7
|
+
xsi:schemaLocation="http://www.w3.org/2001/XMLSchema
|
8
|
+
http://www.w3.org/2001/XMLSchema.xsd"
|
9
|
+
elementFormDefault="unqualified"
|
10
|
+
blockDefault="#all"
|
11
|
+
finalDefault="#all"
|
12
|
+
attributeFormDefault="unqualified">
|
13
|
+
|
14
|
+
<xs:annotation>
|
15
|
+
<xs:documentation>
|
16
|
+
This is the XML Schema for XML Events
|
17
|
+
|
18
|
+
URI: http://www.w3.org/MarkUp/SCHEMA/xml-events-1.xsd
|
19
|
+
$Id: xml-events-1.xsd,v 1.8 2004/11/22 17:09:15 ahby Exp $
|
20
|
+
</xs:documentation>
|
21
|
+
<xs:documentation source="xml-events-copyright-1.xsd"/>
|
22
|
+
</xs:annotation>
|
23
|
+
|
24
|
+
<xs:annotation>
|
25
|
+
<xs:documentation>
|
26
|
+
XML Events element listener
|
27
|
+
|
28
|
+
This module defines the listener element for XML Events.
|
29
|
+
This element can be used to define event listeners. This
|
30
|
+
module relies upon the XmlEvents.attlist attribute group
|
31
|
+
defined in xml-events-attribs-1.xsd.
|
32
|
+
</xs:documentation>
|
33
|
+
</xs:annotation>
|
34
|
+
|
35
|
+
<xs:attributeGroup name="listener.attlist">
|
36
|
+
<xs:attribute name="event" use="required" type="xs:NMTOKEN"/>
|
37
|
+
<xs:attribute name="observer" type="xs:IDREF"/>
|
38
|
+
<xs:attribute name="target" type="xs:IDREF"/>
|
39
|
+
<xs:attribute name="handler" type="xs:anyURI"/>
|
40
|
+
<xs:attribute name="phase" default="default">
|
41
|
+
<xs:simpleType>
|
42
|
+
<xs:restriction base="xs:NMTOKEN">
|
43
|
+
<xs:enumeration value="capture"/>
|
44
|
+
<xs:enumeration value="default"/>
|
45
|
+
</xs:restriction>
|
46
|
+
</xs:simpleType>
|
47
|
+
</xs:attribute>
|
48
|
+
<xs:attribute name="propagate" default="continue">
|
49
|
+
<xs:simpleType>
|
50
|
+
<xs:restriction base="xs:NMTOKEN">
|
51
|
+
<xs:enumeration value="stop"/>
|
52
|
+
<xs:enumeration value="continue"/>
|
53
|
+
</xs:restriction>
|
54
|
+
</xs:simpleType>
|
55
|
+
</xs:attribute>
|
56
|
+
<xs:attribute name="defaultAction" default="perform">
|
57
|
+
<xs:simpleType>
|
58
|
+
<xs:restriction base="xs:NMTOKEN">
|
59
|
+
<xs:enumeration value="cancel"/>
|
60
|
+
<xs:enumeration value="perform"/>
|
61
|
+
</xs:restriction>
|
62
|
+
</xs:simpleType>
|
63
|
+
</xs:attribute>
|
64
|
+
<xs:attribute name="id" type="xs:ID"/>
|
65
|
+
</xs:attributeGroup>
|
66
|
+
|
67
|
+
<xs:complexType name="listener.type">
|
68
|
+
<xs:attributeGroup ref="listener.attlist"/>
|
69
|
+
</xs:complexType>
|
70
|
+
|
71
|
+
<xs:element name="listener" type="listener.type"/>
|
72
|
+
|
73
|
+
</xs:schema>
|
@@ -0,0 +1,73 @@
|
|
1
|
+
<?xml version="1.0" encoding="UTF-8"?>
|
2
|
+
<xs:schema
|
3
|
+
targetNamespace="http://www.w3.org/2001/xml-events"
|
4
|
+
xmlns="http://www.w3.org/2001/xml-events"
|
5
|
+
xmlns:xs="http://www.w3.org/2001/XMLSchema"
|
6
|
+
xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance"
|
7
|
+
xsi:schemaLocation="http://www.w3.org/2001/XMLSchema
|
8
|
+
http://www.w3.org/2001/XMLSchema.xsd"
|
9
|
+
elementFormDefault="unqualified"
|
10
|
+
blockDefault="#all"
|
11
|
+
finalDefault="#all"
|
12
|
+
attributeFormDefault="unqualified">
|
13
|
+
|
14
|
+
<xs:annotation>
|
15
|
+
<xs:documentation>
|
16
|
+
This is the XML Schema for XML Events
|
17
|
+
|
18
|
+
URI: http://www.w3.org/MarkUp/SCHEMA/xml-events-2.xsd
|
19
|
+
$Id: xml-events-2.xsd,v 1.2 2008/06/25 14:36:17 smccarro Exp $
|
20
|
+
</xs:documentation>
|
21
|
+
<xs:documentation source="xml-events-copyright-2.xsd"/>
|
22
|
+
</xs:annotation>
|
23
|
+
|
24
|
+
<xs:annotation>
|
25
|
+
<xs:documentation>
|
26
|
+
XML Events element listener
|
27
|
+
|
28
|
+
This module defines the listener element for XML Events.
|
29
|
+
This element can be used to define event listeners. This
|
30
|
+
module relies upon the XmlEvents.attlist attribute group
|
31
|
+
defined in xml-events-attribs-2.xsd.
|
32
|
+
</xs:documentation>
|
33
|
+
</xs:annotation>
|
34
|
+
|
35
|
+
<xs:attributeGroup name="listener.attlist">
|
36
|
+
<xs:attribute name="event" use="required" type="xs:NMTOKEN"/>
|
37
|
+
<xs:attribute name="observer" type="xs:IDREF"/>
|
38
|
+
<xs:attribute name="target" type="xs:IDREF"/>
|
39
|
+
<xs:attribute name="handler" type="xs:anyURI"/>
|
40
|
+
<xs:attribute name="phase" default="default">
|
41
|
+
<xs:simpleType>
|
42
|
+
<xs:restriction base="xs:NMTOKEN">
|
43
|
+
<xs:enumeration value="capture"/>
|
44
|
+
<xs:enumeration value="default"/>
|
45
|
+
</xs:restriction>
|
46
|
+
</xs:simpleType>
|
47
|
+
</xs:attribute>
|
48
|
+
<xs:attribute name="propagate" default="continue">
|
49
|
+
<xs:simpleType>
|
50
|
+
<xs:restriction base="xs:NMTOKEN">
|
51
|
+
<xs:enumeration value="stop"/>
|
52
|
+
<xs:enumeration value="continue"/>
|
53
|
+
</xs:restriction>
|
54
|
+
</xs:simpleType>
|
55
|
+
</xs:attribute>
|
56
|
+
<xs:attribute name="defaultAction" default="perform">
|
57
|
+
<xs:simpleType>
|
58
|
+
<xs:restriction base="xs:NMTOKEN">
|
59
|
+
<xs:enumeration value="cancel"/>
|
60
|
+
<xs:enumeration value="perform"/>
|
61
|
+
</xs:restriction>
|
62
|
+
</xs:simpleType>
|
63
|
+
</xs:attribute>
|
64
|
+
<xs:attribute name="id" type="xs:ID"/>
|
65
|
+
</xs:attributeGroup>
|
66
|
+
|
67
|
+
<xs:complexType name="listener.type">
|
68
|
+
<xs:attributeGroup ref="listener.attlist"/>
|
69
|
+
</xs:complexType>
|
70
|
+
|
71
|
+
<xs:element name="listener" type="listener.type"/>
|
72
|
+
|
73
|
+
</xs:schema>
|
@@ -0,0 +1,73 @@
|
|
1
|
+
<?xml version="1.0" encoding="UTF-8"?>
|
2
|
+
<xs:schema
|
3
|
+
targetNamespace="http://www.w3.org/2001/xml-events"
|
4
|
+
xmlns:ev="http://www.w3.org/2001/xml-events"
|
5
|
+
xmlns:xs="http://www.w3.org/2001/XMLSchema"
|
6
|
+
xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance"
|
7
|
+
xsi:schemaLocation="http://www.w3.org/2001/XMLSchema
|
8
|
+
http://www.w3.org/2001/XMLSchema.xsd"
|
9
|
+
elementFormDefault="unqualified"
|
10
|
+
blockDefault="#all"
|
11
|
+
finalDefault="#all"
|
12
|
+
attributeFormDefault="unqualified">
|
13
|
+
|
14
|
+
<xs:annotation>
|
15
|
+
<xs:documentation>
|
16
|
+
This is the XML Schema for XML Events global attributes
|
17
|
+
|
18
|
+
URI: http://www.w3.org/MarkUp/SCHEMA/xml-events-attribs-1.xsd
|
19
|
+
$Id: xml-events-attribs-1.xsd,v 1.7 2004/11/22 17:09:15 ahby Exp $
|
20
|
+
</xs:documentation>
|
21
|
+
<xs:documentation source="xml-events-copyright-1.xsd"/>
|
22
|
+
</xs:annotation>
|
23
|
+
|
24
|
+
<xs:annotation>
|
25
|
+
<xs:documentation>
|
26
|
+
XML Event Attributes
|
27
|
+
|
28
|
+
These "global" event attributes are defined in "Attaching
|
29
|
+
Attributes Directly to the Observer Element" of the XML
|
30
|
+
Events specification.
|
31
|
+
</xs:documentation>
|
32
|
+
</xs:annotation>
|
33
|
+
|
34
|
+
<xs:attribute name="event" type="xs:NMTOKEN"/>
|
35
|
+
<xs:attribute name="observer" type="xs:IDREF"/>
|
36
|
+
<xs:attribute name="target" type="xs:IDREF"/>
|
37
|
+
<xs:attribute name="handler" type="xs:anyURI"/>
|
38
|
+
<xs:attribute name="phase" default="default">
|
39
|
+
<xs:simpleType>
|
40
|
+
<xs:restriction base="xs:NMTOKEN">
|
41
|
+
<xs:enumeration value="capture"/>
|
42
|
+
<xs:enumeration value="default"/>
|
43
|
+
</xs:restriction>
|
44
|
+
</xs:simpleType>
|
45
|
+
</xs:attribute>
|
46
|
+
<xs:attribute name="propagate" default="continue">
|
47
|
+
<xs:simpleType>
|
48
|
+
<xs:restriction base="xs:NMTOKEN">
|
49
|
+
<xs:enumeration value="stop"/>
|
50
|
+
<xs:enumeration value="continue"/>
|
51
|
+
</xs:restriction>
|
52
|
+
</xs:simpleType>
|
53
|
+
</xs:attribute>
|
54
|
+
<xs:attribute name="defaultAction" default="perform">
|
55
|
+
<xs:simpleType>
|
56
|
+
<xs:restriction base="xs:NMTOKEN">
|
57
|
+
<xs:enumeration value="cancel"/>
|
58
|
+
<xs:enumeration value="perform"/>
|
59
|
+
</xs:restriction>
|
60
|
+
</xs:simpleType>
|
61
|
+
</xs:attribute>
|
62
|
+
|
63
|
+
<xs:attributeGroup name="XmlEvents.attlist">
|
64
|
+
<xs:attribute ref="ev:event"/>
|
65
|
+
<xs:attribute ref="ev:observer"/>
|
66
|
+
<xs:attribute ref="ev:target"/>
|
67
|
+
<xs:attribute ref="ev:handler"/>
|
68
|
+
<xs:attribute ref="ev:phase"/>
|
69
|
+
<xs:attribute ref="ev:propagate"/>
|
70
|
+
<xs:attribute ref="ev:defaultAction"/>
|
71
|
+
</xs:attributeGroup>
|
72
|
+
|
73
|
+
</xs:schema>
|
@@ -0,0 +1,75 @@
|
|
1
|
+
<?xml version="1.0" encoding="UTF-8"?>
|
2
|
+
<xs:schema
|
3
|
+
targetNamespace="http://www.w3.org/2001/xml-events"
|
4
|
+
xmlns:ev="http://www.w3.org/2001/xml-events"
|
5
|
+
xmlns:xs="http://www.w3.org/2001/XMLSchema"
|
6
|
+
xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance"
|
7
|
+
xsi:schemaLocation="http://www.w3.org/2001/XMLSchema
|
8
|
+
http://www.w3.org/2001/XMLSchema.xsd"
|
9
|
+
elementFormDefault="unqualified"
|
10
|
+
blockDefault="#all"
|
11
|
+
finalDefault="#all"
|
12
|
+
attributeFormDefault="unqualified">
|
13
|
+
|
14
|
+
<xs:annotation>
|
15
|
+
<xs:documentation>
|
16
|
+
This is the XML Schema for XML Events global attributes
|
17
|
+
|
18
|
+
URI: http://www.w3.org/MarkUp/SCHEMA/xml-events-attribs-2.xsd
|
19
|
+
$Id: xml-events-attribs-2.xsd,v 1.2 2008/06/25 14:36:21 smccarro Exp $
|
20
|
+
</xs:documentation>
|
21
|
+
<xs:documentation source="xml-events-copyright-2.xsd"/>
|
22
|
+
</xs:annotation>
|
23
|
+
|
24
|
+
<xs:annotation>
|
25
|
+
<xs:documentation>
|
26
|
+
XML Event Attributes
|
27
|
+
|
28
|
+
These "global" event attributes are defined in "Attaching
|
29
|
+
Attributes Directly to the Observer Element" of the XML
|
30
|
+
Events specification.
|
31
|
+
</xs:documentation>
|
32
|
+
</xs:annotation>
|
33
|
+
|
34
|
+
<xs:attribute name="event" type="xs:NMTOKEN"/>
|
35
|
+
<xs:attribute name="observer" type="xs:IDREF"/>
|
36
|
+
<xs:attribute name="targetid" type="xs:IDREF"/>
|
37
|
+
<xs:attribute name="handler" type="xs:anyURI"/>
|
38
|
+
<xs:attribute name="phase" default="default">
|
39
|
+
<xs:simpleType>
|
40
|
+
<xs:restriction base="xs:NMTOKEN">
|
41
|
+
<xs:enumeration value="bubble"/>
|
42
|
+
<xs:enumeration value="capture"/>
|
43
|
+
<xs:enumeration value="default"/>
|
44
|
+
<xs:enumeration value="target"/>
|
45
|
+
</xs:restriction>
|
46
|
+
</xs:simpleType>
|
47
|
+
</xs:attribute>
|
48
|
+
<xs:attribute name="propagate" default="continue">
|
49
|
+
<xs:simpleType>
|
50
|
+
<xs:restriction base="xs:NMTOKEN">
|
51
|
+
<xs:enumeration value="stop"/>
|
52
|
+
<xs:enumeration value="continue"/>
|
53
|
+
</xs:restriction>
|
54
|
+
</xs:simpleType>
|
55
|
+
</xs:attribute>
|
56
|
+
<xs:attribute name="defaultAction" default="perform">
|
57
|
+
<xs:simpleType>
|
58
|
+
<xs:restriction base="xs:NMTOKEN">
|
59
|
+
<xs:enumeration value="cancel"/>
|
60
|
+
<xs:enumeration value="perform"/>
|
61
|
+
</xs:restriction>
|
62
|
+
</xs:simpleType>
|
63
|
+
</xs:attribute>
|
64
|
+
|
65
|
+
<xs:attributeGroup name="XmlEvents.attlist">
|
66
|
+
<xs:attribute ref="ev:event"/>
|
67
|
+
<xs:attribute ref="ev:observer"/>
|
68
|
+
<xs:attribute ref="ev:targetid"/>
|
69
|
+
<xs:attribute ref="ev:handler"/>
|
70
|
+
<xs:attribute ref="ev:phase"/>
|
71
|
+
<xs:attribute ref="ev:propagate"/>
|
72
|
+
<xs:attribute ref="ev:defaultAction"/>
|
73
|
+
</xs:attributeGroup>
|
74
|
+
|
75
|
+
</xs:schema>
|
@@ -0,0 +1,34 @@
|
|
1
|
+
<?xml version="1.0" encoding="UTF-8"?>
|
2
|
+
<xs:schema
|
3
|
+
targetNamespace="http://www.w3.org/2001/xml-events"
|
4
|
+
xmlns="http://www.w3.org/2001/xml-events"
|
5
|
+
xmlns:xs="http://www.w3.org/2001/XMLSchema"
|
6
|
+
elementFormDefault="unqualified"
|
7
|
+
blockDefault="#all"
|
8
|
+
finalDefault="#all"
|
9
|
+
attributeFormDefault="unqualified">
|
10
|
+
|
11
|
+
<xs:annotation>
|
12
|
+
<xs:documentation>
|
13
|
+
This is XML Events, a generalized event model for XML-based
|
14
|
+
markup languages.
|
15
|
+
|
16
|
+
Copyright 2001-2003 World Wide Web Consortium
|
17
|
+
(Massachusetts Institute of Technology, European Research
|
18
|
+
Consortium for Informatics and Mathematics, Keio University).
|
19
|
+
All Rights Reserved.
|
20
|
+
|
21
|
+
Permission to use, copy, modify and distribute the
|
22
|
+
XML Events Schema modules and their accompanying xs:documentation
|
23
|
+
for any purpose and without fee is hereby granted in perpetuity,
|
24
|
+
provided that the above copyright notice and this paragraph appear
|
25
|
+
in all copies.
|
26
|
+
|
27
|
+
The copyright holders make no representation about the suitability of
|
28
|
+
these XML Schema modules for any purpose.
|
29
|
+
|
30
|
+
They are provided "as is" without expressed or implied warranty.
|
31
|
+
</xs:documentation>
|
32
|
+
</xs:annotation>
|
33
|
+
|
34
|
+
</xs:schema>
|
@@ -0,0 +1,34 @@
|
|
1
|
+
<?xml version="1.0" encoding="UTF-8"?>
|
2
|
+
<xs:schema
|
3
|
+
targetNamespace="http://www.w3.org/2001/xml-events"
|
4
|
+
xmlns="http://www.w3.org/2001/xml-events"
|
5
|
+
xmlns:xs="http://www.w3.org/2001/XMLSchema"
|
6
|
+
elementFormDefault="unqualified"
|
7
|
+
blockDefault="#all"
|
8
|
+
finalDefault="#all"
|
9
|
+
attributeFormDefault="unqualified">
|
10
|
+
|
11
|
+
<xs:annotation>
|
12
|
+
<xs:documentation>
|
13
|
+
This is XML Events, a generalized event model for XML-based
|
14
|
+
markup languages.
|
15
|
+
|
16
|
+
Copyright 2001-2007 World Wide Web Consortium
|
17
|
+
(Massachusetts Institute of Technology, European Research
|
18
|
+
Consortium for Informatics and Mathematics, Keio University).
|
19
|
+
All Rights Reserved.
|
20
|
+
|
21
|
+
Permission to use, copy, modify and distribute the
|
22
|
+
XML Events Schema modules and their accompanying xs:documentation
|
23
|
+
for any purpose and without fee is hereby granted in perpetuity,
|
24
|
+
provided that the above copyright notice and this paragraph appear
|
25
|
+
in all copies.
|
26
|
+
|
27
|
+
The copyright holders make no representation about the suitability of
|
28
|
+
these XML Schema modules for any purpose.
|
29
|
+
|
30
|
+
They are provided "as is" without expressed or implied warranty.
|
31
|
+
</xs:documentation>
|
32
|
+
</xs:annotation>
|
33
|
+
|
34
|
+
</xs:schema>
|
@@ -0,0 +1,136 @@
|
|
1
|
+
<?xml version="1.0" encoding="UTF-8"?>
|
2
|
+
<xs:schema
|
3
|
+
targetNamespace="http://www.w3.org/2001/xml-events"
|
4
|
+
xmlns="http://www.w3.org/2001/xml-events"
|
5
|
+
xmlns:xh11d="http://www.w3.org/1999/xhtml/datatypes/"
|
6
|
+
xmlns:xs="http://www.w3.org/2001/XMLSchema"
|
7
|
+
xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance"
|
8
|
+
xsi:schemaLocation="http://www.w3.org/2001/XMLSchema
|
9
|
+
http://www.w3.org/2001/XMLSchema.xsd"
|
10
|
+
elementFormDefault="unqualified"
|
11
|
+
blockDefault="#all"
|
12
|
+
finalDefault="#all"
|
13
|
+
attributeFormDefault="unqualified">
|
14
|
+
|
15
|
+
<xs:annotation>
|
16
|
+
<xs:documentation>
|
17
|
+
This is the XML Schema for XML Handlers
|
18
|
+
|
19
|
+
URI: http://www.w3.org/MarkUp/SCHEMA/xml-handlers-1.xsd
|
20
|
+
$Id: xml-handlers-1.xsd,v 1.1 2008/06/25 14:36:29 smccarro Exp $
|
21
|
+
</xs:documentation>
|
22
|
+
<xs:documentation source="xml-events-copyright-2.xsd"/>
|
23
|
+
</xs:annotation>
|
24
|
+
|
25
|
+
<xs:attributeGroup name="action.attlist">
|
26
|
+
<xs:attribute name="event" use="required" type="xs:QName"/>
|
27
|
+
<xs:attribute name="targetid" type="xs:IDREF"/>
|
28
|
+
<xs:attribute name="declare">
|
29
|
+
<xs:simpleType>
|
30
|
+
<xs:restriction base="xs:NMTOKEN">
|
31
|
+
<xs:enumeration value="declare"/>
|
32
|
+
</xs:restriction>
|
33
|
+
</xs:simpleType>
|
34
|
+
</xs:attribute>
|
35
|
+
<xs:attribute name="if" type="xs:normalizedString"/>
|
36
|
+
<xs:attribute name="while" type="xs:normalizedString"/>
|
37
|
+
<xs:attribute name="id" type="xs:ID"/>
|
38
|
+
</xs:attributeGroup>
|
39
|
+
|
40
|
+
<xs:complexType name="action.type">
|
41
|
+
<xs:attributeGroup ref="action.attlist"/>
|
42
|
+
</xs:complexType>
|
43
|
+
|
44
|
+
<xs:element name="action" type="action.type"/>
|
45
|
+
|
46
|
+
<xs:attributeGroup name="dispatchEvent.attlist">
|
47
|
+
<xs:attribute name="raise" type="xs:QName"/>
|
48
|
+
<xs:attribute name="to" type="xs:IDREF"/>
|
49
|
+
<xs:attribute name="bubbles">
|
50
|
+
<xs:simpleType>
|
51
|
+
<xs:restriction base="xs:NMTOKEN">
|
52
|
+
<xs:enumeration value="bubbles"/>
|
53
|
+
</xs:restriction>
|
54
|
+
</xs:simpleType>
|
55
|
+
</xs:attribute>
|
56
|
+
<xs:attribute name="cancelable">
|
57
|
+
<xs:simpleType>
|
58
|
+
<xs:restriction base="xs:NMTOKEN">
|
59
|
+
<xs:enumeration value="cancelable"/>
|
60
|
+
</xs:restriction>
|
61
|
+
</xs:simpleType>
|
62
|
+
</xs:attribute>
|
63
|
+
<xs:attribute name="id" type="xs:ID"/>
|
64
|
+
</xs:attributeGroup>
|
65
|
+
|
66
|
+
<xs:complexType name="dispatchEvent.type">
|
67
|
+
<xs:attributeGroup ref="dispatchEvent.attlist"/>
|
68
|
+
</xs:complexType>
|
69
|
+
|
70
|
+
<xs:element name="dispatchEvent" type="dispatchEvent.type"/>
|
71
|
+
|
72
|
+
<xs:attributeGroup name="addEventListener.attlist">
|
73
|
+
<xs:attribute name="event" use="required" type="xs:QName"/>
|
74
|
+
<xs:attribute name="handler" use="required" type="xs:IDREF"/>
|
75
|
+
<xs:attribute name="phase" default="default">
|
76
|
+
<xs:simpleType>
|
77
|
+
<xs:restriction base="xs:NMTOKEN">
|
78
|
+
<xs:enumeration value="bubble"/>
|
79
|
+
<xs:enumeration value="capture"/>
|
80
|
+
<xs:enumeration value="default"/>
|
81
|
+
<xs:enumeration value="target"/>
|
82
|
+
</xs:restriction>
|
83
|
+
</xs:simpleType>
|
84
|
+
</xs:attribute>
|
85
|
+
<xs:attribute name="id" type="xs:ID"/>
|
86
|
+
</xs:attributeGroup>
|
87
|
+
|
88
|
+
<xs:complexType name="addEventListener.type">
|
89
|
+
<xs:attributeGroup ref="addEventListener.attlist"/>
|
90
|
+
</xs:complexType>
|
91
|
+
|
92
|
+
<xs:element name="addEventListener" type="addEventListener.type"/>
|
93
|
+
|
94
|
+
<xs:attributeGroup name="removeEventListener.attlist">
|
95
|
+
<xs:attribute name="event" use="required" type="xs:QName"/>
|
96
|
+
<xs:attribute name="handler" use="required" type="xs:IDREF"/>
|
97
|
+
<xs:attribute name="phase" default="default">
|
98
|
+
<xs:simpleType>
|
99
|
+
<xs:restriction base="xs:NMTOKEN">
|
100
|
+
<xs:enumeration value="bubble"/>
|
101
|
+
<xs:enumeration value="capture"/>
|
102
|
+
<xs:enumeration value="default"/>
|
103
|
+
<xs:enumeration value="target"/>
|
104
|
+
</xs:restriction>
|
105
|
+
</xs:simpleType>
|
106
|
+
</xs:attribute>
|
107
|
+
<xs:attribute name="id" type="xs:ID"/>
|
108
|
+
</xs:attributeGroup>
|
109
|
+
<xs:complexType name="removeEventListener.type">
|
110
|
+
<xs:attributeGroup ref="removeEventListener.attlist"/>
|
111
|
+
</xs:complexType>
|
112
|
+
|
113
|
+
<xs:element name="removeEventListener" type="removeEventListener.type"/>
|
114
|
+
|
115
|
+
<xs:attributeGroup name="stopPropagation.attlist">
|
116
|
+
<xs:attribute name="event" use="required" type="xs:QName"/>
|
117
|
+
<xs:attribute name="id" type="xs:ID"/>
|
118
|
+
</xs:attributeGroup>
|
119
|
+
|
120
|
+
<xs:complexType name="stopPropagation.type">
|
121
|
+
<xs:attributeGroup ref="stopPropagation.attlist"/>
|
122
|
+
</xs:complexType>
|
123
|
+
|
124
|
+
<xs:element name="stopPropagation" type="stopPropagation.type"/>
|
125
|
+
|
126
|
+
<xs:attributeGroup name="preventDefault.attlist">
|
127
|
+
<xs:attribute name="event" use="required" type="xs:QName"/>
|
128
|
+
<xs:attribute name="id" type="xs:ID"/>
|
129
|
+
</xs:attributeGroup>
|
130
|
+
|
131
|
+
<xs:complexType name="preventDefault.type">
|
132
|
+
<xs:attributeGroup ref="preventDefault.attlist"/>
|
133
|
+
</xs:complexType>
|
134
|
+
|
135
|
+
<xs:element name="preventDefault" type="stopPropagation.type"/>
|
136
|
+
</xs:schema>
|