Added: lenya/branches/revolution/1.3.x/src/webapp/lenya/pubs/default13/config/doctypes/doctypes.xconf
URL: http://svn.apache.org/viewvc/lenya/branches/revolution/1.3.x/src/webapp/lenya/pubs/default13/config/doctypes/doctypes.xconf?rev=577177&view=auto
==============================================================================
--- lenya/branches/revolution/1.3.x/src/webapp/lenya/pubs/default13/config/doctypes/doctypes.xconf (added)
+++ lenya/branches/revolution/1.3.x/src/webapp/lenya/pubs/default13/config/doctypes/doctypes.xconf Wed Sep 19 00:09:42 2007
@@ -0,0 +1,59 @@
+<?xml version="1.0"?>
+<!--
+ Copyright 1999-2004 The Apache Software Foundation
+
+ Licensed under the Apache License, Version 2.0 (the "License");
+ you may not use this file except in compliance with the License.
+ You may obtain a copy of the License at
+
+ http://www.apache.org/licenses/LICENSE-2.0
+
+ Unless required by applicable law or agreed to in writing, software
+ distributed under the License is distributed on an "AS IS" BASIS,
+ WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
+ See the License for the specific language governing permissions and
+ limitations under the License.
+-->
+
+<!-- $Id: doctypes.xconf 106148 2004-11-22 03:29:33Z gregor $ -->
+
+<doctypes>
+
+ <doc type="homepage">
+ <children>
+ <doc type="xhtml"/>
+ </children>
+ <creator src="org.apache.lenya.cms.authoring.DefaultBranchCreator">
+ <sample-name>homepage.xml</sample-name>
+ </creator>
+ <tasks>
+ <task id="publish"/>
+ </tasks>
+ <workflow src="workflow.xml"/>
+ </doc>
+ <doc type="links">
+ <children>
+ <doc type="xhtml"/>
+ </children>
+ <creator src="org.apache.lenya.cms.authoring.DefaultBranchCreator">
+ <sample-name>links.xml</sample-name>
+ </creator>
+ <tasks>
+ <task id="publish"/>
+ </tasks>
+ <workflow src="workflow.xml"/>
+ </doc>
+ <doc type="xhtml">
+ <children>
+ <doc type="xhtml"/>
+ </children>
+ <creator src="org.apache.lenya.cms.authoring.DefaultBranchCreator">
+ <sample-name>xhtml.xml</sample-name>
+ </creator>
+ <tasks>
+ <task id="publish"/>
+ </tasks>
+ <workflow src="workflow.xml"/>
+ </doc>
+
+</doctypes>
Added: lenya/branches/revolution/1.3.x/src/webapp/lenya/pubs/default13/config/doctypes/samples/homepage.xml
URL: http://svn.apache.org/viewvc/lenya/branches/revolution/1.3.x/src/webapp/lenya/pubs/default13/config/doctypes/samples/homepage.xml?rev=577177&view=auto
==============================================================================
--- lenya/branches/revolution/1.3.x/src/webapp/lenya/pubs/default13/config/doctypes/samples/homepage.xml (added)
+++ lenya/branches/revolution/1.3.x/src/webapp/lenya/pubs/default13/config/doctypes/samples/homepage.xml Wed Sep 19 00:09:42 2007
@@ -0,0 +1,44 @@
+<?xml version="1.0" encoding="UTF-8"?>
+<html xmlns="http://www.w3.org/1999/xhtml"
+ xmlns:xhtml="http://www.w3.org/1999/xhtml"
+ xmlns:dc="http://purl.org/dc/elements/1.1/"
+ xmlns:dcterms="http://purl.org/dc/terms/"
+ xmlns:lenya="http://apache.org/cocoon/lenya/page-envelope/1.0"
+ xhtml:dummy="FIXME:keepNamespace" dc:dummy="FIXME:keepNamespace"
+ lenya:dummy="FIXME:keepNamespace" dcterms:dummy="FIXME:keepNamespace"
+>
+ <lenya:meta>
+ <dc:title>dctitle</dc:title>
+ <dc:creator>dccreator</dc:creator>
+ <dc:subject>dcsubject</dc:subject>
+ <dc:description>Abstract that can be used on an overview page</dc:description>
+ <dc:publisher/>
+ <dc:contributor/>
+ <dc:date>2003-5-21</dc:date>
+ <dc:type/>
+ <dc:format/>
+ <dc:identifier/>
+ <dc:source/>
+ <dc:language>en</dc:language>
+ <dc:relation/>
+ <dc:coverage/>
+ <dc:rights>dcrights</dc:rights>
+ </lenya:meta>
+ <head>
+ <title>Default Publication</title>
+ </head>
+ <body>
+ <h1>Default Publication</h1>
+ <p>Welcome to the default Lenya publication!</p>
+ <p>The purpose of this publication is</p>
+ <ul>
+ <li>to show beginners the basic functionality of the Lenya CMS,</li>
+ <li>to provide an "out of the box" publication that can be easily adapted and used, and</li>
+ <li>to provide a basis for reference implementations of new concepts and best practices.</li>
+ </ul>
+ <p>
+ You won't find any fancy and confusing bells and whistles here, but the
+ publication contains everything you need to get started.
+ </p>
+ </body>
+</html>
Added: lenya/branches/revolution/1.3.x/src/webapp/lenya/pubs/default13/config/doctypes/samples/links.xml
URL: http://svn.apache.org/viewvc/lenya/branches/revolution/1.3.x/src/webapp/lenya/pubs/default13/config/doctypes/samples/links.xml?rev=577177&view=auto
==============================================================================
--- lenya/branches/revolution/1.3.x/src/webapp/lenya/pubs/default13/config/doctypes/samples/links.xml (added)
+++ lenya/branches/revolution/1.3.x/src/webapp/lenya/pubs/default13/config/doctypes/samples/links.xml Wed Sep 19 00:09:42 2007
@@ -0,0 +1,7 @@
+<?xml version="1.0"?>
+
+<links xmlns="http://apache.org/lenya/pubs/default/1.0">
+ <title>Links</title>
+ <link href="http://lenya.apache.org">Apache Lenya Website</link>
+ <link href="http://wiki.apache.org/lenya/">Apache Lenya Wiki</link>
+</links>
Added: lenya/branches/revolution/1.3.x/src/webapp/lenya/pubs/default13/config/doctypes/samples/xhtml.xml
URL: http://svn.apache.org/viewvc/lenya/branches/revolution/1.3.x/src/webapp/lenya/pubs/default13/config/doctypes/samples/xhtml.xml?rev=577177&view=auto
==============================================================================
--- lenya/branches/revolution/1.3.x/src/webapp/lenya/pubs/default13/config/doctypes/samples/xhtml.xml (added)
+++ lenya/branches/revolution/1.3.x/src/webapp/lenya/pubs/default13/config/doctypes/samples/xhtml.xml Wed Sep 19 00:09:42 2007
@@ -0,0 +1,44 @@
+<?xml version="1.0" encoding="UTF-8"?>
+<xhtml:html
+ xmlns:xhtml="http://www.w3.org/1999/xhtml"
+ xmlns:dc="http://purl.org/dc/elements/1.1/"
+ xmlns:dcterms="http://purl.org/dc/terms/"
+ xmlns:lenya="http://apache.org/cocoon/lenya/page-envelope/1.0"
+ xhtml:dummy="FIXME:keepNamespace" dc:dummy="FIXME:keepNamespace"
+ lenya:dummy="FIXME:keepNamespace" dcterms:dummy="FIXME:keepNamespace"
+>
+ <lenya:meta>
+ <dc:title>dctitle</dc:title>
+ <dc:creator>dccreator</dc:creator>
+ <dc:subject>dcsubject</dc:subject>
+ <dc:description>Abstract that can be used on an overview page</dc:description>
+ <dc:publisher/>
+ <dc:contributor/>
+ <dc:date>2003-5-21</dc:date>
+ <dc:type/>
+ <dc:format/>
+ <dc:identifier/>
+ <dc:source/>
+ <dc:language>en</dc:language>
+ <dc:relation/>
+ <dc:coverage/>
+ <dc:rights>dcrights</dc:rights>
+ </lenya:meta>
+ <xhtml:head>
+ <xhtml:title>Default Publication</xhtml:title>
+ </xhtml:head>
+ <xhtml:body>
+ <xhtml:h1>Default Publication</xhtml:h1>
+ <xhtml:p>Welcome to the default Lenya publication!</xhtml:p>
+ <xhtml:p>The purpose of this publication is</xhtml:p>
+ <xhtml:ul>
+ <xhtml:li>to show beginners the basic functionality of the Lenya CMS,</xhtml:li>
+ <xhtml:li>to provide an "out of the box" publication that can be easily adapted and used, and</xhtml:li>
+ <xhtml:li>to provide a basis for reference implementations of new concepts and best practices.</xhtml:li>
+ </xhtml:ul>
+ <xhtml:p>
+ You won't find any fancy and confusing bells and whistles here, but the
+ publication contains everything you need to get started.
+ </xhtml:p>
+ </xhtml:body>
+</xhtml:html>
Added: lenya/branches/revolution/1.3.x/src/webapp/lenya/pubs/default13/config/doctypes/schemas/dublincore/dublincore.rng
URL: http://svn.apache.org/viewvc/lenya/branches/revolution/1.3.x/src/webapp/lenya/pubs/default13/config/doctypes/schemas/dublincore/dublincore.rng?rev=577177&view=auto
==============================================================================
--- lenya/branches/revolution/1.3.x/src/webapp/lenya/pubs/default13/config/doctypes/schemas/dublincore/dublincore.rng (added)
+++ lenya/branches/revolution/1.3.x/src/webapp/lenya/pubs/default13/config/doctypes/schemas/dublincore/dublincore.rng Wed Sep 19 00:09:42 2007
@@ -0,0 +1,83 @@
+<?xml version="1.0" encoding="UTF-8"?>
+<!--
+ Copyright 1999-2004 The Apache Software Foundation
+
+ Licensed under the Apache License, Version 2.0 (the "License");
+ you may not use this file except in compliance with the License.
+ You may obtain a copy of the License at
+
+ http://www.apache.org/licenses/LICENSE-2.0
+
+ Unless required by applicable law or agreed to in writing, software
+ distributed under the License is distributed on an "AS IS" BASIS,
+ WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
+ See the License for the specific language governing permissions and
+ limitations under the License.
+-->
+
+<!-- $Id: dublincore.rng 413285 2006-06-10 11:10:23Z thorsten $ -->
+
+<grammar xmlns="http://relaxng.org/ns/structure/1.0"
+ xmlns:dc="http://purl.org/dc/elements/1.1/"
+ xmlns:dcterms="http://purl.org/dc/terms/"
+ >
+
+<!-- Dublin Core Schema -->
+
+<define name="dublincore">
+ <interleave>
+
+ <optional><element name="dc:title"><text/></element></optional>
+ <optional><element name="dc:creator"><text/></element></optional>
+ <optional><element name="dc:subject"><text/></element></optional>
+ <optional><element name="dc:description"><text/></element></optional>
+ <optional><element name="dc:publisher"><text/></element></optional>
+ <optional><element name="dc:contributor"><text/></element></optional>
+ <optional><element name="dc:date"><text/></element></optional>
+ <optional><element name="dc:type"><text/></element></optional>
+ <optional><element name="dc:format"><text/></element></optional>
+ <optional><element name="dc:identifier"><text/></element></optional>
+ <optional><element name="dc:source"><text/></element></optional>
+ <optional><element name="dc:language"><text/></element></optional>
+ <optional><element name="dc:relation"><text/></element></optional>
+ <optional><element name="dc:coverage"><text/></element></optional>
+ <optional><element name="dc:rights"><text/></element></optional>
+
+ <optional><element name="dcterms:audience"><text/></element></optional>
+ <optional><element name="dcterms:alternative"><text/></element></optional>
+ <optional><element name="dcterms:tableOfContents"><text/></element></optional>
+ <optional><element name="dcterms:abstract"><text/></element></optional>
+ <optional><element name="dcterms:created"><text/></element></optional>
+ <optional><element name="dcterms:valid"><text/></element></optional>
+ <optional><element name="dcterms:available"><text/></element></optional>
+ <optional><element name="dcterms:issued"><text/></element></optional>
+ <optional><element name="dcterms:modified"><text/></element></optional>
+ <optional><element name="dcterms:extent"><text/></element></optional>
+ <optional><element name="dcterms:medium"><text/></element></optional>
+ <optional><element name="dcterms:isVersionOf"><text/></element></optional>
+ <optional><element name="dcterms:hasVersion"><text/></element></optional>
+ <optional><element name="dcterms:isReplacedBy"><text/></element></optional>
+ <optional><element name="dcterms:replaces"><text/></element></optional>
+ <optional><element name="dcterms:isRequiredBy"><text/></element></optional>
+ <optional><element name="dcterms:requires"><text/></element></optional>
+ <optional><element name="dcterms:isPartOf"><text/></element></optional>
+ <optional><element name="dcterms:hasPart"><text/></element></optional>
+ <optional><element name="dcterms:isReferencedBy"><text/></element></optional>
+ <optional><element name="dcterms:references"><text/></element></optional>
+ <optional><element name="dcterms:isFormatOf"><text/></element></optional>
+ <optional><element name="dcterms:hasFormat"><text/></element></optional>
+ <optional><element name="dcterms:conformsTo"><text/></element></optional>
+ <optional><element name="dcterms:spatial"><text/></element></optional>
+ <optional><element name="dcterms:temporal"><text/></element></optional>
+ <optional><element name="dcterms:mediator"><text/></element></optional>
+ <optional><element name="dcterms:dateAccepted"><text/></element></optional>
+ <optional><element name="dcterms:dateCopyrighted"><text/></element></optional>
+ <optional><element name="dcterms:dateSubmitted"><text/></element></optional>
+ <optional><element name="dcterms:educationLevel"><text/></element></optional>
+ <optional><element name="dcterms:accessRights"><text/></element></optional>
+ <optional><element name="dcterms:bibliographicCitation"><text/></element></optional>
+
+ </interleave>
+</define>
+
+</grammar>
Added: lenya/branches/revolution/1.3.x/src/webapp/lenya/pubs/default13/config/doctypes/schemas/homepage.rng
URL: http://svn.apache.org/viewvc/lenya/branches/revolution/1.3.x/src/webapp/lenya/pubs/default13/config/doctypes/schemas/homepage.rng?rev=577177&view=auto
==============================================================================
--- lenya/branches/revolution/1.3.x/src/webapp/lenya/pubs/default13/config/doctypes/schemas/homepage.rng (added)
+++ lenya/branches/revolution/1.3.x/src/webapp/lenya/pubs/default13/config/doctypes/schemas/homepage.rng Wed Sep 19 00:09:42 2007
@@ -0,0 +1,64 @@
+<?xml version="1.0" encoding="UTF-8"?>
+<!--
+ Copyright 1999-2004 The Apache Software Foundation
+
+ Licensed under the Apache License, Version 2.0 (the "License");
+ you may not use this file except in compliance with the License.
+ You may obtain a copy of the License at
+
+ http://www.apache.org/licenses/LICENSE-2.0
+
+ Unless required by applicable law or agreed to in writing, software
+ distributed under the License is distributed on an "AS IS" BASIS,
+ WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
+ See the License for the specific language governing permissions and
+ limitations under the License.
+-->
+
+<!-- $Id: xhtml.rng 42702 2004-03-13 12:34:18Z gregor $ -->
+
+<!--+
+ | XHTML doctype
+ +-->
+
+<grammar ns="http://www.w3.org/1999/xhtml"
+ xmlns="http://relaxng.org/ns/structure/1.0"
+ xmlns:lenya="http://apache.org/cocoon/lenya/page-envelope/1.0"
+ xmlns:dc="http://purl.org/dc/elements/1.1/"
+ xmlns:dcterms="http://purl.org/dc/terms/"
+ xmlns:xhtml="http://www.w3.org/1999/xhtml"
+ >
+
+<include href="lenya.rng"/>
+
+
+<!-- include original XHTML transitional schema -->
+<include href="xhtml/xhtml-basic.rng">
+
+ <define name="html">
+ <element name="html">
+ <ref name="html.attlist"/>
+ <ref name="lenya.meta"/>
+ <ref name="head"/>
+ <ref name="body"/>
+ </element>
+ </define>
+
+ <define name="html.attlist">
+ <ref name="XHTML.version.attrib"/>
+ <ref name="I18n.attrib"/>
+ <ref name="dummy.attlist"/>
+ </define>
+
+</include>
+
+
+<!-- additional block elements -->
+<define name="Block.class" combine="choice">
+ <choice>
+ <ref name="lenya.asset"/>
+ </choice>
+</define>
+
+
+</grammar>
Added: lenya/branches/revolution/1.3.x/src/webapp/lenya/pubs/default13/config/doctypes/schemas/lenya.rng
URL: http://svn.apache.org/viewvc/lenya/branches/revolution/1.3.x/src/webapp/lenya/pubs/default13/config/doctypes/schemas/lenya.rng?rev=577177&view=auto
==============================================================================
--- lenya/branches/revolution/1.3.x/src/webapp/lenya/pubs/default13/config/doctypes/schemas/lenya.rng (added)
+++ lenya/branches/revolution/1.3.x/src/webapp/lenya/pubs/default13/config/doctypes/schemas/lenya.rng Wed Sep 19 00:09:42 2007
@@ -0,0 +1,58 @@
+<?xml version="1.0" encoding="UTF-8"?>
+<!--
+ Copyright 1999-2004 The Apache Software Foundation
+
+ Licensed under the Apache License, Version 2.0 (the "License");
+ you may not use this file except in compliance with the License.
+ You may obtain a copy of the License at
+
+ http://www.apache.org/licenses/LICENSE-2.0
+
+ Unless required by applicable law or agreed to in writing, software
+ distributed under the License is distributed on an "AS IS" BASIS,
+ WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
+ See the License for the specific language governing permissions and
+ limitations under the License.
+-->
+
+<!-- $Id: lenya.rng 56673 2004-11-05 15:04:50Z andreas $ -->
+
+<grammar ns="http://www.w3.org/1999/xhtml"
+ xmlns="http://relaxng.org/ns/structure/1.0"
+ xmlns:lenya="http://apache.org/cocoon/lenya/page-envelope/1.0"
+ xmlns:dc="http://purl.org/dc/elements/1.1/"
+ xmlns:dcterms="http://purl.org/dc/terms/"
+ xmlns:xhtml="http://www.w3.org/1999/xhtml"
+ >
+
+
+<include href="dublincore/dublincore.rng"/>
+
+
+<define name="lenya.meta">
+ <element name="lenya:meta">
+ <ref name="dublincore"/>
+ </element>
+</define>
+
+
+<define name="lenya.asset">
+ <element name="lenya:asset">
+ <attribute name="src"><ref name="Text.datatype"/></attribute>
+ <attribute name="type"><ref name="Text.datatype"/></attribute>
+ <attribute name="size"><ref name="Number.datatype"/></attribute>
+ <text/>
+ </element>
+</define>
+
+
+<!-- namespace dummy attributes -->
+<define name="dummy.attlist">
+ <attribute name="dc:dummy"><ref name="Text.datatype"/></attribute>
+ <attribute name="dcterms:dummy"><ref name="Text.datatype"/></attribute>
+ <attribute name="lenya:dummy"><ref name="Text.datatype"/></attribute>
+ <attribute name="xhtml:dummy"><ref name="Text.datatype"/></attribute>
+</define>
+
+
+</grammar>
Added: lenya/branches/revolution/1.3.x/src/webapp/lenya/pubs/default13/config/doctypes/schemas/xhtml.rng
URL: http://svn.apache.org/viewvc/lenya/branches/revolution/1.3.x/src/webapp/lenya/pubs/default13/config/doctypes/schemas/xhtml.rng?rev=577177&view=auto
==============================================================================
--- lenya/branches/revolution/1.3.x/src/webapp/lenya/pubs/default13/config/doctypes/schemas/xhtml.rng (added)
+++ lenya/branches/revolution/1.3.x/src/webapp/lenya/pubs/default13/config/doctypes/schemas/xhtml.rng Wed Sep 19 00:09:42 2007
@@ -0,0 +1,64 @@
+<?xml version="1.0" encoding="UTF-8"?>
+<!--
+ Copyright 1999-2004 The Apache Software Foundation
+
+ Licensed under the Apache License, Version 2.0 (the "License");
+ you may not use this file except in compliance with the License.
+ You may obtain a copy of the License at
+
+ http://www.apache.org/licenses/LICENSE-2.0
+
+ Unless required by applicable law or agreed to in writing, software
+ distributed under the License is distributed on an "AS IS" BASIS,
+ WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
+ See the License for the specific language governing permissions and
+ limitations under the License.
+-->
+
+<!-- $Id: xhtml.rng 413285 2006-06-10 11:10:23Z thorsten $ -->
+
+<!--+
+ | XHTML doctype
+ +-->
+
+<grammar ns="http://www.w3.org/1999/xhtml"
+ xmlns="http://relaxng.org/ns/structure/1.0"
+ xmlns:lenya="http://apache.org/cocoon/lenya/page-envelope/1.0"
+ xmlns:dc="http://purl.org/dc/elements/1.1/"
+ xmlns:dcterms="http://purl.org/dc/terms/"
+ xmlns:xhtml="http://www.w3.org/1999/xhtml"
+ >
+
+<include href="lenya.rng"/>
+
+
+<!-- include original XHTML transitional schema -->
+<include href="xhtml/xhtml-basic.rng">
+
+ <define name="html">
+ <element name="html">
+ <ref name="html.attlist"/>
+ <ref name="lenya.meta"/>
+ <ref name="head"/>
+ <ref name="body"/>
+ </element>
+ </define>
+
+ <define name="html.attlist">
+ <ref name="XHTML.version.attrib"/>
+ <ref name="I18n.attrib"/>
+ <ref name="dummy.attlist"/>
+ </define>
+
+</include>
+
+
+<!-- additional block elements -->
+<define name="Block.class" combine="choice">
+ <choice>
+ <ref name="lenya.asset"/>
+ </choice>
+</define>
+
+
+</grammar>
Added: lenya/branches/revolution/1.3.x/src/webapp/lenya/pubs/default13/config/doctypes/schemas/xhtml/exclude/basic-table.rng
URL: http://svn.apache.org/viewvc/lenya/branches/revolution/1.3.x/src/webapp/lenya/pubs/default13/config/doctypes/schemas/xhtml/exclude/basic-table.rng?rev=577177&view=auto
==============================================================================
--- lenya/branches/revolution/1.3.x/src/webapp/lenya/pubs/default13/config/doctypes/schemas/xhtml/exclude/basic-table.rng (added)
+++ lenya/branches/revolution/1.3.x/src/webapp/lenya/pubs/default13/config/doctypes/schemas/xhtml/exclude/basic-table.rng Wed Sep 19 00:09:42 2007
@@ -0,0 +1,74 @@
+<?xml version="1.0" encoding="UTF-8"?>
+<!--
+ Copyright 1999-2004 The Apache Software Foundation
+
+ Licensed under the Apache License, Version 2.0 (the "License");
+ you may not use this file except in compliance with the License.
+ You may obtain a copy of the License at
+
+ http://www.apache.org/licenses/LICENSE-2.0
+
+ Unless required by applicable law or agreed to in writing, software
+ distributed under the License is distributed on an "AS IS" BASIS,
+ WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
+ See the License for the specific language governing permissions and
+ limitations under the License.
+-->
+
+<!-- $Id: basic-table.rng 413285 2006-06-10 11:10:23Z thorsten $ -->
+
+<!--
+ Checks exclusions applying to basic-table module.
+ This schema is intended to be used in addition to xhtml.rng.
+-->
+<grammar ns="http://www.w3.org/1999/xhtml" xmlns="http://relaxng.org/ns/structure/1.0">
+ <start>
+ <ref name="normalElement"/>
+ </start>
+ <define name="normalElement">
+ <element>
+ <anyName>
+ <except>
+ <name>table</name>
+ </except>
+ </anyName>
+ <ref name="normalContent"/>
+ </element>
+ </define>
+ <define name="normalContent">
+ <zeroOrMore>
+ <choice>
+ <ref name="normalElement"/>
+ <ref name="tableElement"/>
+ <ref name="anyAttribute"/>
+ <text/>
+ </choice>
+ </zeroOrMore>
+ </define>
+ <define name="tableElement">
+ <element name="table">
+ <ref name="tableContent"/>
+ </element>
+ </define>
+ <define name="tableContent">
+ <zeroOrMore>
+ <choice>
+ <element>
+ <anyName>
+ <except>
+ <name>table</name>
+ </except>
+ </anyName>
+ <ref name="tableContent"/>
+ </element>
+ <ref name="anyAttribute"/>
+ <text/>
+ </choice>
+ </zeroOrMore>
+ </define>
+ <define name="anyAttribute">
+ <attribute>
+ <anyName/>
+ </attribute>
+ </define>
+</grammar>
Added: lenya/branches/revolution/1.3.x/src/webapp/lenya/pubs/default13/config/doctypes/schemas/xhtml/exclude/basic.rng
URL: http://svn.apache.org/viewvc/lenya/branches/revolution/1.3.x/src/webapp/lenya/pubs/default13/config/doctypes/schemas/xhtml/exclude/basic.rng?rev=577177&view=auto
==============================================================================
--- lenya/branches/revolution/1.3.x/src/webapp/lenya/pubs/default13/config/doctypes/schemas/xhtml/exclude/basic.rng (added)
+++ lenya/branches/revolution/1.3.x/src/webapp/lenya/pubs/default13/config/doctypes/schemas/xhtml/exclude/basic.rng Wed Sep 19 00:09:42 2007
@@ -0,0 +1,140 @@
+<?xml version="1.0" encoding="UTF-8"?>
+<!--
+ Copyright 1999-2004 The Apache Software Foundation
+
+ Licensed under the Apache License, Version 2.0 (the "License");
+ you may not use this file except in compliance with the License.
+ You may obtain a copy of the License at
+
+ http://www.apache.org/licenses/LICENSE-2.0
+
+ Unless required by applicable law or agreed to in writing, software
+ distributed under the License is distributed on an "AS IS" BASIS,
+ WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
+ See the License for the specific language governing permissions and
+ limitations under the License.
+-->
+
+<!-- $Id: basic.rng 413285 2006-06-10 11:10:23Z thorsten $ -->
+
+<!--
+ Checks exclusions applying to "a" and "pre" elements.
+ This schema is intended to be used in addition to xhtml.rng.
+-->
+<grammar ns="http://www.w3.org/1999/xhtml" xmlns="http://relaxng.org/ns/structure/1.0">
+ <start>
+ <ref name="normalElement"/>
+ </start>
+ <define name="normalElement">
+ <element>
+ <anyName>
+ <except>
+ <name>a</name>
+ <name>pre</name>
+ </except>
+ </anyName>
+ <ref name="normalContent"/>
+ </element>
+ </define>
+ <define name="normalContent">
+ <zeroOrMore>
+ <choice>
+ <ref name="normalElement"/>
+ <ref name="aElement"/>
+ <ref name="preElement"/>
+ <ref name="anyAttribute"/>
+ <text/>
+ </choice>
+ </zeroOrMore>
+ </define>
+ <define name="aElement">
+ <element name="a">
+ <ref name="aContent"/>
+ </element>
+ </define>
+ <define name="aContent">
+ <zeroOrMore>
+ <choice>
+ <element>
+ <anyName>
+ <except>
+ <name>a</name>
+ <name>pre</name>
+ </except>
+ </anyName>
+ <ref name="aContent"/>
+ </element>
+ <ref name="anyAttribute"/>
+ <text/>
+ </choice>
+ </zeroOrMore>
+ </define>
+ <define name="preElement">
+ <element name="pre">
+ <ref name="preContent"/>
+ </element>
+ </define>
+ <define name="preContent">
+ <zeroOrMore>
+ <choice>
+ <element>
+ <anyName>
+ <except>
+ <name>a</name>
+ <name>pre</name>
+ <name>img</name>
+ <name>object</name>
+ <name>applet</name>
+ <name>big</name>
+ <name>small</name>
+ <name>sub</name>
+ <name>sup</name>
+ <name>font</name>
+ <name>basefont</name>
+ </except>
+ </anyName>
+ <ref name="preContent"/>
+ </element>
+ <ref name="aPreElement"/>
+ <ref name="anyAttribute"/>
+ <text/>
+ </choice>
+ </zeroOrMore>
+ </define>
+ <define name="aPreElement">
+ <element name="a">
+ <ref name="aPreContent"/>
+ </element>
+ </define>
+ <define name="aPreContent">
+ <zeroOrMore>
+ <choice>
+ <element>
+ <anyName>
+ <except>
+ <name>a</name>
+ <name>pre</name>
+ <name>img</name>
+ <name>object</name>
+ <name>applet</name>
+ <name>big</name>
+ <name>small</name>
+ <name>sub</name>
+ <name>sup</name>
+ <name>font</name>
+ <name>basefont</name>
+ </except>
+ </anyName>
+ <ref name="aPreContent"/>
+ </element>
+ <ref name="anyAttribute"/>
+ <text/>
+ </choice>
+ </zeroOrMore>
+ </define>
+ <define name="anyAttribute">
+ <attribute>
+ <anyName/>
+ </attribute>
+ </define>
+</grammar>
Added: lenya/branches/revolution/1.3.x/src/webapp/lenya/pubs/default13/config/doctypes/schemas/xhtml/exclude/form.rng
URL: http://svn.apache.org/viewvc/lenya/branches/revolution/1.3.x/src/webapp/lenya/pubs/default13/config/doctypes/schemas/xhtml/exclude/form.rng?rev=577177&view=auto
==============================================================================
--- lenya/branches/revolution/1.3.x/src/webapp/lenya/pubs/default13/config/doctypes/schemas/xhtml/exclude/form.rng (added)
+++ lenya/branches/revolution/1.3.x/src/webapp/lenya/pubs/default13/config/doctypes/schemas/xhtml/exclude/form.rng Wed Sep 19 00:09:42 2007
@@ -0,0 +1,136 @@
+<?xml version="1.0" encoding="UTF-8"?>
+<!--
+ Copyright 1999-2004 The Apache Software Foundation
+
+ Licensed under the Apache License, Version 2.0 (the "License");
+ you may not use this file except in compliance with the License.
+ You may obtain a copy of the License at
+
+ http://www.apache.org/licenses/LICENSE-2.0
+
+ Unless required by applicable law or agreed to in writing, software
+ distributed under the License is distributed on an "AS IS" BASIS,
+ WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
+ See the License for the specific language governing permissions and
+ limitations under the License.
+-->
+
+<!-- $Id: form.rng 413285 2006-06-10 11:10:23Z thorsten $ -->
+
+<!--
+ Checks exclusions applying to form and basic-form modules.
+ This schema is intended to be used in addition to xhtml.rng.
+-->
+<grammar ns="http://www.w3.org/1999/xhtml" xmlns="http://relaxng.org/ns/structure/1.0">
+ <start>
+ <ref name="normalElement"/>
+ </start>
+ <define name="normalElement">
+ <element>
+ <anyName>
+ <except>
+ <name>form</name>
+ <name>label</name>
+ <name>button</name>
+ </except>
+ </anyName>
+ <ref name="normalContent"/>
+ </element>
+ </define>
+ <define name="normalContent">
+ <zeroOrMore>
+ <choice>
+ <ref name="normalElement"/>
+ <ref name="formElement"/>
+ <ref name="labelElement"/>
+ <ref name="buttonElement"/>
+ <ref name="anyAttribute"/>
+ <text/>
+ </choice>
+ </zeroOrMore>
+ </define>
+ <define name="formElement">
+ <element name="form">
+ <ref name="formContent"/>
+ </element>
+ </define>
+ <define name="formContent">
+ <zeroOrMore>
+ <choice>
+ <element>
+ <anyName>
+ <except>
+ <name>form</name>
+ <name>label</name>
+ <name>button</name>
+ </except>
+ </anyName>
+ <ref name="formContent"/>
+ </element>
+ <ref name="labelElement"/>
+ <ref name="buttonElement"/>
+ <ref name="anyAttribute"/>
+ <text/>
+ </choice>
+ </zeroOrMore>
+ </define>
+ <define name="labelElement">
+ <element name="label">
+ <ref name="labelContent"/>
+ </element>
+ </define>
+ <define name="labelContent">
+ <zeroOrMore>
+ <choice>
+ <element>
+ <anyName>
+ <except>
+ <name>form</name>
+ <name>label</name>
+ <name>button</name>
+ </except>
+ </anyName>
+ <ref name="labelContent"/>
+ </element>
+ <ref name="buttonElement"/>
+ <ref name="anyAttribute"/>
+ <text/>
+ </choice>
+ </zeroOrMore>
+ </define>
+ <define name="buttonElement">
+ <element name="button">
+ <ref name="buttonContent"/>
+ </element>
+ </define>
+ <define name="buttonContent">
+ <zeroOrMore>
+ <choice>
+ <element>
+ <anyName>
+ <except>
+ <name>a</name>
+ <name>input</name>
+ <name>select</name>
+ <name>textarea</name>
+ <name>label</name>
+ <name>button</name>
+ <name>form</name>
+ <name>isindex</name>
+ <name>fieldset</name>
+ <name>iframe</name>
+ </except>
+ </anyName>
+ <ref name="buttonContent"/>
+ </element>
+ <ref name="anyAttribute"/>
+ <text/>
+ </choice>
+ </zeroOrMore>
+ </define>
+ <define name="anyAttribute">
+ <attribute>
+ <anyName/>
+ </attribute>
+ </define>
+</grammar>
Added: lenya/branches/revolution/1.3.x/src/webapp/lenya/pubs/default13/config/doctypes/schemas/xhtml/index.html
URL: http://svn.apache.org/viewvc/lenya/branches/revolution/1.3.x/src/webapp/lenya/pubs/default13/config/doctypes/schemas/xhtml/index.html?rev=577177&view=auto
==============================================================================
--- lenya/branches/revolution/1.3.x/src/webapp/lenya/pubs/default13/config/doctypes/schemas/xhtml/index.html (added)
+++ lenya/branches/revolution/1.3.x/src/webapp/lenya/pubs/default13/config/doctypes/schemas/xhtml/index.html Wed Sep 19 00:09:42 2007
@@ -0,0 +1,127 @@
+<?xml version="1.0" encoding="iso-8859-1"?>
+<html xmlns="http://www.w3.org/1999/xhtml">
+<!--
+ Copyright 1999-2004 The Apache Software Foundation
+
+ Licensed under the Apache License, Version 2.0 (the "License");
+ you may not use this file except in compliance with the License.
+ You may obtain a copy of the License at
+
+ http://www.apache.org/licenses/LICENSE-2.0
+
+ Unless required by applicable law or agreed to in writing, software
+ distributed under the License is distributed on an "AS IS" BASIS,
+ WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
+ See the License for the specific language governing permissions and
+ limitations under the License.
+-->
+
+<!-- $Id: index.html 413285 2006-06-10 11:10:23Z thorsten $ -->
+
+<head>
+<title>Modularization of XHTML in RELAX NG</title>
+</head>
+<body>
+<h1>Modularization of XHTML in RELAX NG</h1>
+
+<p>This directory contains an implementataion in RELAX NG of the
+modularization of XHTML specified by the <a
+href="http://www.w3.org/TR/2001/REC-xhtml-modularization-20010410"
+>Modularization of XHTML Recommendation</a>.</p>
+
+<p>The RELAX NG schema has not been mechanically derived from the DTDs.
+Rather, it has been hand-crafted so as to produce a good quality RELAX NG
+schema. However, it may well contain bugs.</p>
+
+<p>The <a href="modules"><code>modules</code></a> directory contains
+all the modules; <a
+href="xhtml-basic.rng"><code>xhtml-basic.rng</code></a> uses the
+modules to implement <a href="http://www.w3.org/TR/xhtml-basic/">XHTML
+Basic</a>; <a
+href="xhtml-strict.rng"><code>xhtml-strict.rng</code></a> uses the
+modules to implement <a href="http://www.w3.org/TR/xhtml1/">XHTML
+1.0</a> strict; <a href="xhtml.rng"><code>xhtml.rng</code></a> uses
+the modules to implement the union of <a
+href="http://www.w3.org/TR/xhtml1/">XHTML 1.0</a> transitional and <a
+href="http://www.w3.org/TR/xhtml1/">XHTML 1.0</a> frameset. You can
+<a href="http://www.thaiopensource.com/download">download</a>
+everything as part of the main Jing distribution. To create a custom
+version of XHTML, simply copy <code>xhtml.rng</code> and delete the
+inclusions of the modules that you do not want.</p>
+
+<p>The biggest difference between the RELAX NG implementation and the
+DTD implementation is that the RELAX NG implementation does not
+require you to create a model module specific to the combination of
+XHTML modules you are using. Instead, simply include the modules you
+want. The modules take care of redefining the content models
+appropriately.</p>
+
+<p>Note also the following differences:</p>
+
+<ul>
+
+<li>The frames module is used instead of the struct module, rather
+than in addition to it.</li>
+
+<li>In the frames module, the <code>frameset</code> element does not
+restrict the optional <code>noframes</code> element to follow all the
+other child elements. XHTML Modularization is inconsistent with both
+HTML 4.0 and XHTML 1.0 here.</li>
+
+<li>In the basic tables abstract module, the <code>table</code>
+element does not have a <code>width</code> attribute. The XHTML Rec is
+ambiguous here: the abstract module has the attribute, but the DTD
+does not.</li>
+
+<li>The object and applet modules takes advantage of RELAX NG's
+absence of restrictions on mixed content to enforce the requirement
+that <code>param</code>s precede other content.</li>
+
+<li>The forms module takes advantage of RELAX NG's absence of
+restrictions on mixed content to enforce the requirement that any
+<code>legend</code> precedes other content.</li>
+
+<li>The RELAX NG schema does not enforce exclusions. The HTML 4 DTD
+uses exclusions in several places, for example, to disallow an
+<code>a</code> element from having an <code>a</code> element as a
+descendant. It is not possible to represent this constraint in XML
+DTDs. XHTML Modularization takes the approach of partially
+representing this restriction by, for example, disallowing an
+<code>a</code> element from having an <code>a</code> element as a
+<em>child</em>, without disallowing it from having an <code>a</code>
+element as a non-immediate descendant. This partial restriction has a
+substantial cost in increasing the complexity and reducing the
+modularity of the schemas. This implementation adopts a different
+approach. The <a href="exclude"><code>exclude</code></a> directory
+contains separate, independent RELAX NG schemas that enforce
+exclusions. To check use of exclusions, a document should be
+validated against each of these schemas that is applicable <strong>in
+addition to</strong> being validated against the RELAX NG XHTML schema
+proper. The available schemas are as follows:
+
+<dl>
+
+<dt><a href="exclude/basic.rng"><code>exclude/basic.rng</code></a></dt>
+<dd>checks the exclusions relating to <code>a</code> and
+<code>pre</code> elements</dd>
+
+<dt><a
+href="exclude/basic-table.rng"><code>exclude/basic-table.rng</code></a></dt>
+
+<dd>checks the exclusions relating to basic tables module (i.e.
+checks that <code>table</code> elements are not nested)</dd>
+
+<dt><a href="exclude/form.rng"><code>exclude/form.rng</code></a></dt>
+
+<dd>checks the exclusions relating to forms and basic forms modules</dd>
+
+</dl>
+
+</li>
+
+</ul>
+
+<address><a href="mailto:[email protected]">James Clark</a></address>
+
+</body>
+</html>
Added: lenya/branches/revolution/1.3.x/src/webapp/lenya/pubs/default13/config/doctypes/schemas/xhtml/modules/applet.rng
URL: http://svn.apache.org/viewvc/lenya/branches/revolution/1.3.x/src/webapp/lenya/pubs/default13/config/doctypes/schemas/xhtml/modules/applet.rng?rev=577177&view=auto
==============================================================================
--- lenya/branches/revolution/1.3.x/src/webapp/lenya/pubs/default13/config/doctypes/schemas/xhtml/modules/applet.rng (added)
+++ lenya/branches/revolution/1.3.x/src/webapp/lenya/pubs/default13/config/doctypes/schemas/xhtml/modules/applet.rng Wed Sep 19 00:09:42 2007
@@ -0,0 +1,65 @@
+<?xml version="1.0" encoding="iso-8859-1"?>
+<!--
+ Copyright 1999-2004 The Apache Software Foundation
+
+ Licensed under the Apache License, Version 2.0 (the "License");
+ you may not use this file except in compliance with the License.
+ You may obtain a copy of the License at
+
+ http://www.apache.org/licenses/LICENSE-2.0
+
+ Unless required by applicable law or agreed to in writing, software
+ distributed under the License is distributed on an "AS IS" BASIS,
+ WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
+ See the License for the specific language governing permissions and
+ limitations under the License.
+-->
+
+<!-- $Id: applet.rng 413285 2006-06-10 11:10:23Z thorsten $ -->
+
+<!-- Applet Module -->
+<grammar xmlns="http://relaxng.org/ns/structure/1.0">
+
+<define name="applet">
+ <element name="applet">
+ <ref name="applet.attlist"/>
+ <!-- No restrictions on mixed content in TREX. -->
+ <zeroOrMore>
+ <ref name="param"/>
+ </zeroOrMore>
+ <ref name="Flow.model"/>
+ </element>
+</define>
+
+<define name="applet.attlist">
+ <ref name="Core.attrib"/>
+ <attribute name="alt">
+ <ref name="Text.datatype"/>
+ </attribute>
+ <optional>
+ <attribute name="archive"/>
+ </optional>
+ <optional>
+ <attribute name="code"/>
+ </optional>
+ <optional>
+ <attribute name="codebase">
+ <ref name="URI.datatype"/>
+ </attribute>
+ </optional>
+ <optional>
+ <attribute name="object"/>
+ </optional>
+ <attribute name="height">
+ <ref name="Length.datatype"/>
+ </attribute>
+ <attribute name="width">
+ <ref name="Length.datatype"/>
+ </attribute>
+</define>
+
+<define name="Inline.class" combine="choice">
+ <ref name="applet"/>
+</define>
+
+</grammar>
\ No newline at end of file
Added: lenya/branches/revolution/1.3.x/src/webapp/lenya/pubs/default13/config/doctypes/schemas/xhtml/modules/attribs.rng
URL: http://svn.apache.org/viewvc/lenya/branches/revolution/1.3.x/src/webapp/lenya/pubs/default13/config/doctypes/schemas/xhtml/modules/attribs.rng?rev=577177&view=auto
==============================================================================
--- lenya/branches/revolution/1.3.x/src/webapp/lenya/pubs/default13/config/doctypes/schemas/xhtml/modules/attribs.rng (added)
+++ lenya/branches/revolution/1.3.x/src/webapp/lenya/pubs/default13/config/doctypes/schemas/xhtml/modules/attribs.rng Wed Sep 19 00:09:42 2007
@@ -0,0 +1,79 @@
+<?xml version="1.0" encoding="iso-8859-1"?>
+<!--
+ Copyright 1999-2004 The Apache Software Foundation
+
+ Licensed under the Apache License, Version 2.0 (the "License");
+ you may not use this file except in compliance with the License.
+ You may obtain a copy of the License at
+
+ http://www.apache.org/licenses/LICENSE-2.0
+
+ Unless required by applicable law or agreed to in writing, software
+ distributed under the License is distributed on an "AS IS" BASIS,
+ WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
+ See the License for the specific language governing permissions and
+ limitations under the License.
+-->
+
+<!-- $Id: attribs.rng 413285 2006-06-10 11:10:23Z thorsten $ -->
+
+<!-- Common Attributes Module -->
+<grammar xmlns="http://relaxng.org/ns/structure/1.0">
+
+<define name="id.attrib">
+ <optional>
+ <attribute name="id">
+ <ref name="ID.datatype"/>
+ </attribute>
+ </optional>
+</define>
+
+<define name="class.attrib">
+ <optional>
+ <attribute name="class">
+ <ref name="NMTOKENS.datatype"/>
+ </attribute>
+ </optional>
+</define>
+
+<define name="title.attrib">
+ <optional>
+ <attribute name="title">
+ <ref name="Text.datatype"/>
+ </attribute>
+ </optional>
+</define>
+
+<define name="Core.attrib">
+ <ref name="id.attrib"/>
+ <ref name="class.attrib"/>
+ <ref name="title.attrib"/>
+</define>
+
+<define name="lang.attrib">
+ <optional>
+ <attribute name="xml:lang">
+ <ref name="LanguageCode.datatype"/>
+ </attribute>
+ </optional>
+</define>
+
+<define name="I18n.attrib">
+ <ref name="lang.attrib"/>
+</define>
+
+<define name="Common.attrib">
+ <ref name="Core.attrib"/>
+ <ref name="I18n.attrib"/>
+</define>
+
+<define name="CommonIdRequired.attrib">
+ <attribute name="id">
+ <ref name="ID.datatype"/>
+ </attribute>
+ <ref name="class.attrib"/>
+ <ref name="title.attrib"/>
+ <ref name="I18n.attrib"/>
+</define>
+
+</grammar>
\ No newline at end of file
Added: lenya/branches/revolution/1.3.x/src/webapp/lenya/pubs/default13/config/doctypes/schemas/xhtml/modules/base.rng
URL: http://svn.apache.org/viewvc/lenya/branches/revolution/1.3.x/src/webapp/lenya/pubs/default13/config/doctypes/schemas/xhtml/modules/base.rng?rev=577177&view=auto
==============================================================================
--- lenya/branches/revolution/1.3.x/src/webapp/lenya/pubs/default13/config/doctypes/schemas/xhtml/modules/base.rng (added)
+++ lenya/branches/revolution/1.3.x/src/webapp/lenya/pubs/default13/config/doctypes/schemas/xhtml/modules/base.rng Wed Sep 19 00:09:42 2007
@@ -0,0 +1,41 @@
+<?xml version="1.0" encoding="iso-8859-1"?>
+<!--
+ Copyright 1999-2004 The Apache Software Foundation
+
+ Licensed under the Apache License, Version 2.0 (the "License");
+ you may not use this file except in compliance with the License.
+ You may obtain a copy of the License at
+
+ http://www.apache.org/licenses/LICENSE-2.0
+
+ Unless required by applicable law or agreed to in writing, software
+ distributed under the License is distributed on an "AS IS" BASIS,
+ WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
+ See the License for the specific language governing permissions and
+ limitations under the License.
+-->
+
+<!-- $Id: base.rng 413285 2006-06-10 11:10:23Z thorsten $ -->
+
+<!-- Base Module -->
+<grammar xmlns="http://relaxng.org/ns/structure/1.0">
+
+<define name="base">
+ <element name="base">
+ <ref name="base.attlist"/>
+ </element>
+</define>
+
+<define name="base.attlist">
+ <attribute name="href">
+ <ref name="URI.datatype"/>
+ </attribute>
+</define>
+
+<define name="head.content" combine="interleave">
+ <optional>
+ <ref name="base"/>
+ </optional>
+</define>
+
+</grammar>
\ No newline at end of file
Added: lenya/branches/revolution/1.3.x/src/webapp/lenya/pubs/default13/config/doctypes/schemas/xhtml/modules/basic-form.rng
URL: http://svn.apache.org/viewvc/lenya/branches/revolution/1.3.x/src/webapp/lenya/pubs/default13/config/doctypes/schemas/xhtml/modules/basic-form.rng?rev=577177&view=auto
==============================================================================
--- lenya/branches/revolution/1.3.x/src/webapp/lenya/pubs/default13/config/doctypes/schemas/xhtml/modules/basic-form.rng (added)
+++ lenya/branches/revolution/1.3.x/src/webapp/lenya/pubs/default13/config/doctypes/schemas/xhtml/modules/basic-form.rng Wed Sep 19 00:09:42 2007
@@ -0,0 +1,219 @@
+<?xml version="1.0" encoding="iso-8859-1"?>
+<!--
+ Copyright 1999-2004 The Apache Software Foundation
+
+ Licensed under the Apache License, Version 2.0 (the "License");
+ you may not use this file except in compliance with the License.
+ You may obtain a copy of the License at
+
+ http://www.apache.org/licenses/LICENSE-2.0
+
+ Unless required by applicable law or agreed to in writing, software
+ distributed under the License is distributed on an "AS IS" BASIS,
+ WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
+ See the License for the specific language governing permissions and
+ limitations under the License.
+-->
+
+<!-- $Id: basic-form.rng 413285 2006-06-10 11:10:23Z thorsten $ -->
+
+
+<!-- Simplified Forms Module -->
+<grammar xmlns="http://relaxng.org/ns/structure/1.0">
+
+<define name="form">
+ <element name="form">
+ <ref name="form.attlist"/>
+ <!-- Don't use Block.model, because this gets redefined by the
+ legacy module. -->
+ <oneOrMore>
+ <ref name="Block.class"/>
+ </oneOrMore>
+ </element>
+</define>
+
+<define name="form.attlist">
+ <ref name="Common.attrib"/>
+ <attribute name="action">
+ <ref name="URI.datatype"/>
+ </attribute>
+ <optional>
+ <attribute name="method">
+ <choice>
+ <value>get</value>
+ <value>post</value>
+ </choice>
+ </attribute>
+ </optional>
+ <optional>
+ <attribute name="enctype">
+ <ref name="ContentType.datatype"/>
+ </attribute>
+ </optional>
+</define>
+
+<define name="label">
+ <element name="label">
+ <ref name="label.attlist"/>
+ <ref name="Inline.model"/>
+ </element>
+</define>
+
+<define name="label.attlist">
+ <ref name="Common.attrib"/>
+ <optional>
+ <attribute name="for">
+ <ref name="IDREF.datatype"/>
+ </attribute>
+ </optional>
+ <optional>
+ <attribute name="accesskey">
+ <ref name="Character.datatype"/>
+ </attribute>
+ </optional>
+</define>
+
+<define name="input">
+ <element name="input">
+ <ref name="input.attlist"/>
+ </element>
+</define>
+
+<define name="input.attlist">
+ <ref name="Common.attrib"/>
+ <optional>
+ <attribute name="type">
+ <ref name="InputType.class"/>
+ </attribute>
+ </optional>
+ <optional>
+ <attribute name="name"/>
+ </optional>
+ <optional>
+ <attribute name="value"/>
+ </optional>
+ <optional>
+ <attribute name="checked">
+ <value>checked</value>
+ </attribute>
+ </optional>
+ <optional>
+ <attribute name="size"/>
+ </optional>
+ <optional>
+ <attribute name="maxlength">
+ <ref name="Number.datatype"/>
+ </attribute>
+ </optional>
+ <optional>
+ <attribute name="src">
+ <ref name="URI.datatype"/>
+ </attribute>
+ </optional>
+ <optional>
+ <attribute name="accesskey">
+ <ref name="Character.datatype"/>
+ </attribute>
+ </optional>
+</define>
+
+<define name="InputType.class">
+ <choice>
+ <value>text</value>
+ <value>password</value>
+ <value>checkbox</value>
+ <value>radio</value>
+ <value>submit</value>
+ <value>reset</value>
+ <value>hidden</value>
+ </choice>
+</define>
+
+<define name="select">
+ <element name="select">
+ <ref name="select.attlist"/>
+ <oneOrMore>
+ <ref name="option"/>
+ </oneOrMore>
+ </element>
+</define>
+
+<define name="select.attlist">
+ <ref name="Common.attrib"/>
+ <optional>
+ <attribute name="name"/>
+ </optional>
+ <optional>
+ <attribute name="size">
+ <ref name="Number.datatype"/>
+ </attribute>
+ </optional>
+ <optional>
+ <attribute name="multiple">
+ <value>multiple</value>
+ </attribute>
+ </optional>
+</define>
+
+<define name="option">
+ <element name="option">
+ <ref name="Common.attrib"/>
+ <optional>
+ <attribute name="selected">
+ <value>selected</value>
+ </attribute>
+ </optional>
+ <optional>
+ <attribute name="value"/>
+ </optional>
+ <text/>
+ </element>
+</define>
+
+<define name="textarea">
+ <element name="textarea">
+ <ref name="textarea.attlist"/>
+ </element>
+</define>
+
+<define name="textarea.attlist">
+ <ref name="Common.attrib"/>
+ <optional>
+ <attribute name="name"/>
+ </optional>
+ <attribute name="rows">
+ <ref name="Number.datatype"/>
+ </attribute>
+ <attribute name="cols">
+ <ref name="Number.datatype"/>
+ </attribute>
+ <optional>
+ <attribute name="accesskey">
+ <ref name="Character.datatype"/>
+ </attribute>
+ </optional>
+ <text/>
+</define>
+
+<define name="Form.class">
+ <ref name="form"/>
+</define>
+
+<define name="Formctrl.class">
+ <choice>
+ <ref name="input"/>
+ <ref name="label"/>
+ <ref name="select"/>
+ <ref name="textarea"/>
+ </choice>
+</define>
+
+<define name="Block.class" combine="choice">
+ <ref name="Form.class"/>
+</define>
+
+<define name="Inline.class" combine="choice">
+ <ref name="Formctrl.class"/>
+</define>
+
+</grammar>
\ No newline at end of file
Added: lenya/branches/revolution/1.3.x/src/webapp/lenya/pubs/default13/config/doctypes/schemas/xhtml/modules/basic-table.rng
URL: http://svn.apache.org/viewvc/lenya/branches/revolution/1.3.x/src/webapp/lenya/pubs/default13/config/doctypes/schemas/xhtml/modules/basic-table.rng?rev=577177&view=auto
==============================================================================
--- lenya/branches/revolution/1.3.x/src/webapp/lenya/pubs/default13/config/doctypes/schemas/xhtml/modules/basic-table.rng (added)
+++ lenya/branches/revolution/1.3.x/src/webapp/lenya/pubs/default13/config/doctypes/schemas/xhtml/modules/basic-table.rng Wed Sep 19 00:09:42 2007
@@ -0,0 +1,164 @@
+<?xml version="1.0" encoding="iso-8859-1"?>
+<!--
+ Copyright 1999-2004 The Apache Software Foundation
+
+ Licensed under the Apache License, Version 2.0 (the "License");
+ you may not use this file except in compliance with the License.
+ You may obtain a copy of the License at
+
+ http://www.apache.org/licenses/LICENSE-2.0
+
+ Unless required by applicable law or agreed to in writing, software
+ distributed under the License is distributed on an "AS IS" BASIS,
+ WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
+ See the License for the specific language governing permissions and
+ limitations under the License.
+-->
+
+<!-- $Id: basic-table.rng 413285 2006-06-10 11:10:23Z thorsten $ -->
+
+<!-- Basic Tables Module -->
+<grammar xmlns="http://relaxng.org/ns/structure/1.0">
+
+<define name="table">
+ <element name="table">
+ <ref name="table.attlist"/>
+ <optional>
+ <ref name="caption"/>
+ </optional>
+ <oneOrMore>
+ <ref name="tr"/>
+ </oneOrMore>
+ </element>
+</define>
+
+<define name="table.attlist">
+ <ref name="Common.attrib"/>
+ <optional>
+ <attribute name="summary">
+ <ref name="Text.datatype"/>
+ </attribute>
+ </optional>
+</define>
+
+<define name="caption">
+ <element name="caption">
+ <ref name="caption.attlist"/>
+ <ref name="Inline.model"/>
+ </element>
+</define>
+
+<define name="caption.attlist">
+ <ref name="Common.attrib"/>
+</define>
+
+<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"/>
+ <ref name="CellHAlign.attrib"/>
+ <ref name="CellVAlign.attrib"/>
+</define>
+
+<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>
+
+<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>
+
+<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="headers">
+ <ref name="IDREFS.datatype"/>
+ </attribute>
+ </optional>
+ <ref name="scope.attrib"/>
+ <optional>
+ <attribute name="rowspan">
+ <ref name="Number.datatype"/>
+ </attribute>
+ </optional>
+ <optional>
+ <attribute name="colspan">
+ <ref name="Number.datatype"/>
+ </attribute>
+ </optional>
+ <ref name="CellHAlign.attrib"/>
+ <ref name="CellVAlign.attrib"/>
+</define>
+
+<define name="CellHAlign.attrib">
+ <optional>
+ <attribute name="align">
+ <choice>
+ <value>left</value>
+ <value>center</value>
+ <value>right</value>
+ </choice>
+ </attribute>
+ </optional>
+</define>
+
+<define name="CellVAlign.attrib">
+ <optional>
+ <attribute name="valign">
+ <choice>
+ <value>top</value>
+ <value>middle</value>
+ <value>bottom</value>
+ </choice>
+ </attribute>
+ </optional>
+</define>
+
+<define name="scope.attrib">
+ <optional>
+ <attribute name="scope">
+ <choice>
+ <value>row</value>
+ <value>col</value>
+ </choice>
+ </attribute>
+ </optional>
+</define>
+
+<define name="Block.class" combine="choice">
+ <ref name="table"/>
+</define>
+
+</grammar>
\ No newline at end of file
Added: lenya/branches/revolution/1.3.x/src/webapp/lenya/pubs/default13/config/doctypes/schemas/xhtml/modules/bdo.rng
URL: http://svn.apache.org/viewvc/lenya/branches/revolution/1.3.x/src/webapp/lenya/pubs/default13/config/doctypes/schemas/xhtml/modules/bdo.rng?rev=577177&view=auto
==============================================================================
--- lenya/branches/revolution/1.3.x/src/webapp/lenya/pubs/default13/config/doctypes/schemas/xhtml/modules/bdo.rng (added)
+++ lenya/branches/revolution/1.3.x/src/webapp/lenya/pubs/default13/config/doctypes/schemas/xhtml/modules/bdo.rng Wed Sep 19 00:09:42 2007
@@ -0,0 +1,55 @@
+<?xml version="1.0" encoding="iso-8859-1"?>
+<!--
+ Copyright 1999-2004 The Apache Software Foundation
+
+ Licensed under the Apache License, Version 2.0 (the "License");
+ you may not use this file except in compliance with the License.
+ You may obtain a copy of the License at
+
+ http://www.apache.org/licenses/LICENSE-2.0
+
+ Unless required by applicable law or agreed to in writing, software
+ distributed under the License is distributed on an "AS IS" BASIS,
+ WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
+ See the License for the specific language governing permissions and
+ limitations under the License.
+-->
+
+<!-- $Id: bdo.rng 413285 2006-06-10 11:10:23Z thorsten $ -->
+
+<!-- Bi-directional Module -->
+<grammar xmlns="http://relaxng.org/ns/structure/1.0">
+
+<define name="bdo">
+ <element name="bdo">
+ <ref name="bdo.attlist"/>
+ <ref name="Inline.model"/>
+ </element>
+</define>
+
+<define name="bdo.attlist">
+ <ref name="Core.attrib"/>
+ <ref name="lang.attrib"/>
+ <ref name="dir.attrib"/>
+</define>
+
+<define name="dir.attrib">
+ <attribute name="dir">
+ <choice>
+ <value>ltr</value>
+ <value>rtl</value>
+ </choice>
+ </attribute>
+</define>
+
+<define name="I18n.attrib" combine="interleave">
+ <optional>
+ <ref name="dir.attrib"/>
+ </optional>
+</define>
+
+<define name="Inline.class" combine="choice">
+ <ref name="bdo"/>
+</define>
+
+</grammar>
\ No newline at end of file
Added: lenya/branches/revolution/1.3.x/src/webapp/lenya/pubs/default13/config/doctypes/schemas/xhtml/modules/csismap.rng
URL: http://svn.apache.org/viewvc/lenya/branches/revolution/1.3.x/src/webapp/lenya/pubs/default13/config/doctypes/schemas/xhtml/modules/csismap.rng?rev=577177&view=auto
==============================================================================
--- lenya/branches/revolution/1.3.x/src/webapp/lenya/pubs/default13/config/doctypes/schemas/xhtml/modules/csismap.rng (added)
+++ lenya/branches/revolution/1.3.x/src/webapp/lenya/pubs/default13/config/doctypes/schemas/xhtml/modules/csismap.rng Wed Sep 19 00:09:42 2007
@@ -0,0 +1,120 @@
+<?xml version="1.0" encoding="iso-8859-1"?>
+<!--
+ Copyright 1999-2004 The Apache Software Foundation
+
+ Licensed under the Apache License, Version 2.0 (the "License");
+ you may not use this file except in compliance with the License.
+ You may obtain a copy of the License at
+
+ http://www.apache.org/licenses/LICENSE-2.0
+
+ Unless required by applicable law or agreed to in writing, software
+ distributed under the License is distributed on an "AS IS" BASIS,
+ WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
+ See the License for the specific language governing permissions and
+ limitations under the License.
+-->
+
+<!-- $Id: csismap.rng 413285 2006-06-10 11:10:23Z thorsten $ -->
+
+<!-- Client-side Image Map Module -->
+<grammar xmlns="http://relaxng.org/ns/structure/1.0">
+
+<define name="area">
+ <element name="area">
+ <ref name="area.attlist"/>
+ </element>
+</define>
+
+<define name="area.attlist">
+ <ref name="Common.attrib"/>
+ <optional>
+ <attribute name="href">
+ <ref name="URI.datatype"/>
+ </attribute>
+ </optional>
+ <ref name="shape.attrib"/>
+ <ref name="coords.attrib"/>
+ <optional>
+ <attribute name="nohref">
+ <value>nohref</value>
+ </attribute>
+ </optional>
+ <attribute name="alt">
+ <ref name="Text.datatype"/>
+ </attribute>
+ <optional>
+ <attribute name="tabindex">
+ <ref name="Number.datatype"/>
+ </attribute>
+ </optional>
+ <optional>
+ <attribute name="accesskey">
+ <ref name="Character.datatype"/>
+ </attribute>
+ </optional>
+</define>
+
+<define name="map">
+ <element name="map">
+ <ref name="map.attlist"/>
+ <oneOrMore>
+ <choice>
+ <!-- This does not use Block.mix
+ because loose.dtd doesn't use %Flow; -->
+ <ref name="Block.class"/>
+ <ref name="area"/>
+ </choice>
+ </oneOrMore>
+ </element>
+</define>
+
+<define name="map.attlist">
+ <ref name="CommonIdRequired.attrib"/>
+</define>
+
+<define name="a.attlist" combine="interleave">
+ <ref name="shape.attrib"/>
+ <ref name="coords.attrib"/>
+</define>
+
+<define name="img.attlist" combine="interleave">
+ <ref name="usemap.attlist"/>
+</define>
+
+<define name="object.attlist" combine="interleave">
+ <ref name="usemap.attlist"/>
+</define>
+
+<define name="usemap.attlist">
+ <optional>
+ <attribute name="usemap">
+ <ref name="IDREF.datatype"/>
+ </attribute>
+ </optional>
+</define>
+
+<define name="shape.attrib">
+ <optional>
+ <attribute name="shape">
+ <choice>
+ <value>rect</value>
+ <value>circle</value>
+ <value>poly</value>
+ <value>default</value>
+ </choice>
+ </attribute>
+ </optional>
+</define>
+
+<define name="coords.attrib">
+ <optional>
+ <attribute name="coords"/>
+ </optional>
+</define>
+
+<define name="Inline.class" combine="choice">
+ <ref name="map"/>
+</define>
+
+</grammar>
\ No newline at end of file
Added: lenya/branches/revolution/1.3.x/src/webapp/lenya/pubs/default13/config/doctypes/schemas/xhtml/modules/datatypes.rng
URL: http://svn.apache.org/viewvc/lenya/branches/revolution/1.3.x/src/webapp/lenya/pubs/default13/config/doctypes/schemas/xhtml/modules/datatypes.rng?rev=577177&view=auto
==============================================================================
--- lenya/branches/revolution/1.3.x/src/webapp/lenya/pubs/default13/config/doctypes/schemas/xhtml/modules/datatypes.rng (added)
+++ lenya/branches/revolution/1.3.x/src/webapp/lenya/pubs/default13/config/doctypes/schemas/xhtml/modules/datatypes.rng Wed Sep 19 00:09:42 2007
@@ -0,0 +1,138 @@
+<?xml version="1.0" encoding="iso-8859-1"?>
+<!--
+ Copyright 1999-2004 The Apache Software Foundation
+
+ Licensed under the Apache License, Version 2.0 (the "License");
+ you may not use this file except in compliance with the License.
+ You may obtain a copy of the License at
+
+ http://www.apache.org/licenses/LICENSE-2.0
+
+ Unless required by applicable law or agreed to in writing, software
+ distributed under the License is distributed on an "AS IS" BASIS,
+ WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
+ See the License for the specific language governing permissions and
+ limitations under the License.
+-->
+
+<!-- $Id: datatypes.rng 413285 2006-06-10 11:10:23Z thorsten $ -->
+
+<!-- Datatypes Module -->
+<grammar xmlns="http://relaxng.org/ns/structure/1.0"
+ datatypeLibrary="http://www.w3.org/2001/XMLSchema-datatypes">
+
+<!-- Length defined for cellpadding/cellspacing -->
+
+<!-- nn for pixels or nn% for percentage length -->
+<define name="Length.datatype">
+ <text/>
+</define>
+
+<!-- space-separated list of link types -->
+<define name="LinkTypes.datatype">
+ <ref name="NMTOKENS.datatype"/>
+</define>
+
+<!-- single or comma-separated list of media descriptors -->
+<define name="MediaDesc.datatype">
+ <text/>
+</define>
+
+<!-- pixel, percentage, or relative -->
+<define name="MultiLength.datatype">
+ <text/>
+</define>
+
+<!-- one or more digits (NUMBER) -->
+<define name="Number.datatype">
+ <text/>
+</define>
+
+<!-- integer representing length in pixels -->
+<define name="Pixels.datatype">
+ <text/>
+</define>
+
+<!-- script expression -->
+<define name="Script.datatype">
+ <text/>
+</define>
+
+<!-- textual content -->
+<define name="Text.datatype">
+ <text/>
+</define>
+
+<!-- Imported Datatypes ................................ -->
+
+<!-- a single character from [ISO10646] -->
+<define name="Character.datatype">
+ <text/>
+</define>
+
+<!-- a character encoding, as per [RFC2045] -->
+<define name="Charset.datatype">
+ <text/>
+</define>
+
+<!-- a space separated list of character encodings, as per [RFC2045] -->
+<define name="Charsets.datatype">
+ <text/>
+</define>
+
+<!-- media type, as per [RFC2045] -->
+<define name="ContentType.datatype">
+ <text/>
+</define>
+
+<!-- comma-separated list of media types, as per [RFC2045] -->
+<define name="ContentTypes.datatype">
+ <text/>
+</define>
+
+<!-- date and time information. ISO date format -->
+<define name="Datetime.datatype">
+ <text/>
+</define>
+
+<!-- formal public identifier, as per [ISO8879] -->
+<define name="FPI.datatype">
+ <text/>
+</define>
+
+<!-- a language code, as per [RFC1766] -->
+<define name="LanguageCode.datatype">
+ <data type="language"/>
+</define>
+
+<!-- a Uniform Resource Identifier, see [URI] -->
+<define name="URI.datatype">
+ <data type="anyURI"/>
+</define>
+
+<!-- a space-separated list of Uniform Resource Identifiers, see [URI] -->
+<define name="URIs.datatype">
+ <text/>
+</define>
+
+<define name="NMTOKEN.datatype">
+ <data type="NMTOKEN"/>
+</define>
+
+<define name="NMTOKENS.datatype">
+ <data type="NMTOKENS"/>
+</define>
+
+<define name="ID.datatype">
+ <data type="ID"/>
+</define>
+
+<define name="IDREF.datatype">
+ <data type="IDREF"/>
+</define>
+
+<define name="IDREFS.datatype">
+ <data type="IDREFS"/>
+</define>
+
+</grammar>
\ No newline at end of file
Added: lenya/branches/revolution/1.3.x/src/webapp/lenya/pubs/default13/config/doctypes/schemas/xhtml/modules/edit.rng
URL: http://svn.apache.org/viewvc/lenya/branches/revolution/1.3.x/src/webapp/lenya/pubs/default13/config/doctypes/schemas/xhtml/modules/edit.rng?rev=577177&view=auto
==============================================================================
--- lenya/branches/revolution/1.3.x/src/webapp/lenya/pubs/default13/config/doctypes/schemas/xhtml/modules/edit.rng (added)
+++ lenya/branches/revolution/1.3.x/src/webapp/lenya/pubs/default13/config/doctypes/schemas/xhtml/modules/edit.rng Wed Sep 19 00:09:42 2007
@@ -0,0 +1,73 @@
+<?xml version="1.0" encoding="iso-8859-1"?>
+<!--
+ Copyright 1999-2004 The Apache Software Foundation
+
+ Licensed under the Apache License, Version 2.0 (the "License");
+ you may not use this file except in compliance with the License.
+ You may obtain a copy of the License at
+
+ http://www.apache.org/licenses/LICENSE-2.0
+
+ Unless required by applicable law or agreed to in writing, software
+ distributed under the License is distributed on an "AS IS" BASIS,
+ WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
+ See the License for the specific language governing permissions and
+ limitations under the License.
+-->
+
+<!-- $Id: edit.rng 413285 2006-06-10 11:10:23Z thorsten $ -->
+
+<!-- Edit Module -->
+<grammar xmlns="http://relaxng.org/ns/structure/1.0">
+
+<define name="del">
+ <element name="del">
+ <ref name="del.attlist"/>
+ <ref name="Inline.model"/>
+ </element>
+</define>
+
+<define name="del.attlist">
+ <ref name="Edit.attrib"/>
+</define>
+
+<define name="ins">
+ <element name="ins">
+ <ref name="ins.attlist"/>
+ <ref name="Inline.model"/>
+ </element>
+</define>
+
+<define name="ins.attlist">
+ <ref name="Edit.attrib"/>
+</define>
+
+<define name="Edit.attrib">
+ <optional>
+ <attribute name="cite">
+ <ref name="URI.datatype"/>
+ </attribute>
+ </optional>
+ <optional>
+ <attribute name="datetime">
+ <ref name="Datetime.datatype"/>
+ </attribute>
+ </optional>
+</define>
+
+<define name="Edit.class">
+ <choice>
+ <ref name="del"/>
+ <ref name="ins"/>
+ </choice>
+</define>
+
+<define name="Inline.class" combine="choice">
+ <ref name="Edit.class"/>
+</define>
+
+<define name="Block.class" combine="choice">
+ <ref name="Edit.class"/>
+</define>
+
+</grammar>
\ No newline at end of file
Added: lenya/branches/revolution/1.3.x/src/webapp/lenya/pubs/default13/config/doctypes/schemas/xhtml/modules/events.rng
URL: http://svn.apache.org/viewvc/lenya/branches/revolution/1.3.x/src/webapp/lenya/pubs/default13/config/doctypes/schemas/xhtml/modules/events.rng?rev=577177&view=auto
==============================================================================
--- lenya/branches/revolution/1.3.x/src/webapp/lenya/pubs/default13/config/doctypes/schemas/xhtml/modules/events.rng (added)
+++ lenya/branches/revolution/1.3.x/src/webapp/lenya/pubs/default13/config/doctypes/schemas/xhtml/modules/events.rng Wed Sep 19 00:09:42 2007
@@ -0,0 +1,226 @@
+<?xml version="1.0" encoding="iso-8859-1"?>
+<!--
+ Copyright 1999-2004 The Apache Software Foundation
+
+ Licensed under the Apache License, Version 2.0 (the "License");
+ you may not use this file except in compliance with the License.
+ You may obtain a copy of the License at
+
+ http://www.apache.org/licenses/LICENSE-2.0
+
+ Unless required by applicable law or agreed to in writing, software
+ distributed under the License is distributed on an "AS IS" BASIS,
+ WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
+ See the License for the specific language governing permissions and
+ limitations under the License.
+-->
+
+<!-- $Id: events.rng 413285 2006-06-10 11:10:23Z thorsten $ -->
+
+<!-- Events Module -->
+<grammar xmlns="http://relaxng.org/ns/structure/1.0">
+
+<define name="a.attlist" combine="interleave">
+ <optional>
+ <attribute name="onblur">
+ <ref name="Script.datatype"/>
+ </attribute>
+ </optional>
+ <optional>
+ <attribute name="onfocus">
+ <ref name="Script.datatype"/>
+ </attribute>
+ </optional>
+</define>
+
+<define name="area.attlist" combine="interleave">
+ <optional>
+ <attribute name="onblur">
+ <ref name="Script.datatype"/>
+ </attribute>
+ </optional>
+ <optional>
+ <attribute name="onfocus">
+ <ref name="Script.datatype"/>
+ </attribute>
+ </optional>
+</define>
+
+<define name="form.attlist" combine="interleave">
+ <optional>
+ <attribute name="onreset">
+ <ref name="Script.datatype"/>
+ </attribute>
+ </optional>
+ <optional>
+ <attribute name="onsubmit">
+ <ref name="Script.datatype"/>
+ </attribute>
+ </optional>
+</define>
+
+<define name="body.attlist" combine="interleave">
+ <optional>
+ <attribute name="onload">
+ <ref name="Script.datatype"/>
+ </attribute>
+ </optional>
+ <optional>
+ <attribute name="onunload">
+ <ref name="Script.datatype"/>
+ </attribute>
+ </optional>
+</define>
+
+<define name="label.attlist" combine="interleave">
+ <optional>
+ <attribute name="onblur">
+ <ref name="Script.datatype"/>
+ </attribute>
+ </optional>
+ <optional>
+ <attribute name="onfocus">
+ <ref name="Script.datatype"/>
+ </attribute>
+ </optional>
+</define>
+
+<define name="input.attlist" combine="interleave">
+ <optional>
+ <attribute name="onblur">
+ <ref name="Script.datatype"/>
+ </attribute>
+ </optional>
+ <optional>
+ <attribute name="onchange">
+ <ref name="Script.datatype"/>
+ </attribute>
+ </optional>
+ <optional>
+ <attribute name="onfocus">
+ <ref name="Script.datatype"/>
+ </attribute>
+ </optional>
+ <optional>
+ <attribute name="onselect">
+ <ref name="Script.datatype"/>
+ </attribute>
+ </optional>
+</define>
+
+<define name="select.attlist" combine="interleave">
+ <optional>
+ <attribute name="onblur">
+ <ref name="Script.datatype"/>
+ </attribute>
+ </optional>
+ <optional>
+ <attribute name="onchange">
+ <ref name="Script.datatype"/>
+ </attribute>
+ </optional>
+ <optional>
+ <attribute name="onfocus">
+ <ref name="Script.datatype"/>
+ </attribute>
+ </optional>
+</define>
+
+<define name="textarea.attlist" combine="interleave">
+ <optional>
+ <attribute name="onblur">
+ <ref name="Script.datatype"/>
+ </attribute>
+ </optional>
+ <optional>
+ <attribute name="onchange">
+ <ref name="Script.datatype"/>
+ </attribute>
+ </optional>
+ <optional>
+ <attribute name="onfocus">
+ <ref name="Script.datatype"/>
+ </attribute>
+ </optional>
+ <optional>
+ <attribute name="onselect">
+ <ref name="Script.datatype"/>
+ </attribute>
+ </optional>
+</define>
+
+<define name="button.attlist" combine="interleave">
+ <optional>
+ <attribute name="onblur">
+ <ref name="Script.datatype"/>
+ </attribute>
+ </optional>
+ <optional>
+ <attribute name="onfocus">
+ <ref name="Script.datatype"/>
+ </attribute>
+ </optional>
+</define>
+
+<define name="Events.attrib">
+ <optional>
+ <attribute name="onclick">
+ <ref name="Script.datatype"/>
+ </attribute>
+ </optional>
+ <optional>
+ <attribute name="ondblclick">
+ <ref name="Script.datatype"/>
+ </attribute>
+ </optional>
+ <optional>
+ <attribute name="onmousedown">
+ <ref name="Script.datatype"/>
+ </attribute>
+ </optional>
+ <optional>
+ <attribute name="onmouseup">
+ <ref name="Script.datatype"/>
+ </attribute>
+ </optional>
+ <optional>
+ <attribute name="onmouseover">
+ <ref name="Script.datatype"/>
+ </attribute>
+ </optional>
+ <optional>
+ <attribute name="onmousemove">
+ <ref name="Script.datatype"/>
+ </attribute>
+ </optional>
+ <optional>
+ <attribute name="onmouseout">
+ <ref name="Script.datatype"/>
+ </attribute>
+ </optional>
+ <optional>
+ <attribute name="onkeypress">
+ <ref name="Script.datatype"/>
+ </attribute>
+ </optional>
+ <optional>
+ <attribute name="onkeydown">
+ <ref name="Script.datatype"/>
+ </attribute>
+ </optional>
+ <optional>
+ <attribute name="onkeyup">
+ <ref name="Script.datatype"/>
+ </attribute>
+ </optional>
+</define>
+
+<define name="Common.attrib" combine="interleave">
+ <ref name="Events.attrib"/>
+</define>
+
+<define name="CommonIdRequired.attrib" combine="interleave">
+ <ref name="Events.attrib"/>
+</define>
+
+</grammar>
\ No newline at end of file
Added: lenya/branches/revolution/1.3.x/src/webapp/lenya/pubs/default13/config/doctypes/schemas/xhtml/modules/form.rng
URL: http://svn.apache.org/viewvc/lenya/branches/revolution/1.3.x/src/webapp/lenya/pubs/default13/config/doctypes/schemas/xhtml/modules/form.rng?rev=577177&view=auto
==============================================================================
--- lenya/branches/revolution/1.3.x/src/webapp/lenya/pubs/default13/config/doctypes/schemas/xhtml/modules/form.rng (added)
+++ lenya/branches/revolution/1.3.x/src/webapp/lenya/pubs/default13/config/doctypes/schemas/xhtml/modules/form.rng Wed Sep 19 00:09:42 2007
@@ -0,0 +1,227 @@
+<?xml version="1.0" encoding="iso-8859-1"?>
+<!--
+ Copyright 1999-2004 The Apache Software Foundation
+
+ Licensed under the Apache License, Version 2.0 (the "License");
+ you may not use this file except in compliance with the License.
+ You may obtain a copy of the License at
+
+ http://www.apache.org/licenses/LICENSE-2.0
+
+ Unless required by applicable law or agreed to in writing, software
+ distributed under the License is distributed on an "AS IS" BASIS,
+ WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
+ See the License for the specific language governing permissions and
+ limitations under the License.
+-->
+
+<!-- $Id: form.rng 413285 2006-06-10 11:10:23Z thorsten $ -->
+
+<!-- Forms Module -->
+<!-- Unlike the DTD implementation, this builds on the basic-form module --><grammar xmlns="http://relaxng.org/ns/structure/1.0">
+
+<include href="basic-form.rng">
+
+ <define name="select">
+ <element name="select">
+ <ref name="select.attlist"/>
+ <oneOrMore>
+ <choice>
+ <ref name="option"/>
+ <ref name="optgroup"/>
+ </choice>
+ </oneOrMore>
+ </element>
+ </define>
+
+</include>
+
+<define name="form.attlist" combine="interleave">
+ <optional>
+ <attribute name="accept-charset">
+ <ref name="Charsets.datatype"/>
+ </attribute>
+ </optional>
+ <optional>
+ <attribute name="accept">
+ <ref name="ContentTypes.datatype"/>
+ </attribute>
+ </optional>
+</define>
+
+<define name="input.attlist" combine="interleave">
+ <optional>
+ <attribute name="disabled">
+ <value>disabled</value>
+ </attribute>
+ </optional>
+ <optional>
+ <attribute name="readonly">
+ <value>readonly</value>
+ </attribute>
+ </optional>
+ <optional>
+ <attribute name="alt"/>
+ </optional>
+ <optional>
+ <attribute name="tabindex">
+ <ref name="Number.datatype"/>
+ </attribute>
+ </optional>
+ <optional>
+ <attribute name="accept">
+ <ref name="ContentTypes.datatype"/>
+ </attribute>
+ </optional>
+</define>
+
+<define name="InputType.class" combine="choice">
+ <choice>
+ <value>image</value>
+ <value>button</value>
+ </choice>
+</define>
+
+<define name="select.attlist" combine="interleave">
+ <optional>
+ <attribute name="disabled">
+ <value>disabled</value>
+ </attribute>
+ </optional>
+ <optional>
+ <attribute name="tabindex">
+ <ref name="Number.datatype"/>
+ </attribute>
+ </optional>
+</define>
+
+<define name="option.attlist" combine="interleave">
+ <optional>
+ <attribute name="disabled">
+ <value>disabled</value>
+ </attribute>
+ </optional>
+ <optional>
+ <attribute name="label">
+ <ref name="Text.datatype"/>
+ </attribute>
+ </optional>
+</define>
+
+<define name="optgroup">
+ <element name="optgroup">
+ <ref name="optgroup.attlist"/>
+ <oneOrMore>
+ <ref name="option"/>
+ </oneOrMore>
+ </element>
+</define>
+
+<define name="optgroup.attlist">
+ <ref name="Common.attrib"/>
+ <optional>
+ <attribute name="disabled">
+ <value>disabled</value>
+ </attribute>
+ </optional>
+ <attribute name="label">
+ <ref name="Text.datatype"/>
+ </attribute>
+</define>
+
+<define name="textarea.attlist" combine="interleave">
+ <optional>
+ <attribute name="disabled">
+ <value>disabled</value>
+ </attribute>
+ </optional>
+ <optional>
+ <attribute name="readonly">
+ <value>readonly</value>
+ </attribute>
+ </optional>
+ <optional>
+ <attribute name="tabindex">
+ <ref name="Number.datatype"/>
+ </attribute>
+ </optional>
+</define>
+
+<define name="fieldset">
+ <element name="fieldset">
+ <ref name="fieldset.attlist"/>
+ <ref name="legend"/>
+ <ref name="Flow.model"/>
+ </element>
+</define>
+
+<define name="fieldset.attlist">
+ <ref name="Common.attrib"/>
+</define>
+
+<define name="button">
+ <element name="button">
+ <ref name="button.attlist"/>
+ <ref name="Flow.model"/>
+ </element>
+</define>
+
+<define name="button.attlist">
+ <ref name="Common.attrib"/>
+ <optional>
+ <attribute name="name"/>
+ </optional>
+ <optional>
+ <attribute name="value"/>
+ </optional>
+ <optional>
+ <attribute name="type">
+ <choice>
+ <value>button</value>
+ <value>submit</value>
+ <value>reset</value>
+ </choice>
+ </attribute>
+ </optional>
+ <optional>
+ <attribute name="disabled">
+ <value>disabled</value>
+ </attribute>
+ </optional>
+ <optional>
+ <attribute name="tabindex">
+ <ref name="Number.datatype"/>
+ </attribute>
+ </optional>
+ <optional>
+ <attribute name="accesskey">
+ <ref name="Character.datatype"/>
+ </attribute>
+ </optional>
+</define>
+
+<define name="legend">
+ <element name="legend">
+ <ref name="legend.attlist"/>
+ <ref name="Inline.model"/>
+ </element>
+</define>
+
+<define name="legend.attlist">
+ <ref name="Common.attrib"/>
+ <optional>
+ <attribute name="accesskey">
+ <ref name="Character.datatype"/>
+ </attribute>
+ </optional>
+</define>
+
+<define name="Form.class" combine="choice">
+ <ref name="fieldset"/>
+</define>
+
+<define name="Formctrl.class" combine="choice">
+ <ref name="button"/>
+</define>
+
+</grammar>
\ No newline at end of file
Added: lenya/branches/revolution/1.3.x/src/webapp/lenya/pubs/default13/config/doctypes/schemas/xhtml/modules/frames.rng
URL: http://svn.apache.org/viewvc/lenya/branches/revolution/1.3.x/src/webapp/lenya/pubs/default13/config/doctypes/schemas/xhtml/modules/frames.rng?rev=577177&view=auto
==============================================================================
--- lenya/branches/revolution/1.3.x/src/webapp/lenya/pubs/default13/config/doctypes/schemas/xhtml/modules/frames.rng (added)
+++ lenya/branches/revolution/1.3.x/src/webapp/lenya/pubs/default13/config/doctypes/schemas/xhtml/modules/frames.rng Wed Sep 19 00:09:42 2007
@@ -0,0 +1,129 @@
+<?xml version="1.0" encoding="iso-8859-1"?>
+<!--
+ Copyright 1999-2004 The Apache Software Foundation
+
+ Licensed under the Apache License, Version 2.0 (the "License");
+ you may not use this file except in compliance with the License.
+ You may obtain a copy of the License at
+
+ http://www.apache.org/licenses/LICENSE-2.0
+
+ Unless required by applicable law or agreed to in writing, software
+ distributed under the License is distributed on an "AS IS" BASIS,
+ WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
+ See the License for the specific language governing permissions and
+ limitations under the License.
+-->
+
+<!-- $Id: frames.rng 413285 2006-06-10 11:10:23Z thorsten $ -->
+
+<!-- Frames Module -->
+<grammar xmlns="http://relaxng.org/ns/structure/1.0">
+
+<include href="struct.rng">
+
+ <define name="html">
+ <element name="html">
+ <ref name="html.attlist"/>
+ <ref name="head"/>
+ <ref name="frameset"/>
+ </element>
+ </define>
+
+</include>
+
+<define name="frameset">
+ <element name="frameset">
+ <ref name="frameset.attlist"/>
+ <interleave>
+ <oneOrMore>
+ <choice>
+ <ref name="frameset"/>
+ <ref name="frame"/>
+ </choice>
+ </oneOrMore>
+ <optional>
+ <ref name="noframes"/>
+ </optional>
+ </interleave>
+ </element>
+</define>
+
+<define name="frameset.attlist">
+ <ref name="Core.attrib"/>
+ <optional>
+ <attribute name="cols">
+ <ref name="MultiLength.datatype"/>
+ </attribute>
+ </optional>
+ <optional>
+ <attribute name="rows">
+ <ref name="MultiLength.datatype"/>
+ </attribute>
+ </optional>
+</define>
+
+<define name="frame">
+ <element name="frame">
+ <ref name="frame.attlist"/>
+ </element>
+</define>
+
+<define name="frame.attlist">
+ <ref name="Core.attrib"/>
+ <optional>
+ <attribute name="longdesc">
+ <ref name="URI.datatype"/>
+ </attribute>
+ </optional>
+ <optional>
+ <attribute name="src">
+ <ref name="URI.datatype"/>
+ </attribute>
+ </optional>
+ <optional>
+ <attribute name="frameborder">
+ <choice>
+ <value>1</value>
+ <value>0</value>
+ </choice>
+ </attribute>
+ </optional>
+ <optional>
+ <attribute name="marginwidth">
+ <ref name="Pixels.datatype"/>
+ </attribute>
+ </optional>
+ <optional>
+ <attribute name="marginheight">
+ <ref name="Pixels.datatype"/>
+ </attribute>
+ </optional>
+ <optional>
+ <attribute name="noresize">
+ <value>noresize</value>
+ </attribute>
+ </optional>
+ <optional>
+ <attribute name="scrolling">
+ <choice>
+ <value>yes</value>
+ <value>no</value>
+ <value>auto</value>
+ </choice>
+ </attribute>
+ </optional>
+</define>
+
+<define name="noframes">
+ <element name="noframes">
+ <ref name="noframes.attlist"/>
+ <ref name="body"/>
+ </element>
+</define>
+
+<define name="noframes.attlist">
+ <ref name="Common.attrib"/>
+</define>
+
+</grammar>
\ No newline at end of file
Added: lenya/branches/revolution/1.3.x/src/webapp/lenya/pubs/default13/config/doctypes/schemas/xhtml/modules/hypertext.rng
URL: http://svn.apache.org/viewvc/lenya/branches/revolution/1.3.x/src/webapp/lenya/pubs/default13/config/doctypes/schemas/xhtml/modules/hypertext.rng?rev=577177&view=auto
==============================================================================
--- lenya/branches/revolution/1.3.x/src/webapp/lenya/pubs/default13/config/doctypes/schemas/xhtml/modules/hypertext.rng (added)
+++ lenya/branches/revolution/1.3.x/src/webapp/lenya/pubs/default13/config/doctypes/schemas/xhtml/modules/hypertext.rng Wed Sep 19 00:09:42 2007
@@ -0,0 +1,79 @@
+<?xml version="1.0" encoding="iso-8859-1"?>
+<!--
+ Copyright 1999-2004 The Apache Software Foundation
+
+ Licensed under the Apache License, Version 2.0 (the "License");
+ you may not use this file except in compliance with the License.
+ You may obtain a copy of the License at
+
+ http://www.apache.org/licenses/LICENSE-2.0
+
+ Unless required by applicable law or agreed to in writing, software
+ distributed under the License is distributed on an "AS IS" BASIS,
+ WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
+ See the License for the specific language governing permissions and
+ limitations under the License.
+-->
+
+<!-- $Id: hypertext.rng 413285 2006-06-10 11:10:23Z thorsten $ -->
+
+<!-- Hypertext Module -->
+<!-- Depends on text module. -->
+<grammar xmlns="http://relaxng.org/ns/structure/1.0">
+
+<define name="a">
+ <element name="a">
+ <ref name="a.attlist"/>
+ <ref name="Inline.model"/>
+ </element>
+</define>
+
+<define name="a.attlist">
+ <ref name="Common.attrib"/>
+ <optional>
+ <attribute name="href">
+ <ref name="URI.datatype"/>
+ </attribute>
+ </optional>
+ <optional>
+ <attribute name="charset">
+ <ref name="Charset.datatype"/>
+ </attribute>
+ </optional>
+ <optional>
+ <attribute name="type">
+ <ref name="ContentType.datatype"/>
+ </attribute>
+ </optional>
+ <optional>
+ <attribute name="hreflang">
+ <ref name="LanguageCode.datatype"/>
+ </attribute>
+ </optional>
+ <optional>
+ <attribute name="rel">
+ <ref name="LinkTypes.datatype"/>
+ </attribute>
+ </optional>
+ <optional>
+ <attribute name="rev">
+ <ref name="LinkTypes.datatype"/>
+ </attribute>
+ </optional>
+ <optional>
+ <attribute name="accesskey">
+ <ref name="Character.datatype"/>
+ </attribute>
+ </optional>
+ <optional>
+ <attribute name="tabindex">
+ <ref name="Number.datatype"/>
+ </attribute>
+ </optional>
+</define>
+
+<define name="Inline.class" combine="choice">
+ <ref name="a"/>
+</define>
+
+</grammar>
\ No newline at end of file
lmpx.com only provides a reader for public news (NNTP) servers. It is not
affiliated with the servers or forums shown here and is not responsible for
the content of articles, which is written by their respective authors.