1 default namespace = "http://www.w3.org/1999/xhtml"
2 # #####################################################################
3 ## RELAX NG Schema for HTML 5 #
4 # #####################################################################
6 # To validate an HTML 5 document, you must first validate against #
7 # this schema and then ALSO validate against assertions.sch #
9 ## HTML flavor RELAX NG schemas can only be used after the #
10 ## document has been transformed to well-formed XML. #
11 ## - Insert closing slashes in all empty element tags #
12 ## - Insert all optional start and end tags #
13 ## - Add xmlns "http://www.w3.org/1999/xhtml" #
14 ## - Properly escape <script> and <style> CDATA #
15 ## - Parse and transform all HTML-only entities to numeric #
16 ## character references #
17 ## Obviously, syntax-checking involving these features cannot be #
18 ## done by the RELAX NG schema and must be checked, along with the #
19 ## <!DOCTYPE> requirement, by some other application. #
21 # #####################################################################
22 ## Schema Framework & Parameters
24 include "common.rnc" {
30 # HTML-serializability #
31 nonHTMLizable = notAllowed
32 # HTML-roundtrippability #
33 nonRoundtrippable = notAllowed
36 # #####################################################################
37 ## Language Definitions
44 include "sectional.rnc"
45 include "structural.rnc"
46 include "revision.rnc"
50 include "core-scripting.rnc"
52 include "form-datatypes.rnc"
53 include "web-forms.rnc"
54 include "web-forms2.rnc"
55 include "applications.rnc"