You are viewing a plain text version of this content. The canonical link for it is here.
Posted to cvs@cocoon.apache.org by cz...@apache.org on 2007/01/11 13:46:20 UTC

svn commit: r495210 - in /cocoon/site/site/schema: ./ avalon/ avalon/cocoon-avalon-1.0.xsd configurator/ configurator/cocoon-configurator-1.0.xsd

Author: cziegeler
Date: Thu Jan 11 04:46:19 2007
New Revision: 495210

URL: http://svn.apache.org/viewvc?view=rev&rev=495210
Log:
Add schema

Added:
    cocoon/site/site/schema/
    cocoon/site/site/schema/avalon/
    cocoon/site/site/schema/avalon/cocoon-avalon-1.0.xsd   (with props)
    cocoon/site/site/schema/configurator/
    cocoon/site/site/schema/configurator/cocoon-configurator-1.0.xsd   (with props)

Added: cocoon/site/site/schema/avalon/cocoon-avalon-1.0.xsd
URL: http://svn.apache.org/viewvc/cocoon/site/site/schema/avalon/cocoon-avalon-1.0.xsd?view=auto&rev=495210
==============================================================================
--- cocoon/site/site/schema/avalon/cocoon-avalon-1.0.xsd (added)
+++ cocoon/site/site/schema/avalon/cocoon-avalon-1.0.xsd Thu Jan 11 04:46:19 2007
@@ -0,0 +1,33 @@
+<?xml version="1.0" encoding="UTF-8"?>
+<!--
+  Licensed to the Apache Software Foundation (ASF) under one or more
+  contributor license agreements.  See the NOTICE file distributed with
+  this work for additional information regarding copyright ownership.
+  The ASF licenses this file to You 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.
+-->
+<xsd:schema xmlns:xsd="http://www.w3.org/2001/XMLSchema"
+        targetNamespace="http://cocoon.apache.org/schema/avalon"
+        xmlns:tns="http://cocoon.apache.org/schema/avalon">
+
+    <xsd:element name="bridge" type="tns:bridgeType"/>
+    <xsd:element name="sitemap" type="tns:sitemapType"/>
+
+    <xsd:complexType name="bridgeType">
+    	<xsd:attribute name="location" type="xsd:string" use="optional"/>
+    </xsd:complexType>
+
+    <xsd:complexType name="sitemapType">
+        <xsd:attribute name="location" type="xsd:string"/>
+    	<xsd:attribute name="uriPrefix" type="xsd:string"/>
+    </xsd:complexType>
+</xsd:schema>
\ No newline at end of file

Propchange: cocoon/site/site/schema/avalon/cocoon-avalon-1.0.xsd
------------------------------------------------------------------------------
    svn:eol-style = native

Added: cocoon/site/site/schema/configurator/cocoon-configurator-1.0.xsd
URL: http://svn.apache.org/viewvc/cocoon/site/site/schema/configurator/cocoon-configurator-1.0.xsd?view=auto&rev=495210
==============================================================================
--- cocoon/site/site/schema/configurator/cocoon-configurator-1.0.xsd (added)
+++ cocoon/site/site/schema/configurator/cocoon-configurator-1.0.xsd Thu Jan 11 04:46:19 2007
@@ -0,0 +1,68 @@
+<?xml version="1.0" encoding="UTF-8"?>
+<!--
+  Licensed to the Apache Software Foundation (ASF) under one or more
+  contributor license agreements.  See the NOTICE file distributed with
+  this work for additional information regarding copyright ownership.
+  The ASF licenses this file to You 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.
+-->
+<!-- @version $Id: cocoon-configurator-1.0.xsd 492166 2007-01-03 14:48:23Z cziegeler $ -->
+<xsd:schema xmlns:xsd="http://www.w3.org/2001/XMLSchema"
+            targetNamespace="http://cocoon.apache.org/schema/configurator"
+            xmlns:tns="http://cocoon.apache.org/schema/configurator"
+            xmlns="http://cocoon.apache.org/schema/configurator">
+
+    <xsd:element name="settings">
+      <xsd:complexType>
+    	<xsd:sequence>
+    	    <xsd:element ref="include-beans" minOccurs="0" maxOccurs="unbounded"/>
+    	    <xsd:element ref="include-properties" minOccurs="0" maxOccurs="unbounded"/>
+    	    <xsd:element ref="property" minOccurs="0" maxOccurs="unbounded"/>
+    	</xsd:sequence>
+    	<xsd:attribute name="runningMode" type="xsd:string" use="optional"/>
+    	<xsd:attribute name="readFromClasspath" type="xsd:boolean" use="optional"/>
+    	<xsd:attribute name="readFromGlobalLocation" type="xsd:boolean" use="optional"/>
+        <xsd:attribute name="extractBlockResources" type="xsd:boolean" use="optional"/>
+      </xsd:complexType>
+    </xsd:element>
+
+    <xsd:element name="child-settings">
+      <xsd:complexType>
+    	<xsd:sequence>
+    	    <xsd:element ref="include-beans" minOccurs="0" maxOccurs="unbounded"/>
+    	    <xsd:element ref="include-properties" minOccurs="0" maxOccurs="unbounded"/>
+    	    <xsd:element ref="property" minOccurs="0" maxOccurs="unbounded"/>
+    	</xsd:sequence>
+    	<xsd:attribute name="name" type="xsd:string" use="required"/>
+      </xsd:complexType>
+    </xsd:element>
+
+    <xsd:element name="include-beans">
+      <xsd:complexType>
+    	<xsd:attribute name="dir" type="xsd:string" use="optional"/>
+      </xsd:complexType>
+    </xsd:element>
+
+    <xsd:element name="include-properties">
+      <xsd:complexType>
+    	<xsd:attribute name="dir" type="xsd:string" use="required"/>
+      </xsd:complexType>
+    </xsd:element>
+
+    <xsd:element name="property">
+      <xsd:complexType>
+    	<xsd:attribute name="name" type="xsd:string" use="required"/>
+    	<xsd:attribute name="value" type="xsd:string" use="required"/>
+      </xsd:complexType>
+    </xsd:element>
+
+</xsd:schema>
\ No newline at end of file

Propchange: cocoon/site/site/schema/configurator/cocoon-configurator-1.0.xsd
------------------------------------------------------------------------------
    svn:eol-style = native