You are viewing a plain text version of this content. The canonical link for it is here.
Posted to cvs@cocoon.apache.org by re...@apache.org on 2008/04/14 18:36:30 UTC
svn commit: r647889 -
/cocoon/whiteboard/corona/trunk/corona-sitemap/src/main/resources/corona-sitemap-1.0.xsd
Author: reinhard
Date: Mon Apr 14 09:36:27 2008
New Revision: 647889
URL: http://svn.apache.org/viewvc?rev=647889&view=rev
Log:
tidy up sitemap schema
Modified:
cocoon/whiteboard/corona/trunk/corona-sitemap/src/main/resources/corona-sitemap-1.0.xsd
Modified: cocoon/whiteboard/corona/trunk/corona-sitemap/src/main/resources/corona-sitemap-1.0.xsd
URL: http://svn.apache.org/viewvc/cocoon/whiteboard/corona/trunk/corona-sitemap/src/main/resources/corona-sitemap-1.0.xsd?rev=647889&r1=647888&r2=647889&view=diff
==============================================================================
--- cocoon/whiteboard/corona/trunk/corona-sitemap/src/main/resources/corona-sitemap-1.0.xsd (original)
+++ cocoon/whiteboard/corona/trunk/corona-sitemap/src/main/resources/corona-sitemap-1.0.xsd Mon Apr 14 09:36:27 2008
@@ -25,27 +25,11 @@
</xsd:annotation>
<xsd:complexType>
<xsd:all>
- <xsd:element ref="flow" minOccurs="0" maxOccurs="1" />
<xsd:element ref="pipelines" minOccurs="1" maxOccurs="1" />
</xsd:all>
</xsd:complexType>
</xsd:element>
- <xsd:element name="flow">
- <xsd:complexType>
- <xsd:sequence>
- <xsd:element ref="script" minOccurs="0" maxOccurs="unbounded" />
- </xsd:sequence>
- <xsd:attribute name="language" type="xsd:string" use="required" />
- </xsd:complexType>
- </xsd:element>
-
- <xsd:element name="script">
- <xsd:complexType>
- <xsd:attribute name="src" type="xsd:string" use="required" />
- </xsd:complexType>
- </xsd:element>
-
<xsd:element name="pipelines">
<xsd:complexType>
<xsd:sequence>
@@ -62,9 +46,7 @@
<xsd:group ref="pipeline-content" />
<xsd:element ref="handle-errors" minOccurs="0" maxOccurs="1" />
</xsd:sequence>
- <xsd:attribute name="id" type="xsd:ID" use="optional" />
<xsd:attribute name="type" type="xsd:string" use="optional" />
- <xsd:attribute name="internal-only" type="xsd:string" use="optional" />
</xsd:complexType>
</xsd:element>
@@ -79,9 +61,6 @@
<xsd:sequence>
<xsd:choice minOccurs="0" maxOccurs="unbounded">
<xsd:element ref="match" />
- <xsd:element ref="mount" />
- <xsd:element ref="call" />
- <xsd:element ref="aggregate" />
<xsd:element ref="generate" />
<xsd:element ref="transform" />
<xsd:element ref="serialize" />
@@ -104,47 +83,6 @@
</xsd:complexType>
</xsd:element>
- <xsd:element name="mount">
- <xsd:complexType>
- <xsd:attribute name="src" type="xsd:string" use="required" />
- <xsd:attribute name="check-reload" type="xsd:string" use="optional" />
- <xsd:attribute name="uri-prefix" type="xsd:string" use="optional" />
- </xsd:complexType>
- </xsd:element>
-
- <xsd:element name="call">
- <xsd:complexType>
- <xsd:sequence>
- <xsd:element ref="parameter" minOccurs="0" maxOccurs="unbounded" />
- </xsd:sequence>
- <xsd:attribute name="resource" type="xsd:string" use="optional" />
- <xsd:attribute name="function" type="xsd:string" use="optional" />
- <xsd:attribute name="continuation" type="xsd:string" use="optional" />
- </xsd:complexType>
- </xsd:element>
-
- <xsd:element name="aggregate">
- <xsd:complexType>
- <xsd:sequence>
- <xsd:element ref="part" minOccurs="1" maxOccurs="unbounded" />
- </xsd:sequence>
- <xsd:attribute name="element" type="xsd:string" use="required" />
- <xsd:attribute name="ns" type="xsd:string" use="optional" />
- <xsd:attribute name="prefix" type="xsd:string" use="optional" />
- <xsd:attribute name="label" type="xsd:string" use="optional" />
- </xsd:complexType>
- </xsd:element>
-
- <xsd:element name="part">
- <xsd:complexType>
- <xsd:attribute name="src" type="xsd:string" use="required" />
- <xsd:attribute name="element" type="xsd:string" use="optional" />
- <xsd:attribute name="ns" type="xsd:string" use="optional" />
- <xsd:attribute name="prefix" type="xsd:string" use="optional" />
- <xsd:attribute name="strip-root" type="xsd:string" use="optional" />
- </xsd:complexType>
- </xsd:element>
-
<xsd:element name="generate">
<xsd:complexType>
<xsd:sequence>
@@ -152,7 +90,6 @@
</xsd:sequence>
<xsd:attribute name="src" type="xsd:string" use="optional" />
<xsd:attribute name="type" type="xsd:string" use="optional" />
- <xsd:attribute name="label" type="xsd:string" use="optional" />
</xsd:complexType>
</xsd:element>
@@ -163,7 +100,6 @@
</xsd:sequence>
<xsd:attribute name="src" type="xsd:string" use="optional" />
<xsd:attribute name="type" type="xsd:string" use="optional" />
- <xsd:attribute name="label" type="xsd:string" use="optional" />
</xsd:complexType>
</xsd:element>
@@ -175,7 +111,6 @@
<xsd:attribute name="src" type="xsd:string" use="optional" />
<xsd:attribute name="type" type="xsd:string" use="optional" />
<xsd:attribute name="status-code" type="xsd:string" use="optional" />
- <xsd:attribute name="label" type="xsd:string" use="optional" />
</xsd:complexType>
</xsd:element>