html-validator 0.1.0 → 0.1.1
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/schemas/html5/applications.rng +472 -0
- data/schemas/html5/block.rng +351 -0
- data/schemas/html5/common.rng +586 -0
- data/schemas/html5/core-scripting.rng +683 -0
- data/schemas/html5/data.rng +112 -0
- data/schemas/html5/embed.rng +1044 -0
- data/schemas/html5/form-datatypes.rng +61 -0
- data/schemas/html5/html5.rng +65 -0
- data/schemas/html5/media.rng +355 -0
- data/schemas/html5/meta.rng +557 -0
- data/schemas/html5/phrase.rng +628 -0
- data/schemas/html5/revision.rng +100 -0
- data/schemas/html5/ruby.rng +80 -0
- data/schemas/html5/sectional.rng +236 -0
- data/schemas/html5/structural.rng +202 -0
- data/schemas/html5/tables.rng +377 -0
- data/schemas/html5/web-forms.rng +849 -0
- data/schemas/html5/web-forms2.rng +1388 -0
- data/schemas/html5/xhtml5.rng +46 -0
- metadata +20 -1
@@ -0,0 +1,46 @@
|
|
1
|
+
<?xml version="1.0" encoding="UTF-8"?>
|
2
|
+
<grammar xmlns:a="http://relaxng.org/ns/compatibility/annotations/1.0" xmlns="http://relaxng.org/ns/structure/1.0">
|
3
|
+
<!-- ##################################################################### -->
|
4
|
+
<include href="common.rng">
|
5
|
+
<a:documentation> RELAX NG Schema for XHTML 5 #</a:documentation>
|
6
|
+
<!-- ##################################################################### -->
|
7
|
+
<!--
|
8
|
+
To validate an XHTML 5 document, you must first validate against #
|
9
|
+
this schema and then ALSO validate against assertions.sch #
|
10
|
+
-->
|
11
|
+
<!-- ##################################################################### -->
|
12
|
+
<a:documentation>Schema Framework & Parameters</a:documentation>
|
13
|
+
<!-- XHTML flavor # -->
|
14
|
+
<define name="XMLonly">
|
15
|
+
<empty/>
|
16
|
+
</define>
|
17
|
+
<define name="HTMLonly">
|
18
|
+
<notAllowed/>
|
19
|
+
</define>
|
20
|
+
<!-- HTML 4 compat # -->
|
21
|
+
<define name="v5only">
|
22
|
+
<empty/>
|
23
|
+
</define>
|
24
|
+
</include>
|
25
|
+
<!-- ##################################################################### -->
|
26
|
+
<start>
|
27
|
+
<a:documentation>Language Definitions</a:documentation>
|
28
|
+
<ref name="html.elem"/>
|
29
|
+
</start>
|
30
|
+
<include href="meta.rng"/>
|
31
|
+
<include href="phrase.rng"/>
|
32
|
+
<include href="block.rng"/>
|
33
|
+
<include href="sectional.rng"/>
|
34
|
+
<include href="structural.rng"/>
|
35
|
+
<include href="revision.rng"/>
|
36
|
+
<include href="embed.rng"/>
|
37
|
+
<include href="ruby.rng"/>
|
38
|
+
<include href="media.rng"/>
|
39
|
+
<include href="core-scripting.rng"/>
|
40
|
+
<include href="tables.rng"/>
|
41
|
+
<include href="form-datatypes.rng"/>
|
42
|
+
<include href="web-forms.rng"/>
|
43
|
+
<include href="web-forms2.rng"/>
|
44
|
+
<include href="applications.rng"/>
|
45
|
+
<include href="data.rng"/>
|
46
|
+
</grammar>
|
metadata
CHANGED
@@ -2,7 +2,7 @@
|
|
2
2
|
name: html-validator
|
3
3
|
version: !ruby/object:Gem::Version
|
4
4
|
prerelease:
|
5
|
-
version: 0.1.
|
5
|
+
version: 0.1.1
|
6
6
|
platform: ruby
|
7
7
|
authors:
|
8
8
|
- TeamIguana
|
@@ -68,6 +68,25 @@ files:
|
|
68
68
|
- lib/html-validator.rb
|
69
69
|
- schemas/xml.xsd
|
70
70
|
- schemas/xhtml1-transitional.xsd
|
71
|
+
- schemas/html5/web-forms2.rng
|
72
|
+
- schemas/html5/ruby.rng
|
73
|
+
- schemas/html5/xhtml5.rng
|
74
|
+
- schemas/html5/form-datatypes.rng
|
75
|
+
- schemas/html5/embed.rng
|
76
|
+
- schemas/html5/sectional.rng
|
77
|
+
- schemas/html5/revision.rng
|
78
|
+
- schemas/html5/core-scripting.rng
|
79
|
+
- schemas/html5/common.rng
|
80
|
+
- schemas/html5/applications.rng
|
81
|
+
- schemas/html5/html5.rng
|
82
|
+
- schemas/html5/block.rng
|
83
|
+
- schemas/html5/tables.rng
|
84
|
+
- schemas/html5/structural.rng
|
85
|
+
- schemas/html5/meta.rng
|
86
|
+
- schemas/html5/phrase.rng
|
87
|
+
- schemas/html5/media.rng
|
88
|
+
- schemas/html5/web-forms.rng
|
89
|
+
- schemas/html5/data.rng
|
71
90
|
homepage: https://github.com/TeamIguana/html-validator
|
72
91
|
licenses: []
|
73
92
|
post_install_message:
|