Copy the remaining parts of the XForms 2.0 RNC schema (but not the XHTML+XForms integration) from http://www.w3.org/MarkUp/Forms/wiki/XForms_2.0_RNC_Schema
authorklotz
Thu, 19 Apr 2012 10:37:38 -0700
changeset 5 99f377758629
parent 4 6e579ed4de65
child 6 db323dd24b22
Copy the remaining parts of the XForms 2.0 RNC schema (but not the XHTML+XForms integration) from http://www.w3.org/MarkUp/Forms/wiki/XForms_2.0_RNC_Schema
2.0/core/schema/rng/xforms-20.rnc
2.0/core/schema/rng/xforms-navindex.rnc
2.0/core/schema/rng/xml-events-2.rnc
--- /dev/null	Thu Jan 01 00:00:00 1970 +0000
+++ b/2.0/core/schema/rng/xforms-20.rnc	Thu Apr 19 10:37:38 2012 -0700
@@ -0,0 +1,216 @@
+<!DOCTYPE html PUBLIC "-//W3C//DTD XHTML 1.0 Transitional//EN" "http://www.w3.org/TR/xhtml1/DTD/xhtml1-transitional.dtd">
+            <html xmlns="http://www.w3.org/1999/xhtml" xml:lang="en" dir="ltr">
+	<head>
+		<meta http-equiv="Content-Type" content="text/html; charset=utf-8" />
+		<meta http-equiv="Content-Style-Type" content="text/css" />
+		<meta name="generator" content="MediaWiki 1.15.5" />
+		<meta name="keywords" content="XForms-20.rnc" />
+		<link rel="shortcut icon" href="/favicon.ico" />
+		<link rel="search" type="application/opensearchdescription+xml" href="/MarkUp/Forms/wiki/opensearch_desc.php" title="W3C XForms Group Wiki (Public) (en)" />
+		<link rel="alternate" type="application/rss+xml" title="W3C XForms Group Wiki (Public) RSS feed" href="/MarkUp/Forms/wiki/index.php?title=Special:RecentChanges&amp;feed=rss" />
+		<link rel="alternate" type="application/atom+xml" title="W3C XForms Group Wiki (Public) Atom feed" href="/MarkUp/Forms/wiki/index.php?title=Special:RecentChanges&amp;feed=atom" />
+		<title>XForms-20.rnc - W3C XForms Group Wiki (Public)</title>
+		<link rel="stylesheet" href="/MarkUp/Forms/wiki/skins/common/shared.css?207" type="text/css" media="screen" />
+		<link rel="stylesheet" href="/MarkUp/Forms/wiki/skins/common/commonPrint.css?207" type="text/css" media="print" />
+		<link rel="stylesheet" href="/MarkUp/Forms/wiki/skins/w3cmonobook/main.css?207" type="text/css" media="screen" />
+		<!--[if lt IE 5.5000]><link rel="stylesheet" href="/MarkUp/Forms/wiki/skins/w3cmonobook/IE50Fixes.css?207" type="text/css" media="screen" /><![endif]-->
+		<!--[if IE 5.5000]><link rel="stylesheet" href="/MarkUp/Forms/wiki/skins/w3cmonobook/IE55Fixes.css?207" type="text/css" media="screen" /><![endif]-->
+		<!--[if IE 6]><link rel="stylesheet" href="/MarkUp/Forms/wiki/skins/w3cmonobook/IE60Fixes.css?207" type="text/css" media="screen" /><![endif]-->
+		<!--[if IE 7]><link rel="stylesheet" href="/MarkUp/Forms/wiki/skins/w3cmonobook/IE70Fixes.css?207" type="text/css" media="screen" /><![endif]-->
+		<link rel="stylesheet" href="/MarkUp/Forms/wiki/index.php?title=MediaWiki:Common.css&amp;usemsgcache=yes&amp;ctype=text%2Fcss&amp;smaxage=18000&amp;action=raw&amp;maxage=18000" type="text/css" />
+		<link rel="stylesheet" href="/MarkUp/Forms/wiki/index.php?title=MediaWiki:Print.css&amp;usemsgcache=yes&amp;ctype=text%2Fcss&amp;smaxage=18000&amp;action=raw&amp;maxage=18000" type="text/css" media="print" />
+		<link rel="stylesheet" href="/MarkUp/Forms/wiki/index.php?title=MediaWiki:W3cmonobook.css&amp;usemsgcache=yes&amp;ctype=text%2Fcss&amp;smaxage=18000&amp;action=raw&amp;maxage=18000" type="text/css" />
+		<link rel="stylesheet" href="/MarkUp/Forms/wiki/index.php?title=-&amp;action=raw&amp;maxage=18000&amp;gen=css" type="text/css" />
+		<!--[if lt IE 7]><script type="text/javascript" src="/MarkUp/Forms/wiki/skins/common/IEFixes.js?207"></script>
+		<meta http-equiv="imagetoolbar" content="no" /><![endif]-->
+
+		<script type= "text/javascript">/*<![CDATA[*/
+		var skin = "w3cmonobook";
+		var stylepath = "/MarkUp/Forms/wiki/skins";
+		var wgArticlePath = "/MarkUp/Forms/wiki/$1";
+		var wgScriptPath = "/MarkUp/Forms/wiki";
+		var wgScript = "/MarkUp/Forms/wiki/index.php";
+		var wgVariantArticlePath = false;
+		var wgActionPaths = {};
+		var wgServer = "http://www.w3.org";
+		var wgCanonicalNamespace = "";
+		var wgCanonicalSpecialPageName = false;
+		var wgNamespaceNumber = 0;
+		var wgPageName = "XForms-20.rnc";
+		var wgTitle = "XForms-20.rnc";
+		var wgAction = "view";
+		var wgArticleId = "371";
+		var wgIsArticle = true;
+		var wgUserName = null;
+		var wgUserGroups = null;
+		var wgUserLanguage = "en";
+		var wgContentLanguage = "en";
+		var wgBreakFrames = false;
+		var wgCurRevisionId = 3031;
+		var wgVersion = "1.15.5";
+		var wgEnableAPI = true;
+		var wgEnableWriteAPI = true;
+		var wgSeparatorTransformTable = ["", ""];
+		var wgDigitTransformTable = ["", ""];
+		var wgRestrictionEdit = [];
+		var wgRestrictionMove = [];
+		/*]]>*/</script>
+
+		<script type="text/javascript" src="/MarkUp/Forms/wiki/skins/common/wikibits.js?207"><!-- wikibits js --></script>
+		<!-- Head Scripts -->
+		<script type="text/javascript" src="/MarkUp/Forms/wiki/skins/common/ajax.js?207"></script>
+		<script type="text/javascript" src="/MarkUp/Forms/wiki/index.php?title=-&amp;action=raw&amp;gen=js&amp;useskin=w3cmonobook"><!-- site js --></script>
+	</head>
+<body class="mediawiki ltr ns-0 ns-subject page-XForms-20_rnc skin-w3cmonobook">
+	<div id="globalWrapper">
+		<div id="column-content">
+	<div id="content">
+		<a id="top"></a>
+				<h1 id="firstHeading" class="firstHeading">XForms-20.rnc</h1>
+		<div id="bodyContent">
+			<h3 id="siteSub">From W3C XForms Group Wiki (Public)</h3>
+			<div id="contentSub"></div>
+									<div id="jump-to-nav">Jump to: <a href="#column-one">navigation</a>, <a href="#searchInput">search</a></div>			<!-- start content -->
+			<a name="xforms-20.rnc" id="xforms-20.rnc"></a><h2> <span class="mw-headline"> xforms-20.rnc </span></h2>
+<pre>
+# -*- rnc -*-
+# Namespaced XForms 2.0 schema in RELAX NG
+# 
+#    Copyright (C) 2009-2011 W3C (R); (MIT, ERCIM, Keio), All Rights Reserved.
+# 
+# 
+#    Permission to use, copy, modify and distribute this RELAX NG schema
+#    for XForms 2.0 and its accompanying documentation for any purpose and
+#    without fee is hereby granted in perpetuity, provided that the above
+#    copyright notice and this paragraph appear in all copies. The copyright
+#    holders make no representation about the suitability of this RELAX NG
+#    schema for any purpose.
+# 
+#    It is provided &quot;as is&quot; without expressed or implied warranty.
+#    For details, please refer to the W3C software license at:
+# 
+# http://www.w3.org/Consortium/Legal/copyright-software
+
+namespace xf = &quot;http://www.w3.org/2002/xforms&quot;
+
+include &quot;xforms-nons-20.rnc&quot; inherit = xf {
+  xforms.anyForeignElement = element (* - xf:*) {
+    (attribute * { text }
+     | text
+     | xforms.anyForeignElement)*
+  }
+}
+
+# repeat attributes in xf namespace
+xforms.repeat-nodeset.attr = attribute xf:repeat-nodeset { XPathExpression } # deprecated
+xforms.repeat-ref.attr = attribute xf:repeat-ref { XPathExpression }
+xforms.repeat-indexref.attr = attribute xf:repeat-indexref { XPathExpression }
+xforms.repeat-bind.attr = attribute xf:repeat-bind  { xsd:IDREF }
+xforms.repeat-model.attr = attribute xf:repeat-mode { xsd:IDREF }
+xforms.repeat-startindex.attr = attribute xf:repeat-startindex { xsd:positiveInteger }
+xforms.repeat-number.attr = attribute xf:repeat-number { xsd:nonNegativeInteger }
+xforms.repeat-various.attrs = xforms.repeat-ref.attr?,
+   xforms.repeat-nodeset.attr?, xforms.repeat-bind.attr?,
+   xforms.repeat-model.attr?, xforms.repeat-startindex.attr?, xforms.repeat-number.attr?,
+   xforms.repeat-indexref?
+
+# xforms elements
+xforms.group.attrib &amp;= xforms.repeat-various.attrs
+
+# bind and ref attributes in xf namespace
+xforms.bind.attr = attribute xf:bind { xsd:IDRef }
+xforms.ref.attr = attribute xf:ref { XPathExpression }
+
+</pre>
+<hr />
+
+<!-- 
+NewPP limit report
+Preprocessor node count: 5/1000000
+Post-expand include size: 0/2097152 bytes
+Template argument size: 0/2097152 bytes
+Expensive parser function count: 0/100
+-->
+
+<!-- Saved in parser cache with key wikidb-forms_:pcache:idhash:371-0!1!0!!en!2!edit=0 and timestamp 20120419173534 -->
+<div class="printfooter">
+Retrieved from "<a href="http://www.w3.org/MarkUp/Forms/wiki/XForms-20.rnc">http://www.w3.org/MarkUp/Forms/wiki/XForms-20.rnc</a>"</div>
+			<div id='catlinks' class='catlinks'><div id="mw-normal-catlinks"><a href="/MarkUp/Forms/wiki/Special:Categories" title="Special:Categories">Category</a>:&#32;<span dir='ltr'><a href="/MarkUp/Forms/wiki/Category:XForms20" title="Category:XForms20">XForms20</a></span></div></div>			<!-- end content -->
+						<div class="visualClear"></div>
+		</div>
+	</div>
+		</div>
+		<div id="column-one">
+	<div id="p-cactions" class="portlet">
+		<h5>Views</h5>
+		<div class="pBody">
+			<ul>
+	
+				 <li id="ca-nstab-main" class="selected"><a href="/MarkUp/Forms/wiki/XForms-20.rnc" title="View the content page [c]" accesskey="c">Page</a></li>
+				 <li id="ca-talk" class="new"><a href="/MarkUp/Forms/wiki/index.php?title=Talk:XForms-20.rnc&amp;action=edit&amp;redlink=1" title="Discussion about the content page [t]" accesskey="t">Discussion</a></li>
+				 <li id="ca-viewsource"><a href="/MarkUp/Forms/wiki/index.php?title=XForms-20.rnc&amp;action=edit" title="This page is protected.&#10;You can view its source [e]" accesskey="e">View source</a></li>
+				 <li id="ca-history"><a href="/MarkUp/Forms/wiki/index.php?title=XForms-20.rnc&amp;action=history" title="Past revisions of this page [h]" accesskey="h">History</a></li>			</ul>
+		</div>
+	</div>
+	<div class="portlet" id="p-personal">
+		<h5>Personal tools</h5>
+		<div class="pBody">
+			<ul>
+				<li id="pt-login"><a href="/MarkUp/Forms/wiki/index.php?title=Special:UserLogin&amp;returnto=XForms-20.rnc" title="You are encouraged to log in; however, it is not mandatory [o]" accesskey="o">Log in</a></li>
+			</ul>
+		</div>
+	</div>
+	<div class="portlet" id="p-logo">
+		<a style="background-image: url(/Icons/w3c_home);" href="/MarkUp/Forms/wiki/Main_Page" title="Visit the main page [z]" accesskey="z"></a>
+	</div>
+	<script type="text/javascript"> if (window.isMSIE55) fixalpha(); </script>
+	<div class='generated-sidebar portlet' id='p-navigation'>
+		<h5>Navigation</h5>
+		<div class='pBody'>
+			<ul>
+				<li id="n-mainpage-description"><a href="/MarkUp/Forms/wiki/Main_Page">Main page</a></li>
+				<li id="n-portal"><a href="/MarkUp/Forms/wiki/W3C_XForms_Group_Wiki_(Public):Community_Portal" title="About the project, what you can do, where to find things">Community portal</a></li>
+				<li id="n-currentevents"><a href="/MarkUp/Forms/wiki/W3C_XForms_Group_Wiki_(Public):Current_events" title="Find background information on current events">Current events</a></li>
+				<li id="n-recentchanges"><a href="/MarkUp/Forms/wiki/Special:RecentChanges" title="The list of recent changes in the wiki [r]" accesskey="r">Recent changes</a></li>
+				<li id="n-randompage"><a href="/MarkUp/Forms/wiki/Special:Random" title="Load a random page [x]" accesskey="x">Random page</a></li>
+				<li id="n-help"><a href="/MarkUp/Forms/wiki/Help:Contents" title="The place to find out">Help</a></li>
+			</ul>
+		</div>
+	</div>
+	<div id="p-search" class="portlet">
+		<h5><label for="searchInput">Search</label></h5>
+		<div id="searchBody" class="pBody">
+			<form action="/MarkUp/Forms/wiki/index.php" id="searchform"><div>
+				<input type='hidden' name="title" value="Special:Search"/>
+				<input id="searchInput" name="search" type="text" title="Search W3C XForms Group Wiki (Public) [f]" accesskey="f" value="" />
+				<input type='submit' name="go" class="searchButton" id="searchGoButton"	value="Go" title="Go to a page with this exact name if exists" />&nbsp;
+				<input type='submit' name="fulltext" class="searchButton" id="mw-searchButton" value="Search" title="Search the pages for this text" />
+			</div></form>
+		</div>
+	</div>
+	<div class="portlet" id="p-tb">
+		<h5>Toolbox</h5>
+		<div class="pBody">
+			<ul>
+				<li id="t-whatlinkshere"><a href="/MarkUp/Forms/wiki/Special:WhatLinksHere/XForms-20.rnc" title="List of all wiki pages that link here [j]" accesskey="j">What links here</a></li>
+				<li id="t-recentchangeslinked"><a href="/MarkUp/Forms/wiki/Special:RecentChangesLinked/XForms-20.rnc" title="Recent changes in pages linked from this page [k]" accesskey="k">Related changes</a></li>
+<li id="t-specialpages"><a href="/MarkUp/Forms/wiki/Special:SpecialPages" title="List of all special pages [q]" accesskey="q">Special pages</a></li>
+				<li id="t-print"><a href="/MarkUp/Forms/wiki/index.php?title=XForms-20.rnc&amp;printable=yes" rel="alternate" title="Printable version of this page [p]" accesskey="p">Printable version</a></li>				<li id="t-permalink"><a href="/MarkUp/Forms/wiki/index.php?title=XForms-20.rnc&amp;oldid=3031" title="Permanent link to this revision of the page">Permanent link</a></li>			</ul>
+		</div>
+	</div>
+		</div><!-- end of the left (by default at least) column -->
+			<div class="visualClear"></div>
+			<div id="footer">
+				<div id="f-poweredbyico"><a href="http://www.mediawiki.org/"><img src="/MarkUp/Forms/wiki/skins/common/images/poweredby_mediawiki_88x31.png" alt="Powered by MediaWiki" /></a></div>
+			<ul id="f-list">
+					<li id="lastmod"> This page was last modified on 31 August 2011, at 18:18.</li>
+					<li id="viewcount">This page has been accessed 121 times.</li>
+					<li id="privacy"><a href="/MarkUp/Forms/wiki/W3C_XForms_Group_Wiki_(Public):Privacy_policy" title="W3C XForms Group Wiki (Public):Privacy policy">Privacy policy</a></li>
+					<li id="about"><a href="/MarkUp/Forms/wiki/W3C_XForms_Group_Wiki_(Public):About" title="W3C XForms Group Wiki (Public):About">About W3C XForms Group Wiki (Public)</a></li>
+					<li id="disclaimer"><a href="/MarkUp/Forms/wiki/W3C_XForms_Group_Wiki_(Public):General_disclaimer" title="W3C XForms Group Wiki (Public):General disclaimer">Disclaimers</a></li>
+			</ul>
+		</div>
+</div>
+
+		<script type="text/javascript">if (window.runOnloadHook) runOnloadHook();</script>
+<!-- Served in 0.184 secs. --></body></html>
--- /dev/null	Thu Jan 01 00:00:00 1970 +0000
+++ b/2.0/core/schema/rng/xforms-navindex.rnc	Thu Apr 19 10:37:38 2012 -0700
@@ -0,0 +1,19 @@
+# -*- rnc -*-
+# XForms 1.1 navindex module 
+#
+# Copyright (C) 2009 W3C (R); (MIT, ERCIM, Keio), All Rights Reserved.
+# 
+# Permission to use, copy, modify and distribute this RELAX NG schema
+# for XForms 1.1 and its accompanying documentation for any purpose and
+# without fee is hereby granted in perpetuity, provided that the above
+# copyright notice and this paragraph appear in all copies. The copyright
+# holders make no representation about the suitability of this RELAX NG
+# schema for any purpose.
+# 
+# It is provided "as is" without expressed or implied warranty.
+# For details, please refer to the W3C software license at:
+# 
+#   http://www.w3.org/Consortium/Legal/copyright-software
+
+xforms.UI.Common.attrib &= attribute navindex { Number.datatype }?
+
--- /dev/null	Thu Jan 01 00:00:00 1970 +0000
+++ b/2.0/core/schema/rng/xml-events-2.rnc	Thu Apr 19 10:37:38 2012 -0700
@@ -0,0 +1,233 @@
+<!DOCTYPE html PUBLIC "-//W3C//DTD XHTML 1.0 Transitional//EN" "http://www.w3.org/TR/xhtml1/DTD/xhtml1-transitional.dtd">
+            <html xmlns="http://www.w3.org/1999/xhtml" xml:lang="en" dir="ltr">
+	<head>
+		<meta http-equiv="Content-Type" content="text/html; charset=utf-8" />
+		<meta http-equiv="Content-Style-Type" content="text/css" />
+		<meta name="generator" content="MediaWiki 1.15.5" />
+		<meta name="keywords" content="XML-events-2.rnc" />
+		<link rel="shortcut icon" href="/favicon.ico" />
+		<link rel="search" type="application/opensearchdescription+xml" href="/MarkUp/Forms/wiki/opensearch_desc.php" title="W3C XForms Group Wiki (Public) (en)" />
+		<link rel="alternate" type="application/rss+xml" title="W3C XForms Group Wiki (Public) RSS feed" href="/MarkUp/Forms/wiki/index.php?title=Special:RecentChanges&amp;feed=rss" />
+		<link rel="alternate" type="application/atom+xml" title="W3C XForms Group Wiki (Public) Atom feed" href="/MarkUp/Forms/wiki/index.php?title=Special:RecentChanges&amp;feed=atom" />
+		<title>XML-events-2.rnc - W3C XForms Group Wiki (Public)</title>
+		<link rel="stylesheet" href="/MarkUp/Forms/wiki/skins/common/shared.css?207" type="text/css" media="screen" />
+		<link rel="stylesheet" href="/MarkUp/Forms/wiki/skins/common/commonPrint.css?207" type="text/css" media="print" />
+		<link rel="stylesheet" href="/MarkUp/Forms/wiki/skins/w3cmonobook/main.css?207" type="text/css" media="screen" />
+		<!--[if lt IE 5.5000]><link rel="stylesheet" href="/MarkUp/Forms/wiki/skins/w3cmonobook/IE50Fixes.css?207" type="text/css" media="screen" /><![endif]-->
+		<!--[if IE 5.5000]><link rel="stylesheet" href="/MarkUp/Forms/wiki/skins/w3cmonobook/IE55Fixes.css?207" type="text/css" media="screen" /><![endif]-->
+		<!--[if IE 6]><link rel="stylesheet" href="/MarkUp/Forms/wiki/skins/w3cmonobook/IE60Fixes.css?207" type="text/css" media="screen" /><![endif]-->
+		<!--[if IE 7]><link rel="stylesheet" href="/MarkUp/Forms/wiki/skins/w3cmonobook/IE70Fixes.css?207" type="text/css" media="screen" /><![endif]-->
+		<link rel="stylesheet" href="/MarkUp/Forms/wiki/index.php?title=MediaWiki:Common.css&amp;usemsgcache=yes&amp;ctype=text%2Fcss&amp;smaxage=18000&amp;action=raw&amp;maxage=18000" type="text/css" />
+		<link rel="stylesheet" href="/MarkUp/Forms/wiki/index.php?title=MediaWiki:Print.css&amp;usemsgcache=yes&amp;ctype=text%2Fcss&amp;smaxage=18000&amp;action=raw&amp;maxage=18000" type="text/css" media="print" />
+		<link rel="stylesheet" href="/MarkUp/Forms/wiki/index.php?title=MediaWiki:W3cmonobook.css&amp;usemsgcache=yes&amp;ctype=text%2Fcss&amp;smaxage=18000&amp;action=raw&amp;maxage=18000" type="text/css" />
+		<link rel="stylesheet" href="/MarkUp/Forms/wiki/index.php?title=-&amp;action=raw&amp;maxage=18000&amp;gen=css" type="text/css" />
+		<!--[if lt IE 7]><script type="text/javascript" src="/MarkUp/Forms/wiki/skins/common/IEFixes.js?207"></script>
+		<meta http-equiv="imagetoolbar" content="no" /><![endif]-->
+
+		<script type= "text/javascript">/*<![CDATA[*/
+		var skin = "w3cmonobook";
+		var stylepath = "/MarkUp/Forms/wiki/skins";
+		var wgArticlePath = "/MarkUp/Forms/wiki/$1";
+		var wgScriptPath = "/MarkUp/Forms/wiki";
+		var wgScript = "/MarkUp/Forms/wiki/index.php";
+		var wgVariantArticlePath = false;
+		var wgActionPaths = {};
+		var wgServer = "http://www.w3.org";
+		var wgCanonicalNamespace = "";
+		var wgCanonicalSpecialPageName = false;
+		var wgNamespaceNumber = 0;
+		var wgPageName = "XML-events-2.rnc";
+		var wgTitle = "XML-events-2.rnc";
+		var wgAction = "view";
+		var wgArticleId = "377";
+		var wgIsArticle = true;
+		var wgUserName = null;
+		var wgUserGroups = null;
+		var wgUserLanguage = "en";
+		var wgContentLanguage = "en";
+		var wgBreakFrames = false;
+		var wgCurRevisionId = 2992;
+		var wgVersion = "1.15.5";
+		var wgEnableAPI = true;
+		var wgEnableWriteAPI = true;
+		var wgSeparatorTransformTable = ["", ""];
+		var wgDigitTransformTable = ["", ""];
+		var wgRestrictionEdit = [];
+		var wgRestrictionMove = [];
+		/*]]>*/</script>
+
+		<script type="text/javascript" src="/MarkUp/Forms/wiki/skins/common/wikibits.js?207"><!-- wikibits js --></script>
+		<!-- Head Scripts -->
+		<script type="text/javascript" src="/MarkUp/Forms/wiki/skins/common/ajax.js?207"></script>
+		<script type="text/javascript" src="/MarkUp/Forms/wiki/index.php?title=-&amp;action=raw&amp;gen=js&amp;useskin=w3cmonobook"><!-- site js --></script>
+	</head>
+<body class="mediawiki ltr ns-0 ns-subject page-XML-events-2_rnc skin-w3cmonobook">
+	<div id="globalWrapper">
+		<div id="column-content">
+	<div id="content">
+		<a id="top"></a>
+				<h1 id="firstHeading" class="firstHeading">XML-events-2.rnc</h1>
+		<div id="bodyContent">
+			<h3 id="siteSub">From W3C XForms Group Wiki (Public)</h3>
+			<div id="contentSub"></div>
+									<div id="jump-to-nav">Jump to: <a href="#column-one">navigation</a>, <a href="#searchInput">search</a></div>			<!-- start content -->
+			<a name="xml-events-2.rnc" id="xml-events-2.rnc"></a><h2> <span class="mw-headline">xml-events-2.rnc</span></h2>
+<pre>
+# -*- rnc -*-
+default namespace ev = &quot;http://www.w3.org/2001/xml-events&quot;
+namespace x = &quot;http://www.w3.org/1999/xhtml&quot;
+
+x:h1 [ &quot;XML Events Module in RELAX NG&quot; ]
+x:pre [
+  &quot;\x{a}&quot; ~
+  &quot;    This is the RELAX NG Schema for the XML Events 2 XML Events module.\x{a}&quot; ~
+  &quot;    \x{a}&quot; ~
+  &quot;    Copyright (C) 2003-2009 W3C (R) (MIT, ERCIM, Keio), All Rights Reserved.\x{a}&quot; ~
+  &quot;\x{a}&quot; ~
+  &quot;    URI: http://www.w3.org/MarkUp/RELAXNG/xml-events-2.rng\x{a}&quot; ~
+  &quot;    Editors:   Masayasu Ishikawa &lt;mimasa@w3.org&gt;\x{a}&quot; ~
+  &quot;               Markus Gylling &lt;markus.gylling@tpb.se&gt;\x{a}&quot; ~
+  &quot;    Revision: $Id: xml-events-2.rng,v 1.1.2.3 2009/02/25 12:09:46 mgylling Exp $\x{a}&quot; ~
+  &quot;\x{a}&quot; ~
+  &quot;    Permission to use, copy, modify and distribute this RELAX NG schema\x{a}&quot; ~
+  &quot;    for XML Events and its accompanying documentation for any purpose and\x{a}&quot; ~
+  &quot;    without fee is hereby granted in perpetuity, provided that the above\x{a}&quot; ~
+  &quot;    copyright notice and this paragraph appear in all copies. The copyright\x{a}&quot; ~
+  &quot;    holders make no representation about the suitability of this RELAX NG\x{a}&quot; ~
+  &quot;    schema for any purpose.\x{a}&quot; ~
+  &quot;\x{a}&quot; ~
+  '    It is provided &quot;as is&quot; without expressed or implied warranty.\x{a}' ~
+  &quot;    For details, please refer to the W3C software license at:\x{a}&quot; ~
+  &quot;\x{a}&quot; ~
+  &quot;      &quot;
+  x:a [
+    href = &quot;http://www.w3.org/Consortium/Legal/copyright-software&quot;
+    &quot;http://www.w3.org/Consortium/Legal/copyright-software&quot;
+  ]
+  &quot;\x{a}&quot; ~
+  &quot;  &quot;
+]
+xmlEvents.listener = element listener { xmlEvents.listener.attlist }
+xmlEvents.listener.attlist =
+  xmlEvents.event.attrib,
+  xmlEvents.observer.attrib?,
+  xmlEvents.eventTarget.attrib?,
+  xmlEvents.function.attrib?,
+  xmlEvents.handler.attrib?,
+  xmlEvents.phase.attrib?,
+  xmlEvents.propagate.attrib?,
+  xmlEvents.defaultAction.attrib?,
+  xmlEvents.Common.attrib
+xmlEvents.Common.attrib =
+  # The host grammar must contribute an
+  # attribute of type ID to this class
+  empty
+xmlEvents.event.attrib =
+  attribute ev:event {
+    list { xsd:QName+ }
+  }
+xmlEvents.eventTarget.attrib = attribute ev:eventTarget { xsd:IDREFS }
+xmlEvents.phase.attrib =
+  # a:defaultValue=&quot;default&quot;
+  attribute ev:phase { &quot;bubble&quot; | &quot;capture&quot; | &quot;target&quot; | &quot;default&quot; }
+xmlEvents.handler.attrib = attribute ev:handler { xsd:anyURI }
+xmlEvents.observer.attrib = attribute ev:observer { xsd:IDREFS }
+xmlEvents.function.attrib = attribute ev:function { text }
+xmlEvents.propagate.attrib =
+  # a:defaultValue=&quot;continue&quot;
+  attribute ev:propagate { &quot;stop&quot; | &quot;continue&quot; }
+xmlEvents.defaultAction.attrib =
+  # a:defaultValue=&quot;perform&quot;
+  attribute ev:defaultAction { &quot;cancel&quot; | &quot;perform&quot; }
+
+</pre>
+<!-- 
+NewPP limit report
+Preprocessor node count: 5/1000000
+Post-expand include size: 0/2097152 bytes
+Template argument size: 0/2097152 bytes
+Expensive parser function count: 0/100
+-->
+
+<!-- Saved in parser cache with key wikidb-forms_:pcache:idhash:377-0!1!0!!en!2!edit=0 and timestamp 20120419173545 -->
+<div class="printfooter">
+Retrieved from "<a href="http://www.w3.org/MarkUp/Forms/wiki/XML-events-2.rnc">http://www.w3.org/MarkUp/Forms/wiki/XML-events-2.rnc</a>"</div>
+						<!-- end content -->
+						<div class="visualClear"></div>
+		</div>
+	</div>
+		</div>
+		<div id="column-one">
+	<div id="p-cactions" class="portlet">
+		<h5>Views</h5>
+		<div class="pBody">
+			<ul>
+	
+				 <li id="ca-nstab-main" class="selected"><a href="/MarkUp/Forms/wiki/XML-events-2.rnc" title="View the content page [c]" accesskey="c">Page</a></li>
+				 <li id="ca-talk" class="new"><a href="/MarkUp/Forms/wiki/index.php?title=Talk:XML-events-2.rnc&amp;action=edit&amp;redlink=1" title="Discussion about the content page [t]" accesskey="t">Discussion</a></li>
+				 <li id="ca-viewsource"><a href="/MarkUp/Forms/wiki/index.php?title=XML-events-2.rnc&amp;action=edit" title="This page is protected.&#10;You can view its source [e]" accesskey="e">View source</a></li>
+				 <li id="ca-history"><a href="/MarkUp/Forms/wiki/index.php?title=XML-events-2.rnc&amp;action=history" title="Past revisions of this page [h]" accesskey="h">History</a></li>			</ul>
+		</div>
+	</div>
+	<div class="portlet" id="p-personal">
+		<h5>Personal tools</h5>
+		<div class="pBody">
+			<ul>
+				<li id="pt-login"><a href="/MarkUp/Forms/wiki/index.php?title=Special:UserLogin&amp;returnto=XML-events-2.rnc" title="You are encouraged to log in; however, it is not mandatory [o]" accesskey="o">Log in</a></li>
+			</ul>
+		</div>
+	</div>
+	<div class="portlet" id="p-logo">
+		<a style="background-image: url(/Icons/w3c_home);" href="/MarkUp/Forms/wiki/Main_Page" title="Visit the main page [z]" accesskey="z"></a>
+	</div>
+	<script type="text/javascript"> if (window.isMSIE55) fixalpha(); </script>
+	<div class='generated-sidebar portlet' id='p-navigation'>
+		<h5>Navigation</h5>
+		<div class='pBody'>
+			<ul>
+				<li id="n-mainpage-description"><a href="/MarkUp/Forms/wiki/Main_Page">Main page</a></li>
+				<li id="n-portal"><a href="/MarkUp/Forms/wiki/W3C_XForms_Group_Wiki_(Public):Community_Portal" title="About the project, what you can do, where to find things">Community portal</a></li>
+				<li id="n-currentevents"><a href="/MarkUp/Forms/wiki/W3C_XForms_Group_Wiki_(Public):Current_events" title="Find background information on current events">Current events</a></li>
+				<li id="n-recentchanges"><a href="/MarkUp/Forms/wiki/Special:RecentChanges" title="The list of recent changes in the wiki [r]" accesskey="r">Recent changes</a></li>
+				<li id="n-randompage"><a href="/MarkUp/Forms/wiki/Special:Random" title="Load a random page [x]" accesskey="x">Random page</a></li>
+				<li id="n-help"><a href="/MarkUp/Forms/wiki/Help:Contents" title="The place to find out">Help</a></li>
+			</ul>
+		</div>
+	</div>
+	<div id="p-search" class="portlet">
+		<h5><label for="searchInput">Search</label></h5>
+		<div id="searchBody" class="pBody">
+			<form action="/MarkUp/Forms/wiki/index.php" id="searchform"><div>
+				<input type='hidden' name="title" value="Special:Search"/>
+				<input id="searchInput" name="search" type="text" title="Search W3C XForms Group Wiki (Public) [f]" accesskey="f" value="" />
+				<input type='submit' name="go" class="searchButton" id="searchGoButton"	value="Go" title="Go to a page with this exact name if exists" />&nbsp;
+				<input type='submit' name="fulltext" class="searchButton" id="mw-searchButton" value="Search" title="Search the pages for this text" />
+			</div></form>
+		</div>
+	</div>
+	<div class="portlet" id="p-tb">
+		<h5>Toolbox</h5>
+		<div class="pBody">
+			<ul>
+				<li id="t-whatlinkshere"><a href="/MarkUp/Forms/wiki/Special:WhatLinksHere/XML-events-2.rnc" title="List of all wiki pages that link here [j]" accesskey="j">What links here</a></li>
+				<li id="t-recentchangeslinked"><a href="/MarkUp/Forms/wiki/Special:RecentChangesLinked/XML-events-2.rnc" title="Recent changes in pages linked from this page [k]" accesskey="k">Related changes</a></li>
+<li id="t-specialpages"><a href="/MarkUp/Forms/wiki/Special:SpecialPages" title="List of all special pages [q]" accesskey="q">Special pages</a></li>
+				<li id="t-print"><a href="/MarkUp/Forms/wiki/index.php?title=XML-events-2.rnc&amp;printable=yes" rel="alternate" title="Printable version of this page [p]" accesskey="p">Printable version</a></li>				<li id="t-permalink"><a href="/MarkUp/Forms/wiki/index.php?title=XML-events-2.rnc&amp;oldid=2992" title="Permanent link to this revision of the page">Permanent link</a></li>			</ul>
+		</div>
+	</div>
+		</div><!-- end of the left (by default at least) column -->
+			<div class="visualClear"></div>
+			<div id="footer">
+				<div id="f-poweredbyico"><a href="http://www.mediawiki.org/"><img src="/MarkUp/Forms/wiki/skins/common/images/poweredby_mediawiki_88x31.png" alt="Powered by MediaWiki" /></a></div>
+			<ul id="f-list">
+					<li id="lastmod"> This page was last modified on 31 August 2011, at 17:13.</li>
+					<li id="viewcount">This page has been accessed 72 times.</li>
+					<li id="privacy"><a href="/MarkUp/Forms/wiki/W3C_XForms_Group_Wiki_(Public):Privacy_policy" title="W3C XForms Group Wiki (Public):Privacy policy">Privacy policy</a></li>
+					<li id="about"><a href="/MarkUp/Forms/wiki/W3C_XForms_Group_Wiki_(Public):About" title="W3C XForms Group Wiki (Public):About">About W3C XForms Group Wiki (Public)</a></li>
+					<li id="disclaimer"><a href="/MarkUp/Forms/wiki/W3C_XForms_Group_Wiki_(Public):General_disclaimer" title="W3C XForms Group Wiki (Public):General disclaimer">Disclaimers</a></li>
+			</ul>
+		</div>
+</div>
+
+		<script type="text/javascript">if (window.runOnloadHook) runOnloadHook();</script>
+<!-- Served in 0.155 secs. --></body></html>