1 default namespace = "http://www.w3.org/1999/xhtml"
2 # #####################################################################
3 ## RELAX NG Schema for (X)HTML 5: Exclusions #
4 # #####################################################################
6 ## This file is unmaintained. Please use assertions.sch instead.
8 # #####################################################################
9 ## Schema Framework & Parameters
11 start = normal.elem.all-inclusive
13 # #####################################################################
14 ## Normal Element Patterns
16 ## Any attribute from any namespace
18 normal.attr.anything =
21 ## Any element from any namespace except exceptional elements,
22 ## but allowing those elements as descendants
26 normal.elem.all-inclusive
29 ## Any element from any namespace including exceptional elements
31 normal.elem.all-inclusive =
32 wildcard.elem.exclude-all | dfn.elem.exclude-self
35 # #####################################################################
36 ## Exclusion Element Patterns
38 # exclude all exceptional elements from the name classes;
39 # list them explicitly in content models instead
41 normal.elem.exclude-dfn =
43 normal.elem.exclude-dfn
46 dfn.elem.exclude-self =
48 ( normal.attr.anything
49 & normal.elem.exclude-dfn
53 # FIXME this part was cut off -- hsivonen
54 wildcard.elem.exclude-all =
57 #FIXME no nested forms in HTML-serializable docs
59 #FIXME no nested labels
61 #FIXME no blockquote inside header or footer
63 #FIXME exactly one hn in header