forrest-svn mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From cross...@apache.org
Subject svn commit: r279502 [2/2] - /forrest/trunk/main/webapp/resources/schema/relaxng/WD-xhtml2-20050527/
Date Thu, 08 Sep 2005 04:09:09 GMT
Added: forrest/trunk/main/webapp/resources/schema/relaxng/WD-xhtml2-20050527/xhtml-structural-2.rng
URL: http://svn.apache.org/viewcvs/forrest/trunk/main/webapp/resources/schema/relaxng/WD-xhtml2-20050527/xhtml-structural-2.rng?rev=279502&view=auto
==============================================================================
--- forrest/trunk/main/webapp/resources/schema/relaxng/WD-xhtml2-20050527/xhtml-structural-2.rng
(added)
+++ forrest/trunk/main/webapp/resources/schema/relaxng/WD-xhtml2-20050527/xhtml-structural-2.rng
Wed Sep  7 21:08:43 2005
@@ -0,0 +1,308 @@
+<?xml version="1.0" encoding="UTF-8"?>
+<!--
+XHTML2: http://www.w3.org/TR/2005/WD-xhtml2-20050527
+Copyright © 1999-2004 World Wide Web Consortium, (Massachusetts Institute of Technology,
+European Research Consortium for Informatics and Mathematics, Keio University).
+All Rights Reserved. This work is distributed under the W3C® Software Licens [1]
+in the hope that it will be useful, but WITHOUT ANY WARRANTY; without even the
+implied warranty of MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE.
+[1] http://www.w3.org/Consortium/Legal/2002/copyright-software-20021231
+-->
+<grammar xmlns="http://relaxng.org/ns/structure/1.0"
+         xmlns:x="http://www.w3.org/1999/xhtml">
+
+  <x:h1>Structural Module</x:h1>
+
+  <div>
+    <x:h2>The address element</x:h2>
+
+    <define name="address">
+      <element name="address">
+        <ref name="address.attlist"/>
+        <ref name="Text.model"/>
+      </element>
+    </define>
+
+    <define name="address.attlist">
+      <ref name="Common.attrib"/>
+    </define>
+  </div>
+
+  <div>
+    <x:h2>The blockcode element</x:h2>
+
+    <define name="blockcode">
+      <element name="blockcode">
+        <ref name="blockcode.attlist"/>
+        <ref name="blockcode.content"/>
+      </element>
+    </define>
+
+    <define name="blockcode.attlist">
+      <ref name="Common.attrib"/>
+    </define>
+
+    <define name="blockcode.content">
+      <ref name="blockcode.model"/>
+    </define>
+  </div>
+
+  <div>
+    <x:h2>The blockquote element</x:h2>
+
+    <define name="blockquote">
+      <element name="blockquote">
+        <ref name="blockquote.attlist"/>
+        <ref name="blockquote.content"/>
+      </element>
+    </define>
+
+    <define name="blockquote.attlist">
+      <ref name="Common.attrib"/>
+    </define>
+
+    <define name="blockquote.content">
+      <ref name="blockquote.model"/>
+    </define>
+  </div>
+
+  <div>
+    <x:h2>The div element</x:h2>
+
+    <define name="div">
+      <element name="div">
+        <ref name="div.attlist"/>
+        <ref name="Flow.model"/>
+      </element>
+    </define>
+
+    <define name="div.attlist">
+      <ref name="Common.attrib"/>
+    </define>
+  </div>
+
+  <div>
+    <x:h2>The heading elements</x:h2>
+
+    <define name="h">
+      <element name="h">
+        <ref name="Heading.attlist"/>
+        <ref name="Heading.content"/>
+      </element>
+    </define>
+ 
+    <define name="h1">
+      <element name="h1">
+        <ref name="Heading.attlist"/>
+        <ref name="Heading.content"/>
+      </element>
+    </define>
+ 
+    <define name="h2">
+      <element name="h2">
+        <ref name="Heading.attlist"/>
+        <ref name="Heading.content"/>
+      </element>
+    </define>
+     
+    <define name="h3">
+      <element name="h3">
+        <ref name="Heading.attlist"/>
+        <ref name="Heading.content"/>
+      </element>
+    </define>
+ 
+    <define name="h4">
+      <element name="h4">
+        <ref name="Heading.attlist"/>
+        <ref name="Heading.content"/>
+      </element>
+    </define>
+ 
+    <define name="h5">
+      <element name="h5">
+        <ref name="Heading.attlist"/>
+        <ref name="Heading.content"/>
+      </element>
+    </define>
+
+    <define name="h6">
+      <element name="h6">
+        <ref name="Heading.attlist"/>
+        <ref name="Heading.content"/>
+      </element>
+    </define>
+
+    <define name="Heading.attlist">
+      <ref name="Common.attrib"/>
+    </define>
+ 
+    <define name="Heading.content">
+      <ref name="Text.model"/>
+    </define>
+  </div>
+
+  <div>
+    <x:h2>The p element</x:h2>
+
+    <define name="p">
+      <element name="p">
+        <ref name="p.attlist"/>
+        <ref name="p.content"/>
+      </element>
+    </define>
+
+    <define name="p.attlist">
+      <ref name="Common.attrib"/>
+    </define>
+
+    <define name="p.content">
+      <ref name="p.model"/>
+    </define>
+  </div>
+
+  <div>
+    <x:h2>The pre element</x:h2>
+
+    <define name="pre">
+      <element name="pre">
+        <ref name="pre.attlist"/>
+        <ref name="Text.model"/>
+      </element>
+    </define>
+
+    <define name="pre.attlist">
+      <ref name="Common.attrib"/>
+    </define>
+  </div>
+
+  <div>
+    <x:h2>The section element</x:h2>
+
+    <define name="section">
+      <element name="section">
+        <ref name="section.attlist"/>
+        <ref name="Flow.model"/>
+      </element>
+    </define>
+
+    <define name="section.attlist">
+      <ref name="Common.attrib"/>
+    </define>
+  </div>
+
+  <div>
+    <x:h2>The separator element</x:h2>
+
+    <define name="separator">
+      <element name="separator">
+        <ref name="separator.attlist"/>
+      </element>
+    </define>
+
+    <define name="separator.attlist">
+      <ref name="Common.attrib"/>
+    </define>
+  </div>
+
+  <div>
+    <x:h2>Content Model</x:h2>
+
+    <define name="Heading.class">
+      <choice>
+        <ref name="h"/>
+        <ref name="h1"/>
+        <ref name="h2"/>
+        <ref name="h3"/>
+        <ref name="h4"/>
+        <ref name="h5"/>
+        <ref name="h6"/>
+      </choice>
+    </define>
+
+    <define name="Structural.class">
+      <choice>
+        <ref name="address"/>
+        <ref name="blockcode"/>
+        <ref name="blockquote"/>
+        <ref name="div"/>
+        <ref name="p"/>
+        <ref name="pre"/>
+        <ref name="section"/>
+        <ref name="separator"/>
+      </choice>
+    </define>
+
+    <define name="blockcode.model">
+      <zeroOrMore>
+        <choice>
+          <text/>
+          <ref name="Text.class"/>
+          <ref name="Heading.class"/>
+          <ref name="Structural.class"/>
+          <ref name="List.class"/>
+          <ref name="Misc.class"/>
+        </choice>
+      </zeroOrMore>
+    </define>
+
+    <define name="blockquote.model">
+      <zeroOrMore>
+        <choice>
+          <text/>
+          <ref name="Text.class"/>
+          <ref name="Heading.class"/>
+          <ref name="Structural.class"/>
+          <ref name="List.class"/>
+          <ref name="Misc.class"/>
+        </choice>
+      </zeroOrMore>
+    </define>
+
+    <define name="p.model">
+      <zeroOrMore>
+        <choice>
+          <text/>
+          <ref name="Text.class"/>
+          <ref name="List.class"/>
+          <ref name="blockcode"/>
+          <ref name="blockquote"/>
+          <ref name="pre"/>
+          <ref name="table"/>
+          <ref name="Misc.class"/>
+        </choice>
+      </zeroOrMore>
+    </define>
+
+    <define name="Structural.mix">
+      <zeroOrMore>
+        <choice>
+          <ref name="Heading.class"/>
+          <ref name="Structural.class"/>
+          <ref name="List.class"/>
+          <ref name="Misc.class"/>
+        </choice>
+      </zeroOrMore>
+    </define>
+
+    <define name="Structural.model">
+      <oneOrMore>
+        <ref name="Structural.mix"/>
+      </oneOrMore>
+    </define>
+
+    <define name="Flow.model">
+      <zeroOrMore>
+        <choice>
+          <text/>
+          <ref name="Heading.class"/>
+          <ref name="Structural.class"/>
+          <ref name="List.class"/>
+          <ref name="Text.class"/>
+          <ref name="Misc.class"/>
+        </choice>
+      </zeroOrMore>
+    </define>
+  </div>
+
+</grammar>

Propchange: forrest/trunk/main/webapp/resources/schema/relaxng/WD-xhtml2-20050527/xhtml-structural-2.rng
------------------------------------------------------------------------------
    svn:eol-style = native

Added: forrest/trunk/main/webapp/resources/schema/relaxng/WD-xhtml2-20050527/xhtml-style-2.rng
URL: http://svn.apache.org/viewcvs/forrest/trunk/main/webapp/resources/schema/relaxng/WD-xhtml2-20050527/xhtml-style-2.rng?rev=279502&view=auto
==============================================================================
--- forrest/trunk/main/webapp/resources/schema/relaxng/WD-xhtml2-20050527/xhtml-style-2.rng
(added)
+++ forrest/trunk/main/webapp/resources/schema/relaxng/WD-xhtml2-20050527/xhtml-style-2.rng
Wed Sep  7 21:08:43 2005
@@ -0,0 +1,45 @@
+<?xml version="1.0" encoding="UTF-8"?>
+<!--
+XHTML2: http://www.w3.org/TR/2005/WD-xhtml2-20050527
+Copyright © 1999-2004 World Wide Web Consortium, (Massachusetts Institute of Technology,
+European Research Consortium for Informatics and Mathematics, Keio University).
+All Rights Reserved. This work is distributed under the W3C® Software Licens [1]
+in the hope that it will be useful, but WITHOUT ANY WARRANTY; without even the
+implied warranty of MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE.
+[1] http://www.w3.org/Consortium/Legal/2002/copyright-software-20021231
+-->
+<grammar xmlns="http://relaxng.org/ns/structure/1.0"
+         xmlns:x="http://www.w3.org/1999/xhtml">
+
+  <x:h1>Style Module</x:h1>
+
+  <div>
+    <x:h2>The style element</x:h2>
+
+    <define name="style">
+      <element name="style">
+        <ref name="style.attlist"/>
+        <text/>
+      </element>
+    </define>
+
+    <define name="style.attlist">
+      <ref name="Common.attrib"/>
+      <optional>
+        <attribute name="disabled">
+          <value>disabled</value>
+        </attribute>     
+      </optional>
+      <optional>
+        <attribute name="media">
+          <ref name="MediaDesc.datatype"/>
+        </attribute>
+      </optional>
+    </define>
+  </div>
+
+  <define name="head.misc" combine="choice">
+    <ref name="style"/>
+  </define>
+
+</grammar>

Propchange: forrest/trunk/main/webapp/resources/schema/relaxng/WD-xhtml2-20050527/xhtml-style-2.rng
------------------------------------------------------------------------------
    svn:eol-style = native

Added: forrest/trunk/main/webapp/resources/schema/relaxng/WD-xhtml2-20050527/xhtml-table-2.rng
URL: http://svn.apache.org/viewcvs/forrest/trunk/main/webapp/resources/schema/relaxng/WD-xhtml2-20050527/xhtml-table-2.rng?rev=279502&view=auto
==============================================================================
--- forrest/trunk/main/webapp/resources/schema/relaxng/WD-xhtml2-20050527/xhtml-table-2.rng
(added)
+++ forrest/trunk/main/webapp/resources/schema/relaxng/WD-xhtml2-20050527/xhtml-table-2.rng
Wed Sep  7 21:08:43 2005
@@ -0,0 +1,269 @@
+<?xml version="1.0" encoding="UTF-8"?>
+<!--
+XHTML2: http://www.w3.org/TR/2005/WD-xhtml2-20050527
+Copyright © 1999-2004 World Wide Web Consortium, (Massachusetts Institute of Technology,
+European Research Consortium for Informatics and Mathematics, Keio University).
+All Rights Reserved. This work is distributed under the W3C® Software Licens [1]
+in the hope that it will be useful, but WITHOUT ANY WARRANTY; without even the
+implied warranty of MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE.
+[1] http://www.w3.org/Consortium/Legal/2002/copyright-software-20021231
+-->
+<grammar xmlns="http://relaxng.org/ns/structure/1.0"
+         xmlns:a="http://relaxng.org/ns/compatibility/annotations/1.0"
+         xmlns:x="http://www.w3.org/1999/xhtml">
+
+  <x:h1>Tables Module</x:h1>
+
+  <x:p>Note. Also include the Caption Module when this module is used.</x:p>
+
+  <div>
+    <x:h2>The table element</x:h2>
+
+    <define name="table">
+      <element name="table">
+        <ref name="table.attlist"/>
+        <optional>
+          <ref name="caption"/>
+        </optional>
+        <optional>
+          <ref name="summary"/>
+        </optional>
+        <choice>
+          <zeroOrMore>
+            <ref name="col"/>
+          </zeroOrMore>
+          <zeroOrMore>
+            <ref name="colgroup"/>
+          </zeroOrMore>
+        </choice>
+        <choice>
+          <group>
+            <optional>
+              <ref name="thead"/>
+            </optional>
+            <optional>
+              <ref name="tfoot"/>
+            </optional>
+            <oneOrMore>
+              <ref name="tbody"/>
+            </oneOrMore>
+          </group>
+          <oneOrMore>
+            <ref name="tr"/>
+          </oneOrMore>
+        </choice>
+      </element>
+    </define>
+
+    <define name="table.attlist">
+      <ref name="Common.attrib"/>
+    </define>
+  </div>
+
+  <div>
+    <x:h2>The summary element</x:h2>
+
+    <define name="summary">
+      <element name="summary">
+        <ref name="summary.attlist"/>
+        <ref name="Flow.model"/>
+      </element>
+    </define>
+
+    <define name="summary.attlist">
+      <ref name="Common.attrib"/>
+    </define>
+  </div>
+
+  <div>
+    <x:h2>The col element</x:h2>
+
+    <define name="col">
+      <element name="col">
+        <ref name="col.attlist"/>
+      </element>
+    </define>
+
+    <define name="col.attlist">
+      <ref name="Common.attrib"/>
+      <ref name="span.attrib"/>
+    </define>
+  </div>
+
+  <div>
+    <x:h2>The colgroup element</x:h2>
+
+    <define name="colgroup">
+      <element name="colgroup">
+        <ref name="colgroup.attlist"/>
+        <zeroOrMore>
+          <ref name="col"/>
+        </zeroOrMore>
+      </element>
+    </define>
+
+    <define name="colgroup.attlist">
+      <ref name="Common.attrib"/>
+      <ref name="span.attrib"/>
+    </define>
+  </div>
+
+  <div>
+    <x:h2>The thead element</x:h2>
+
+    <define name="thead">
+      <element name="thead">
+        <ref name="thead.attlist"/>
+        <oneOrMore>
+          <ref name="tr"/>
+        </oneOrMore>
+      </element>
+    </define>
+
+    <define name="thead.attlist">
+      <ref name="Common.attrib"/>
+    </define>
+  </div>
+
+  <div>
+    <x:h2>The tfoot element</x:h2>
+
+    <define name="tfoot">
+      <element name="tfoot">
+        <ref name="tfoot.attlist"/>
+        <oneOrMore>
+          <ref name="tr"/>
+        </oneOrMore>
+      </element>
+    </define>
+
+    <define name="tfoot.attlist">
+      <ref name="Common.attrib"/>
+    </define>
+  </div>
+
+  <div>
+    <x:h2>The tbody element</x:h2>
+
+    <define name="tbody">
+      <element name="tbody">
+        <ref name="tbody.attlist"/>
+        <oneOrMore>
+          <ref name="tr"/>
+        </oneOrMore>
+      </element>
+    </define>
+
+    <define name="tbody.attlist">
+      <ref name="Common.attrib"/>
+    </define>
+  </div>
+
+  <div>
+    <x:h2>The tr element</x:h2>
+
+    <define name="tr">
+      <element name="tr">
+        <ref name="tr.attlist"/>
+        <oneOrMore>
+          <choice>
+            <ref name="th"/>
+            <ref name="td"/>
+          </choice>
+        </oneOrMore>
+      </element>
+    </define>
+
+    <define name="tr.attlist">
+      <ref name="Common.attrib"/>
+    </define>
+  </div>
+
+  <div>
+    <x:h2>The th element</x:h2>
+
+    <define name="th">
+      <element name="th">
+        <ref name="th.attlist"/>
+        <ref name="Flow.model"/>
+      </element>
+    </define>
+
+    <define name="th.attlist">
+      <ref name="Cell.attrib"/>
+    </define>
+  </div>
+
+  <div>
+    <x:h2>The td element</x:h2>
+
+    <define name="td">
+      <element name="td">
+        <ref name="td.attlist"/>
+        <ref name="Flow.model"/>
+      </element>
+    </define>
+
+    <define name="td.attlist">
+      <ref name="Cell.attrib"/>
+    </define>
+  </div>
+
+  <div>
+    <x:h2>Attribute definitions</x:h2>
+
+    <define name="span.attrib">
+      <optional>
+        <attribute name="span" a:defaultValue="1">
+          <ref name="spanNumber.datatype"/>
+        </attribute>
+      </optional>
+    </define>
+
+    <define name="Cell.attrib">
+      <ref name="Common.attrib"/>
+      <optional>
+        <attribute name="abbr">
+          <ref name="Text.datatype"/>
+        </attribute>
+      </optional>
+      <optional>
+        <attribute name="axis"/>
+      </optional>
+      <optional>
+        <attribute name="colspan" a:defaultValue="1">
+          <ref name="Number.datatype"/>
+        </attribute>
+      </optional>
+      <optional>
+        <attribute name="headers">
+          <ref name="IDREFS.datatype"/>
+        </attribute>
+      </optional>
+      <optional>
+        <attribute name="rowspan" a:defaultValue="1">
+          <ref name="Number.datatype"/>
+        </attribute>
+      </optional>
+      <ref name="scope.attrib"/>
+    </define>
+
+    <define name="scope.attrib">
+      <optional>
+        <attribute name="scope">
+          <choice>
+            <value>row</value>
+            <value>col</value>
+            <value>rowgroup</value>
+            <value>colgroup</value>
+          </choice>
+        </attribute>
+      </optional>
+    </define>
+  </div>
+
+  <define name="Structural.class" combine="choice">
+    <ref name="table"/>
+  </define>
+
+</grammar>

Propchange: forrest/trunk/main/webapp/resources/schema/relaxng/WD-xhtml2-20050527/xhtml-table-2.rng
------------------------------------------------------------------------------
    svn:eol-style = native

Added: forrest/trunk/main/webapp/resources/schema/relaxng/WD-xhtml2-20050527/xhtml-text-2.rng
URL: http://svn.apache.org/viewcvs/forrest/trunk/main/webapp/resources/schema/relaxng/WD-xhtml2-20050527/xhtml-text-2.rng?rev=279502&view=auto
==============================================================================
--- forrest/trunk/main/webapp/resources/schema/relaxng/WD-xhtml2-20050527/xhtml-text-2.rng
(added)
+++ forrest/trunk/main/webapp/resources/schema/relaxng/WD-xhtml2-20050527/xhtml-text-2.rng
Wed Sep  7 21:08:43 2005
@@ -0,0 +1,267 @@
+<?xml version="1.0" encoding="UTF-8"?>
+<!--
+XHTML2: http://www.w3.org/TR/2005/WD-xhtml2-20050527
+Copyright © 1999-2004 World Wide Web Consortium, (Massachusetts Institute of Technology,
+European Research Consortium for Informatics and Mathematics, Keio University).
+All Rights Reserved. This work is distributed under the W3C® Software Licens [1]
+in the hope that it will be useful, but WITHOUT ANY WARRANTY; without even the
+implied warranty of MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE.
+[1] http://www.w3.org/Consortium/Legal/2002/copyright-software-20021231
+-->
+<grammar xmlns="http://relaxng.org/ns/structure/1.0"
+         xmlns:x="http://www.w3.org/1999/xhtml">
+
+  <x:h1>Text Module</x:h1>
+
+  <div>
+    <x:h2>The abbr element</x:h2>
+
+    <define name="abbr">
+      <element name="abbr">
+        <ref name="abbr.attlist"/>
+        <ref name="Text.model"/>
+      </element>
+    </define>
+
+    <define name="abbr.attlist">
+      <ref name="Common.attrib"/>
+    </define>
+  </div>
+
+  <div>
+    <x:h2>The cite element</x:h2>
+
+    <define name="cite">
+      <element name="cite">
+        <ref name="cite.attlist"/>
+        <ref name="Text.model"/>
+      </element>
+    </define>
+
+    <define name="cite.attlist">
+      <ref name="Common.attrib"/>
+    </define>
+  </div>
+
+  <div>
+    <x:h2>The code element</x:h2>
+
+    <define name="code">
+      <element name="code">
+        <ref name="code.attlist"/>
+        <ref name="Text.model"/>
+      </element>
+    </define>
+
+    <define name="code.attlist">
+      <ref name="Common.attrib"/>
+    </define>
+  </div>
+
+  <div>
+    <x:h2>The dfn element</x:h2>
+
+    <define name="dfn">
+      <element name="dfn">
+        <ref name="dfn.attlist"/>
+        <ref name="Text.model"/>
+      </element>
+    </define>
+
+    <define name="dfn.attlist">
+      <ref name="Common.attrib"/>
+    </define>
+  </div>
+
+  <div>
+    <x:h2>The em element</x:h2>
+
+    <define name="em">
+      <element name="em">
+        <ref name="em.attlist"/>
+        <ref name="Text.model"/>
+      </element>
+    </define>
+
+    <define name="em.attlist">
+      <ref name="Common.attrib"/>
+    </define>
+  </div>
+
+  <div>
+    <x:h2>The kbd element</x:h2>
+
+    <define name="kbd">
+      <element name="kbd">
+        <ref name="kbd.attlist"/>
+        <ref name="Text.model"/>
+      </element>
+    </define>
+
+    <define name="kbd.attlist">
+      <ref name="Common.attrib"/>
+    </define>
+  </div>
+
+  <div>
+    <x:h2>The l element</x:h2>
+
+    <define name="l">
+      <element name="l">
+        <ref name="l.attlist"/>
+        <ref name="Text.model"/>
+      </element>
+    </define>
+
+    <define name="l.attlist">
+      <ref name="Common.attrib"/>
+    </define>
+  </div>
+
+  <div>
+    <x:h2>The quote element</x:h2>
+
+    <define name="quote">
+      <element name="quote">
+        <ref name="quote.attlist"/>
+        <ref name="Text.model"/>
+      </element>
+    </define>
+
+    <define name="quote.attlist">
+      <ref name="Common.attrib"/>
+    </define>
+  </div>
+
+  <div>
+    <x:h2>The samp element</x:h2>
+
+    <define name="samp">
+      <element name="samp">
+        <ref name="samp.attlist"/>
+        <ref name="Text.model"/>
+      </element>
+    </define>
+
+    <define name="samp.attlist">
+      <ref name="Common.attrib"/>
+    </define>
+  </div>
+
+  <div>
+    <x:h2>The span element</x:h2>
+
+    <define name="span">
+      <element name="span">
+        <ref name="span.attlist"/>
+        <ref name="Text.model"/>
+      </element>
+    </define>
+
+    <define name="span.attlist">
+      <ref name="Common.attrib"/>
+    </define>
+  </div>
+
+  <div>
+    <x:h2>The strong element</x:h2>
+
+    <define name="strong">
+      <element name="strong">
+        <ref name="strong.attlist"/>
+        <ref name="Text.model"/>
+      </element>
+    </define>
+
+    <define name="strong.attlist">
+      <ref name="Common.attrib"/>
+    </define>
+  </div>
+
+  <div>
+    <x:h2>The sub element</x:h2>
+
+    <define name="sub">
+      <element name="sub">
+        <ref name="sub.attlist"/>
+        <ref name="Text.model"/>
+      </element>
+    </define>
+
+    <define name="sub.attlist">
+      <ref name="Common.attrib"/>
+    </define>
+  </div>
+
+  <div>
+    <x:h2>The sup element</x:h2>
+
+    <define name="sup">
+      <element name="sup">
+        <ref name="sup.attlist"/>
+        <ref name="Text.model"/>
+      </element>
+    </define>
+
+    <define name="sup.attlist">
+      <ref name="Common.attrib"/>
+    </define>
+  </div>
+
+  <div>
+    <x:h2>The var element</x:h2>
+
+    <define name="var">
+      <element name="var">
+        <ref name="var.attlist"/>
+        <ref name="Text.model"/>
+      </element>
+    </define>
+
+    <define name="var.attlist">
+      <ref name="Common.attrib"/>
+    </define>
+  </div>
+
+  <div>
+    <x:p>these can occur at block or inline level</x:p>
+
+    <define name="Misc.class">
+      <empty/>
+    </define>
+  </div>
+
+  <div>
+    <x:h2>Content Model</x:h2>
+
+    <define name="Text.class">
+      <choice>
+        <ref name="abbr"/>
+        <ref name="cite"/>
+        <ref name="code"/>
+        <ref name="dfn"/>
+        <ref name="em"/>
+        <ref name="kbd"/>
+        <ref name="l"/>
+        <ref name="quote"/>
+        <ref name="samp"/>
+        <ref name="span"/>
+        <ref name="strong"/>
+        <ref name="sub"/>
+        <ref name="sup"/>
+        <ref name="var"/>
+      </choice>
+    </define>
+
+    <define name="Text.model">
+      <zeroOrMore>
+        <choice>
+          <text/>
+          <ref name="Text.class"/>
+          <ref name="Misc.class"/>
+        </choice>
+      </zeroOrMore>
+    </define>
+  </div>
+
+</grammar>

Propchange: forrest/trunk/main/webapp/resources/schema/relaxng/WD-xhtml2-20050527/xhtml-text-2.rng
------------------------------------------------------------------------------
    svn:eol-style = native

Added: forrest/trunk/main/webapp/resources/schema/relaxng/WD-xhtml2-20050527/xhtml2.rng
URL: http://svn.apache.org/viewcvs/forrest/trunk/main/webapp/resources/schema/relaxng/WD-xhtml2-20050527/xhtml2.rng?rev=279502&view=auto
==============================================================================
--- forrest/trunk/main/webapp/resources/schema/relaxng/WD-xhtml2-20050527/xhtml2.rng (added)
+++ forrest/trunk/main/webapp/resources/schema/relaxng/WD-xhtml2-20050527/xhtml2.rng Wed Sep
 7 21:08:43 2005
@@ -0,0 +1,123 @@
+<?xml version="1.0" encoding="UTF-8"?>
+<grammar ns="http://www.w3.org/2002/06/xhtml2"
+         xmlns="http://relaxng.org/ns/structure/1.0"
+         xmlns:x="http://www.w3.org/1999/xhtml">
+
+  <x:h1>RELAX NG schema for XHTML 2.0</x:h1>
+
+  <x:pre>
+    Copyright &#xA9;2003-2004 W3C&#xAE; (MIT, ERCIM, Keio), All Rights Reserved.
+
+      Editor:   Masayasu Ishikawa &lt;mimasa@w3.org&gt;
+      Revision: $Id: xhtml2.rng,v 1.34 2004/07/21 10:33:05 mimasa Exp $
+
+    Permission to use, copy, modify and distribute this RELAX NG schema
+    for XHTML 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 "as is" without expressed or implied warranty.
+    For details, please refer to the W3C software license at:
+
+      <x:a href="http://www.w3.org/Consortium/Legal/copyright-software"
+      >http://www.w3.org/Consortium/Legal/copyright-software</x:a>
+  </x:pre>
+
+  <div>
+    <x:h2>XHTML 2.0 modules</x:h2>
+
+    <x:h3>Attribute Collections Module</x:h3>
+    <include href="xhtml-attribs-2.rng"/>
+
+    <x:h3>Document Module</x:h3>
+    <include href="xhtml-document-2.rng"/>
+
+    <x:h3>Structural Module</x:h3>
+    <include href="xhtml-structural-2.rng"/>
+
+    <x:h3>Text Module</x:h3>
+    <include href="xhtml-text-2.rng"/>
+
+    <x:h3>Hypertext Module</x:h3>
+    <include href="xhtml-hypertext-2.rng"/>
+
+    <x:h3>List Module</x:h3>
+    <include href="xhtml-list-2.rng"/>
+
+    <x:h3>Metainformation Module</x:h3>
+    <include href="xhtml-meta-2.rng"/>
+
+    <x:h3>Object Module</x:h3>
+    <include href="xhtml-object-2.rng"/>
+
+    <x:h3>Handler Module</x:h3>
+    <include href="xhtml-handler-2.rng"/>
+
+    <x:h3>Style Attribute Module</x:h3>
+    <include href="xhtml-inlstyle-2.rng"/>
+
+    <x:h3>Style Sheet Module</x:h3>
+    <include href="xhtml-style-2.rng"/>
+
+    <x:h3>Tables Module</x:h3>
+    <include href="xhtml-table-2.rng"/>
+
+    <x:h3>Support Modules</x:h3>
+
+    <x:h4>Datatypes Module</x:h4>
+    <include href="xhtml-datatypes-2.rng"/>
+
+    <x:h4>Events Module</x:h4>
+    <include href="xhtml-events-2.rng"/>
+
+    <x:h4>Param Module</x:h4>
+    <include href="xhtml-param-2.rng"/>
+
+    <x:h4>Caption Module</x:h4>
+    <include href="xhtml-caption-2.rng"/>
+  </div>
+
+
+  <div>
+    <x:h2>XML Events module</x:h2>
+    <include href="xml-events-1.rng"/>
+  </div>
+
+  <div>
+    <x:h2>Ruby module</x:h2>
+
+    <include href="full-ruby-1.rng">
+
+      <define name="Inline.class">
+        <notAllowed/>
+      </define>
+
+      <define name="NoRuby.content">
+        <ref name="Text.model"/>
+      </define>
+
+    </include>
+
+    <define name="Inline.model">
+      <notAllowed/>
+    </define>
+
+    <define name="Text.class" combine="choice">
+      <ref name="ruby"/>
+    </define>
+  </div>
+
+  <div>
+    <x:h2>XForms module</x:h2>
+    <x:p>To-Do: work out integration of XForms</x:p>
+    <!--include href="xforms-11.rng"/-->
+  </div>
+
+  <div>
+    <x:h2>XML Schema instance module</x:h2>
+    <include href="XMLSchema-instance.rng"/>
+  </div>
+
+</grammar>

Propchange: forrest/trunk/main/webapp/resources/schema/relaxng/WD-xhtml2-20050527/xhtml2.rng
------------------------------------------------------------------------------
    svn:eol-style = native

Added: forrest/trunk/main/webapp/resources/schema/relaxng/WD-xhtml2-20050527/xml-events-1.rng
URL: http://svn.apache.org/viewcvs/forrest/trunk/main/webapp/resources/schema/relaxng/WD-xhtml2-20050527/xml-events-1.rng?rev=279502&view=auto
==============================================================================
--- forrest/trunk/main/webapp/resources/schema/relaxng/WD-xhtml2-20050527/xml-events-1.rng
(added)
+++ forrest/trunk/main/webapp/resources/schema/relaxng/WD-xhtml2-20050527/xml-events-1.rng
Wed Sep  7 21:08:43 2005
@@ -0,0 +1,89 @@
+<?xml version="1.0" encoding="UTF-8"?>
+<grammar ns="http://www.w3.org/2001/xml-events"
+         xmlns="http://relaxng.org/ns/structure/1.0"
+         xmlns:ev="http://www.w3.org/2001/xml-events"
+         xmlns:a="http://relaxng.org/ns/compatibility/annotations/1.0"
+         xmlns:x="http://www.w3.org/1999/xhtml"
+         datatypeLibrary="http://www.w3.org/2001/XMLSchema-datatypes">
+
+  <x:h1>XML Events Module in RELAX NG</x:h1>
+
+  <x:pre>
+    Copyright &#xA9;2003 W3C&#xAE; (MIT, ERCIM, Keio), All Rights Reserved.
+
+      Editor:   Masayasu Ishikawa &lt;mimasa@w3.org&gt;
+      Revision: $Id: xml-events-1.rng,v 1.6 2003/04/30 06:50:03 mimasa Exp $
+
+    Permission to use, copy, modify and distribute this RELAX NG schema
+    for XML Events 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:
+
+      <x:a href="http://www.w3.org/Consortium/Legal/copyright-software"
+      >http://www.w3.org/Consortium/Legal/copyright-software</x:a>
+  </x:pre>
+
+  <define name="listener">
+    <element name="listener">
+      <ref name="listener.attlist"/>
+    </element>
+  </define>
+
+  <define name="listener.attlist">
+    <optional>
+      <attribute name="event">
+        <data type="NMTOKEN"/>
+      </attribute>
+    </optional>
+    <optional>
+      <attribute name="observer">
+        <data type="IDREF"/>
+      </attribute>
+    </optional>
+    <optional>
+      <attribute name="target">
+        <data type="IDREF"/>
+      </attribute>
+    </optional>
+    <optional>
+      <attribute name="handler">
+        <data type="anyURI"/>
+      </attribute>
+    </optional>
+    <optional>
+      <attribute name="phase" a:defaultValue="default">
+        <choice>
+          <value>capture</value>
+          <value>default</value>
+        </choice>
+      </attribute>
+    </optional>
+    <optional>
+      <attribute name="propagate" a:defaultValue="continue">
+        <choice>
+          <value>stop</value>
+          <value>continue</value>
+        </choice>
+      </attribute>
+    </optional>
+    <optional>
+      <attribute name="defaultAction" a:defaultValue="perform">
+        <choice>
+          <value>cancel</value>
+          <value>perform</value>
+        </choice>
+      </attribute>
+    </optional>
+    <optional>
+      <attribute name="id">
+        <data type="ID"/>
+      </attribute>
+    </optional>
+  </define>
+
+</grammar>

Propchange: forrest/trunk/main/webapp/resources/schema/relaxng/WD-xhtml2-20050527/xml-events-1.rng
------------------------------------------------------------------------------
    svn:eol-style = native



Mime
View raw message