From 8cd39fb3c4cf47d2464f00eaa69c587e17dd11cc Mon Sep 17 00:00:00 2001 From: "Mark A. Hershberger" Date: Fri, 23 Nov 2007 06:58:00 +0000 Subject: Initial merge of nxml --- etc/schema/xhtml-events.rnc | 47 +++++++++++++++++++++++++++++++++++++++++++++ 1 file changed, 47 insertions(+) create mode 100644 etc/schema/xhtml-events.rnc (limited to 'etc/schema/xhtml-events.rnc') diff --git a/etc/schema/xhtml-events.rnc b/etc/schema/xhtml-events.rnc new file mode 100644 index 00000000000..536874201e1 --- /dev/null +++ b/etc/schema/xhtml-events.rnc @@ -0,0 +1,47 @@ +# Events Module + +a.attlist &= + attribute onblur { Script.datatype }?, + attribute onfocus { Script.datatype }? +area.attlist &= + attribute onblur { Script.datatype }?, + attribute onfocus { Script.datatype }? +form.attlist &= + attribute onreset { Script.datatype }?, + attribute onsubmit { Script.datatype }? +body.attlist &= + attribute onload { Script.datatype }?, + attribute onunload { Script.datatype }? +label.attlist &= + attribute onblur { Script.datatype }?, + attribute onfocus { Script.datatype }? +input.attlist &= + attribute onblur { Script.datatype }?, + attribute onchange { Script.datatype }?, + attribute onfocus { Script.datatype }?, + attribute onselect { Script.datatype }? +select.attlist &= + attribute onblur { Script.datatype }?, + attribute onchange { Script.datatype }?, + attribute onfocus { Script.datatype }? +textarea.attlist &= + attribute onblur { Script.datatype }?, + attribute onchange { Script.datatype }?, + attribute onfocus { Script.datatype }?, + attribute onselect { Script.datatype }? +button.attlist &= + attribute onblur { Script.datatype }?, + attribute onfocus { Script.datatype }? +Events.attrib = + attribute onclick { Script.datatype }?, + attribute ondblclick { Script.datatype }?, + attribute onmousedown { Script.datatype }?, + attribute onmouseup { Script.datatype }?, + attribute onmouseover { Script.datatype }?, + attribute onmousemove { Script.datatype }?, + attribute onmouseout { Script.datatype }?, + attribute onkeypress { Script.datatype }?, + attribute onkeydown { Script.datatype }?, + attribute onkeyup { Script.datatype }? +Common.attrib &= Events.attrib +CommonIdRequired.attrib &= Events.attrib -- cgit v1.2.3