svn commit: r491649 [2/7] - in /ofbiz/site: ./ dtds/

Previous Topic Next Topic
 
classic Classic list List threaded Threaded
1 message Options
Reply | Threaded
Open this post in threaded view
|

svn commit: r491649 [2/7] - in /ofbiz/site: ./ dtds/

jacopoc
Propchange: ofbiz/site/dtds/ofbiz-containers.xsd
------------------------------------------------------------------------------
    svn:eol-style = native

Propchange: ofbiz/site/dtds/ofbiz-containers.xsd
------------------------------------------------------------------------------
    svn:keywords = "Date Rev Author URL Id"

Propchange: ofbiz/site/dtds/ofbiz-containers.xsd
------------------------------------------------------------------------------
    svn:mime-type = text/xsd

Added: ofbiz/site/dtds/regions.xsd
URL: http://svn.apache.org/viewvc/ofbiz/site/dtds/regions.xsd?view=auto&rev=491649
==============================================================================
--- ofbiz/site/dtds/regions.xsd (added)
+++ ofbiz/site/dtds/regions.xsd Mon Jan  1 13:56:13 2007
@@ -0,0 +1,56 @@
+<?xml version="1.0" encoding="UTF-8"?>
+<!--
+Copyright 2001-2006 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.
+-->
+<xs:schema xmlns:xs="http://www.w3.org/2001/XMLSchema" elementFormDefault="qualified">
+    <xs:element name="regions">
+        <xs:complexType>
+            <xs:sequence>
+                <xs:element minOccurs="0" maxOccurs="unbounded" ref="define"/>
+            </xs:sequence>
+        </xs:complexType>
+    </xs:element>
+    <xs:element name="define">
+        <xs:complexType>
+            <xs:sequence>
+                <xs:element minOccurs="0" maxOccurs="unbounded" ref="put"/>
+            </xs:sequence>
+            <xs:attributeGroup ref="attlist.define"/>
+        </xs:complexType>
+    </xs:element>
+    <xs:attributeGroup name="attlist.define">
+        <xs:attribute name="id" use="required"/>
+        <xs:attribute name="template"/>
+        <xs:attribute name="region"/>
+    </xs:attributeGroup>
+    <!--
+        NOTE: type can be direct (for direct inline content), region (for a nested region),
+            default (for JSP/Servlet resource), or any ViewHandler defined in the corresponding controller.xml file
+    -->
+    <xs:element name="put">
+        <xs:complexType mixed="true">
+            <xs:attributeGroup ref="attlist.put"/>
+        </xs:complexType>
+    </xs:element>
+    <xs:attributeGroup name="attlist.put">
+        <xs:attribute name="section" use="required"/>
+        <xs:attribute name="info"/>
+        <xs:attribute name="role"/>
+        <xs:attribute name="permission"/>
+        <xs:attribute name="action"/>
+        <xs:attribute name="content"/>
+        <xs:attribute name="type" default="default"/>
+    </xs:attributeGroup>
+</xs:schema>

Propchange: ofbiz/site/dtds/regions.xsd
------------------------------------------------------------------------------
    svn:eol-style = native

Propchange: ofbiz/site/dtds/regions.xsd
------------------------------------------------------------------------------
    svn:keywords = "Date Rev Author URL Id"

Propchange: ofbiz/site/dtds/regions.xsd
------------------------------------------------------------------------------
    svn:mime-type = text/xsd

Added: ofbiz/site/dtds/security-config.xsd
URL: http://svn.apache.org/viewvc/ofbiz/site/dtds/security-config.xsd?view=auto&rev=491649
==============================================================================
--- ofbiz/site/dtds/security-config.xsd (added)
+++ ofbiz/site/dtds/security-config.xsd Mon Jan  1 13:56:13 2007
@@ -0,0 +1,34 @@
+<?xml version="1.0" encoding="UTF-8"?>
+<!--
+Copyright 2001-2006 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.
+-->
+<xs:schema xmlns:xs="http://www.w3.org/2001/XMLSchema" elementFormDefault="qualified">
+    <xs:element name="security-config">
+        <xs:complexType>
+            <xs:sequence>
+                <xs:element minOccurs="0" maxOccurs="unbounded" ref="security"/>
+            </xs:sequence>
+        </xs:complexType>
+    </xs:element>
+    <xs:element name="security">
+        <xs:complexType>
+            <xs:attributeGroup ref="attlist.security"/>
+        </xs:complexType>
+    </xs:element>
+    <xs:attributeGroup name="attlist.security">
+        <xs:attribute name="name" use="required"/>
+        <xs:attribute name="class"/>
+    </xs:attributeGroup>
+</xs:schema>

Propchange: ofbiz/site/dtds/security-config.xsd
------------------------------------------------------------------------------
    svn:eol-style = native

Propchange: ofbiz/site/dtds/security-config.xsd
------------------------------------------------------------------------------
    svn:keywords = "Date Rev Author URL Id"

Propchange: ofbiz/site/dtds/security-config.xsd
------------------------------------------------------------------------------
    svn:mime-type = text/xsd

Added: ofbiz/site/dtds/service-config.xsd
URL: http://svn.apache.org/viewvc/ofbiz/site/dtds/service-config.xsd?view=auto&rev=491649
==============================================================================
--- ofbiz/site/dtds/service-config.xsd (added)
+++ ofbiz/site/dtds/service-config.xsd Mon Jan  1 13:56:13 2007
@@ -0,0 +1,198 @@
+<?xml version="1.0" encoding="UTF-8"?>
+<!--
+Copyright 2001-2006 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.
+-->
+<xs:schema xmlns:xs="http://www.w3.org/2001/XMLSchema" elementFormDefault="qualified">
+    <!-- ====================== Root Element ======================= -->
+    <xs:element name="service-config">
+        <xs:complexType>
+            <xs:sequence>
+                <xs:element ref="authorization"/>
+                <xs:element ref="thread-pool"/>
+                <xs:element minOccurs="0" maxOccurs="unbounded" ref="engine"/>
+                <xs:element minOccurs="0" maxOccurs="unbounded" ref="service-location"/>
+                <xs:element minOccurs="0" maxOccurs="unbounded" ref="startup-service"/>
+                <xs:element minOccurs="0" maxOccurs="unbounded" ref="resource-loader"/>
+                <xs:element minOccurs="0" maxOccurs="unbounded" ref="global-services"/>
+                <xs:element minOccurs="0" maxOccurs="unbounded" ref="service-groups"/>
+                <xs:element minOccurs="0" maxOccurs="unbounded" ref="service-ecas"/>
+                <xs:element minOccurs="0" maxOccurs="unbounded" ref="jms-service"/>
+            </xs:sequence>
+        </xs:complexType>
+    </xs:element>
+    <xs:element name="authorization">
+        <xs:complexType>
+            <xs:attributeGroup ref="attlist.authorization"/>
+        </xs:complexType>
+    </xs:element>
+    <xs:attributeGroup name="attlist.authorization">
+        <xs:attribute type="xs:string" name="service-name" use="required"/>
+    </xs:attributeGroup>
+    <xs:element name="thread-pool">
+        <xs:complexType>
+            <xs:sequence>
+                <xs:element minOccurs="0" maxOccurs="unbounded" ref="run-from-pool"/>
+            </xs:sequence>
+            <xs:attributeGroup ref="attlist.thread-pool"/>
+        </xs:complexType>
+    </xs:element>
+    <xs:attributeGroup name="attlist.thread-pool">
+        <xs:attribute type="xs:string" name="send-to-pool" use="required"/>
+        <xs:attribute type="xs:nonNegativeInteger" name="purge-job-days" default="30"/>
+        <xs:attribute type="xs:nonNegativeInteger" name="failed-retry-min" default="30"/>
+        <xs:attribute type="xs:nonNegativeInteger" name="ttl" use="required"/>
+        <xs:attribute type="xs:nonNegativeInteger" name="wait-millis" use="required"/>
+        <xs:attribute type="xs:nonNegativeInteger" name="jobs" use="required"/>
+        <xs:attribute type="xs:nonNegativeInteger" name="min-threads" use="required"/>
+        <xs:attribute type="xs:nonNegativeInteger" name="max-threads" use="required"/>
+        <xs:attribute name="poll-enabled" default="true">
+            <xs:simpleType>
+                <xs:restriction base="xs:token">
+                    <xs:enumeration value="true"/>
+                    <xs:enumeration value="false"/>
+                </xs:restriction>
+            </xs:simpleType>
+        </xs:attribute>
+        <xs:attribute type="xs:nonNegativeInteger" name="poll-db-millis" use="required"/>
+    </xs:attributeGroup>
+    <xs:element name="run-from-pool">
+        <xs:complexType>
+            <xs:attributeGroup ref="attlist.run-from-pool"/>
+        </xs:complexType>
+    </xs:element>
+    <xs:attributeGroup name="attlist.run-from-pool">
+        <xs:attribute type="xs:string" name="name" use="required"/>
+    </xs:attributeGroup>
+    <xs:element name="engine">
+        <xs:complexType>
+            <xs:attributeGroup ref="attlist.engine"/>
+        </xs:complexType>
+    </xs:element>
+    <xs:attributeGroup name="attlist.engine">
+        <xs:attribute type="xs:string" name="name" use="required"/>
+        <xs:attribute type="xs:string" name="class" use="required"/>
+    </xs:attributeGroup>
+    <xs:element name="startup-service">
+        <xs:complexType>
+            <xs:attributeGroup ref="attlist.startup-service"/>
+        </xs:complexType>
+    </xs:element>
+    <xs:attributeGroup name="attlist.startup-service">
+        <xs:attribute type="xs:string" name="name" use="required"/>
+        <xs:attribute type="xs:string" name="runtime-data-id"/>
+        <xs:attribute type="xs:nonNegativeInteger" name="runtime-delay" default="0"/>
+        <xs:attribute type="xs:string" name="run-in-pool"/>
+    </xs:attributeGroup>
+    <xs:element name="service-location">
+        <xs:complexType>
+            <xs:attributeGroup ref="attlist.service-location"/>
+        </xs:complexType>
+    </xs:element>
+    <xs:attributeGroup name="attlist.service-location">
+        <xs:attribute type="xs:string" name="name" use="required"/>
+        <xs:attribute type="xs:string" name="location" use="required"/>
+    </xs:attributeGroup>
+    <xs:element name="resource-loader">
+        <xs:complexType>
+            <xs:attributeGroup ref="attlist.resource-loader"/>
+        </xs:complexType>
+    </xs:element>
+    <xs:attributeGroup name="attlist.resource-loader">
+        <xs:attribute type="xs:string" name="name" use="required"/>
+        <xs:attribute type="xs:string" name="class" use="required"/>
+        <xs:attribute type="xs:string" name="prepend-env"/>
+        <xs:attribute type="xs:string" name="prefix"/>
+    </xs:attributeGroup>
+    <xs:element name="global-services">
+        <xs:complexType>
+            <xs:attributeGroup ref="attlist.global-services"/>
+        </xs:complexType>
+    </xs:element>
+    <xs:attributeGroup name="attlist.global-services">
+        <xs:attribute type="xs:string" name="loader" use="required"/>
+        <xs:attribute type="xs:string" name="location" use="required"/>
+    </xs:attributeGroup>
+    <xs:element name="service-groups">
+        <xs:complexType>
+            <xs:attributeGroup ref="attlist.service-groups"/>
+        </xs:complexType>
+    </xs:element>
+    <xs:attributeGroup name="attlist.service-groups">
+        <xs:attribute type="xs:string" name="loader" use="required"/>
+        <xs:attribute type="xs:string" name="location" use="required"/>
+    </xs:attributeGroup>
+    <xs:element name="service-ecas">
+        <xs:complexType>
+            <xs:attributeGroup ref="attlist.service-ecas"/>
+        </xs:complexType>
+    </xs:element>
+    <xs:attributeGroup name="attlist.service-ecas">
+        <xs:attribute type="xs:string" name="loader" use="required"/>
+        <xs:attribute type="xs:string" name="location" use="required"/>
+    </xs:attributeGroup>
+    <xs:element name="jms-service">
+        <xs:complexType>
+            <xs:sequence>
+                <xs:element maxOccurs="unbounded" ref="server"/>
+            </xs:sequence>
+            <xs:attributeGroup ref="attlist.jms-service"/>
+        </xs:complexType>
+    </xs:element>
+    <xs:attributeGroup name="attlist.jms-service">
+        <xs:attribute type="xs:string" name="name" use="required"/>
+        <xs:attribute name="send-mode" default="none">
+            <xs:simpleType>
+                <xs:restriction base="xs:token">
+                    <xs:enumeration value="none"/>
+                    <xs:enumeration value="all"/>
+                    <xs:enumeration value="first-available"/>
+                    <xs:enumeration value="random"/>
+                    <xs:enumeration value="round-robin"/>
+                    <xs:enumeration value="least-load"/>
+                </xs:restriction>
+            </xs:simpleType>
+        </xs:attribute>
+    </xs:attributeGroup>
+    <xs:element name="server">
+        <xs:complexType>
+            <xs:attributeGroup ref="attlist.server"/>
+        </xs:complexType>
+    </xs:element>
+    <xs:attributeGroup name="attlist.server">
+        <xs:attribute type="xs:string" name="jndi-server-name" use="required"/>
+        <xs:attribute type="xs:string" name="jndi-name" use="required"/>
+        <xs:attribute type="xs:string" name="topic-queue" use="required"/>
+        <xs:attribute name="type" use="required">
+            <xs:simpleType>
+                <xs:restriction base="xs:token">
+                    <xs:enumeration value="topic"/>
+                    <xs:enumeration value="queue"/>
+                </xs:restriction>
+            </xs:simpleType>
+        </xs:attribute>
+        <xs:attribute type="xs:string" name="username"/>
+        <xs:attribute type="xs:string" name="password"/>
+        <xs:attribute type="xs:string" name="client-id"/>
+        <xs:attribute name="listen" default="false">
+            <xs:simpleType>
+                <xs:restriction base="xs:token">
+                    <xs:enumeration value="true"/>
+                    <xs:enumeration value="false"/>
+                </xs:restriction>
+            </xs:simpleType>
+        </xs:attribute>
+        <xs:attribute type="xs:string" name="listener-class"/>
+    </xs:attributeGroup>
+</xs:schema>

Propchange: ofbiz/site/dtds/service-config.xsd
------------------------------------------------------------------------------
    svn:eol-style = native

Propchange: ofbiz/site/dtds/service-config.xsd
------------------------------------------------------------------------------
    svn:keywords = "Date Rev Author URL Id"

Propchange: ofbiz/site/dtds/service-config.xsd
------------------------------------------------------------------------------
    svn:mime-type = text/xsd

Added: ofbiz/site/dtds/service-eca.xsd
URL: http://svn.apache.org/viewvc/ofbiz/site/dtds/service-eca.xsd?view=auto&rev=491649
==============================================================================
--- ofbiz/site/dtds/service-eca.xsd (added)
+++ ofbiz/site/dtds/service-eca.xsd Mon Jan  1 13:56:13 2007
@@ -0,0 +1,225 @@
+<?xml version="1.0" encoding="UTF-8"?>
+<!--
+Copyright 2001-2006 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.
+-->
+<xs:schema xmlns:xs="http://www.w3.org/2001/XMLSchema" elementFormDefault="qualified">
+    <xs:element name="service-eca">
+        <xs:complexType>
+            <xs:sequence>
+                <xs:element minOccurs="0" maxOccurs="unbounded" ref="eca"/>
+            </xs:sequence>
+        </xs:complexType>
+    </xs:element>
+    <xs:element name="eca">
+        <xs:complexType>
+            <xs:sequence>
+                <xs:choice minOccurs="0" maxOccurs="unbounded">
+                    <xs:element ref="condition"/>
+                    <xs:element ref="condition-field"/>
+                    <xs:element ref="condition-service"/>
+                </xs:choice>
+                <xs:element maxOccurs="unbounded" ref="action"/>
+            </xs:sequence>
+            <xs:attributeGroup ref="attlist.eca"/>
+        </xs:complexType>
+    </xs:element>
+    <xs:attributeGroup name="attlist.eca">
+        <xs:attribute type="xs:string" name="service" use="required"/>
+        <xs:attribute name="event" use="required">
+            <xs:simpleType>
+                <xs:restriction base="xs:token">
+                    <xs:enumeration value="global-commit"/>
+                    <xs:enumeration value="global-rollback"/>
+                    <xs:enumeration value="auth"/>
+                    <xs:enumeration value="in-validate"/>
+                    <xs:enumeration value="out-validate"/>
+                    <xs:enumeration value="invoke"/>
+                    <xs:enumeration value="commit"/>
+                    <xs:enumeration value="return"/>
+                </xs:restriction>
+            </xs:simpleType>
+        </xs:attribute>
+        <xs:attribute name="run-on-failure" default="false">
+            <xs:simpleType>
+                <xs:restriction base="xs:token">
+                    <xs:enumeration value="true"/>
+                    <xs:enumeration value="false"/>
+                </xs:restriction>
+            </xs:simpleType>
+        </xs:attribute>
+        <xs:attribute name="run-on-error" default="false">
+            <xs:simpleType>
+                <xs:restriction base="xs:token">
+                    <xs:enumeration value="true"/>
+                    <xs:enumeration value="false"/>
+                </xs:restriction>
+            </xs:simpleType>
+        </xs:attribute>
+    </xs:attributeGroup>
+    <xs:element name="condition">
+        <xs:complexType>
+            <xs:attributeGroup ref="attlist.condition"/>
+        </xs:complexType>
+    </xs:element>
+    <xs:attributeGroup name="attlist.condition">
+        <xs:attribute type="xs:string" name="map-name"/>
+        <xs:attribute type="xs:string" name="field-name" use="required"/>
+        <xs:attribute name="operator" use="required">
+            <xs:simpleType>
+                <xs:restriction base="xs:token">
+                    <xs:enumeration value="less"/>
+                    <xs:enumeration value="greater"/>
+                    <xs:enumeration value="less-equals"/>
+                    <xs:enumeration value="greater-equals"/>
+                    <xs:enumeration value="equals"/>
+                    <xs:enumeration value="not-equals"/>
+                    <xs:enumeration value="is-empty"/>
+                    <xs:enumeration value="is-not-empty"/>
+                    <xs:enumeration value="contains"/>
+                </xs:restriction>
+            </xs:simpleType>
+        </xs:attribute>
+        <xs:attribute type="xs:string" name="value"/>
+        <xs:attribute name="type" default="String">
+            <xs:simpleType>
+                <xs:restriction base="xs:token">
+                    <xs:enumeration value="PlainString"/>
+                    <xs:enumeration value="String"/>
+                    <xs:enumeration value="BigDecimal"/>
+                    <xs:enumeration value="Double"/>
+                    <xs:enumeration value="Float"/>
+                    <xs:enumeration value="Long"/>
+                    <xs:enumeration value="Integer"/>
+                    <xs:enumeration value="Date"/>
+                    <xs:enumeration value="Time"/>
+                    <xs:enumeration value="Timestamp"/>
+                    <xs:enumeration value="Boolean"/>
+                    <xs:enumeration value="Object"/>
+                </xs:restriction>
+            </xs:simpleType>
+        </xs:attribute>
+        <xs:attribute type="xs:string" name="format"/>
+    </xs:attributeGroup>
+    <xs:element name="condition-field">
+        <xs:complexType>
+            <xs:attributeGroup ref="attlist.condition-field"/>
+        </xs:complexType>
+    </xs:element>
+    <xs:attributeGroup name="attlist.condition-field">
+        <xs:attribute type="xs:string" name="map-name"/>
+        <xs:attribute type="xs:string" name="field-name" use="required"/>
+        <xs:attribute name="operator" use="required">
+            <xs:simpleType>
+                <xs:restriction base="xs:token">
+                    <xs:enumeration value="less"/>
+                    <xs:enumeration value="greater"/>
+                    <xs:enumeration value="less-equals"/>
+                    <xs:enumeration value="greater-equals"/>
+                    <xs:enumeration value="equals"/>
+                    <xs:enumeration value="not-equals"/>
+                    <xs:enumeration value="contains"/>
+                </xs:restriction>
+            </xs:simpleType>
+        </xs:attribute>
+        <xs:attribute type="xs:string" name="to-map-name"/>
+        <xs:attribute type="xs:string" name="to-field-name"/>
+        <xs:attribute name="type" default="String">
+            <xs:simpleType>
+                <xs:restriction base="xs:token">
+                    <xs:enumeration value="PlainString"/>
+                    <xs:enumeration value="String"/>
+                    <xs:enumeration value="BigDecimal"/>
+                    <xs:enumeration value="Double"/>
+                    <xs:enumeration value="Float"/>
+                    <xs:enumeration value="Long"/>
+                    <xs:enumeration value="Integer"/>
+                    <xs:enumeration value="Date"/>
+                    <xs:enumeration value="Time"/>
+                    <xs:enumeration value="Timestamp"/>
+                    <xs:enumeration value="Boolean"/>
+                    <xs:enumeration value="Object"/>
+                </xs:restriction>
+            </xs:simpleType>
+        </xs:attribute>
+        <xs:attribute type="xs:string" name="format"/>
+    </xs:attributeGroup>
+    <xs:element name="condition-service">
+        <xs:complexType>
+            <xs:attributeGroup ref="attlist.condition-service"/>
+        </xs:complexType>
+    </xs:element>
+    <xs:attributeGroup name="attlist.condition-service">
+        <xs:attribute type="xs:string" name="service-name"/>
+    </xs:attributeGroup>
+    <xs:element name="action">
+        <xs:complexType>
+            <xs:attributeGroup ref="attlist.action"/>
+        </xs:complexType>
+    </xs:element>
+    <xs:attributeGroup name="attlist.action">
+        <xs:attribute type="xs:string" name="service" use="required"/>
+        <xs:attribute name="mode" use="required">
+            <xs:simpleType>
+                <xs:restriction base="xs:token">
+                    <xs:enumeration value="sync"/>
+                    <xs:enumeration value="async"/>
+                </xs:restriction>
+            </xs:simpleType>
+        </xs:attribute>
+        <xs:attribute type="xs:string" name="runAsUser"/>
+        <xs:attribute type="xs:string" name="result-map-name"/>
+        <xs:attribute name="result-to-context" default="true">
+            <xs:simpleType>
+                <xs:restriction base="xs:token">
+                    <xs:enumeration value="true"/>
+                    <xs:enumeration value="false"/>
+                </xs:restriction>
+            </xs:simpleType>
+        </xs:attribute>
+        <xs:attribute name="ignore-failure" default="true">
+            <xs:simpleType>
+                <xs:restriction base="xs:token">
+                    <xs:enumeration value="true"/>
+                    <xs:enumeration value="false"/>
+                </xs:restriction>
+            </xs:simpleType>
+        </xs:attribute>
+        <xs:attribute name="ignore-error" default="true">
+            <xs:simpleType>
+                <xs:restriction base="xs:token">
+                    <xs:enumeration value="true"/>
+                    <xs:enumeration value="false"/>
+                </xs:restriction>
+            </xs:simpleType>
+        </xs:attribute>
+        <xs:attribute name="persist" default="false">
+            <xs:simpleType>
+                <xs:restriction base="xs:token">
+                    <xs:enumeration value="true"/>
+                    <xs:enumeration value="false"/>
+                </xs:restriction>
+            </xs:simpleType>
+        </xs:attribute>
+    </xs:attributeGroup>
+</xs:schema>
+<!--
+    <service-eca>
+        <eca service="testBsh" event="commit">
+          <condition field-name="foo" operator="equals" rhs="1"/>
+          <action service="testScv" mode="sync"/>
+          <action service="testScv" mode="sync"/>
+        </eca>
+    </service-eca>
+-->

Propchange: ofbiz/site/dtds/service-eca.xsd
------------------------------------------------------------------------------
    svn:eol-style = native

Propchange: ofbiz/site/dtds/service-eca.xsd
------------------------------------------------------------------------------
    svn:keywords = "Date Rev Author URL Id"

Propchange: ofbiz/site/dtds/service-eca.xsd
------------------------------------------------------------------------------
    svn:mime-type = text/xsd

Added: ofbiz/site/dtds/service-group.xsd
URL: http://svn.apache.org/viewvc/ofbiz/site/dtds/service-group.xsd?view=auto&rev=491649
==============================================================================
--- ofbiz/site/dtds/service-group.xsd (added)
+++ ofbiz/site/dtds/service-group.xsd Mon Jan  1 13:56:13 2007
@@ -0,0 +1,79 @@
+<?xml version="1.0" encoding="UTF-8"?>
+<!--
+Copyright 2001-2006 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.
+-->
+<xs:schema xmlns:xs="http://www.w3.org/2001/XMLSchema" elementFormDefault="qualified">
+    <xs:element name="service-group">
+        <xs:complexType>
+            <xs:sequence>
+                <xs:element maxOccurs="unbounded" ref="group"/>
+            </xs:sequence>
+        </xs:complexType>
+    </xs:element>
+    <xs:element name="group">
+        <xs:complexType>
+            <xs:sequence>
+                <xs:element maxOccurs="unbounded" ref="service"/>
+            </xs:sequence>
+            <xs:attributeGroup ref="attlist.group"/>
+        </xs:complexType>
+    </xs:element>
+    <xs:attributeGroup name="attlist.group">
+        <xs:attribute type="xs:string" name="name" use="required"/>
+        <xs:attribute name="send-mode" default="all">
+            <xs:simpleType>
+                <xs:restriction base="xs:token">
+                    <xs:enumeration value="none"/>
+                    <xs:enumeration value="all"/>
+                    <xs:enumeration value="first-available"/>
+                    <xs:enumeration value="random"/>
+                    <xs:enumeration value="round-robin"/>
+                </xs:restriction>
+            </xs:simpleType>
+        </xs:attribute>
+    </xs:attributeGroup>
+    <xs:element name="service">
+        <xs:complexType>
+            <xs:attributeGroup ref="attlist.service"/>
+        </xs:complexType>
+    </xs:element>
+    <xs:attributeGroup name="attlist.service">
+        <xs:attribute type="xs:string" name="name" use="required"/>
+        <xs:attribute name="mode" default="sync">
+            <xs:simpleType>
+                <xs:restriction base="xs:token">
+                    <xs:enumeration value="sync"/>
+                    <xs:enumeration value="async"/>
+                </xs:restriction>
+            </xs:simpleType>
+        </xs:attribute>
+        <xs:attribute name="result-to-context" default="false">
+            <xs:simpleType>
+                <xs:restriction base="xs:token">
+                    <xs:enumeration value="true"/>
+                    <xs:enumeration value="false"/>
+                </xs:restriction>
+            </xs:simpleType>
+        </xs:attribute>
+    </xs:attributeGroup>
+</xs:schema>
+<!--
+    <service-group>
+     <group name="testOne" send-mode="none">
+     <service name="testScv" mode="async"/>
+     <service name="testScv" mode="sync"/>
+     </group>
+    </service-group>
+-->

Propchange: ofbiz/site/dtds/service-group.xsd
------------------------------------------------------------------------------
    svn:eol-style = native

Propchange: ofbiz/site/dtds/service-group.xsd
------------------------------------------------------------------------------
    svn:keywords = "Date Rev Author URL Id"

Propchange: ofbiz/site/dtds/service-group.xsd
------------------------------------------------------------------------------
    svn:mime-type = text/xsd

Added: ofbiz/site/dtds/service-mca.xsd
URL: http://svn.apache.org/viewvc/ofbiz/site/dtds/service-mca.xsd?view=auto&rev=491649
==============================================================================
--- ofbiz/site/dtds/service-mca.xsd (added)
+++ ofbiz/site/dtds/service-mca.xsd Mon Jan  1 13:56:13 2007
@@ -0,0 +1,125 @@
+<?xml version="1.0" encoding="UTF-8"?>
+<!--
+Copyright 2001-2006 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.
+-->
+<xs:schema xmlns:xs="http://www.w3.org/2001/XMLSchema" elementFormDefault="qualified">
+    <xs:element name="service-mca">
+        <xs:complexType>
+            <xs:sequence>
+                <xs:element maxOccurs="unbounded" ref="mca"/>
+            </xs:sequence>
+        </xs:complexType>
+    </xs:element>
+    <xs:element name="mca">
+        <xs:complexType>
+            <xs:sequence>
+                <xs:choice minOccurs="0" maxOccurs="unbounded">
+                    <xs:element ref="condition-field"/>
+                    <xs:element ref="condition-header"/>
+                    <xs:element ref="condition-service"/>
+                </xs:choice>
+                <xs:element maxOccurs="unbounded" ref="action"/>
+            </xs:sequence>
+            <xs:attributeGroup ref="attlist.mca"/>
+        </xs:complexType>
+    </xs:element>
+    <xs:attributeGroup name="attlist.mca">
+        <xs:attribute type="xs:string" name="mail-rule-name" use="required"/>
+    </xs:attributeGroup>
+    <xs:element name="condition-field">
+        <xs:complexType>
+            <xs:attributeGroup ref="attlist.condition-field"/>
+        </xs:complexType>
+    </xs:element>
+    <xs:attributeGroup name="attlist.condition-field">
+        <xs:attribute type="xs:string" name="field-name" use="required"/>
+        <xs:attribute name="operator" use="required">
+            <xs:simpleType>
+                <xs:restriction base="xs:token">
+                    <xs:enumeration value="equals"/>
+                    <xs:enumeration value="not-equals"/>
+                    <xs:enumeration value="empty"/>
+                    <xs:enumeration value="not-empty"/>
+                    <xs:enumeration value="matches"/>
+                    <xs:enumeration value="not-matches"/>
+                </xs:restriction>
+            </xs:simpleType>
+        </xs:attribute>
+        <xs:attribute type="xs:string" name="value"/>
+    </xs:attributeGroup>
+    <xs:element name="condition-header">
+        <xs:complexType>
+            <xs:attributeGroup ref="attlist.condition-header"/>
+        </xs:complexType>
+    </xs:element>
+    <xs:attributeGroup name="attlist.condition-header">
+        <xs:attribute type="xs:string" name="header-name" use="required"/>
+        <xs:attribute name="operator" use="required">
+            <xs:simpleType>
+                <xs:restriction base="xs:token">
+                    <xs:enumeration value="equals"/>
+                    <xs:enumeration value="not-equals"/>
+                    <xs:enumeration value="empty"/>
+                    <xs:enumeration value="not-empty"/>
+                    <xs:enumeration value="matches"/>
+                    <xs:enumeration value="not-matches"/>
+                </xs:restriction>
+            </xs:simpleType>
+        </xs:attribute>
+        <xs:attribute type="xs:string" name="value"/>
+    </xs:attributeGroup>
+    <xs:element name="condition-service">
+        <xs:complexType>
+            <xs:attributeGroup ref="attlist.condition-service"/>
+        </xs:complexType>
+    </xs:element>
+    <xs:attributeGroup name="attlist.condition-service">
+        <xs:attribute type="xs:string" name="service-name"/>
+    </xs:attributeGroup>
+    <xs:element name="action">
+        <xs:complexType>
+            <xs:attributeGroup ref="attlist.action"/>
+        </xs:complexType>
+    </xs:element>
+    <xs:attributeGroup name="attlist.action">
+        <xs:attribute type="xs:string" name="service" use="required"/>
+        <xs:attribute name="mode" use="required">
+            <xs:simpleType>
+                <xs:restriction base="xs:token">
+                    <xs:enumeration value="sync"/>
+                    <xs:enumeration value="async"/>
+                </xs:restriction>
+            </xs:simpleType>
+        </xs:attribute>
+        <xs:attribute type="xs:string" name="runAsUser"/>
+        <xs:attribute name="persist" default="false">
+            <xs:simpleType>
+                <xs:restriction base="xs:token">
+                    <xs:enumeration value="true"/>
+                    <xs:enumeration value="false"/>
+                </xs:restriction>
+            </xs:simpleType>
+        </xs:attribute>
+    </xs:attributeGroup>
+</xs:schema>
+<!--
+    <service-mca>
+        <mca mail-rule-name="someRuleName">
+          <condition-field field-name="to" operator="equals" value="[hidden email]"/>
+          <action service="testScv" mode="sync"/>
+          <action service="testScv" mode="sync"/>
+        </mca>
+    </service-mca>
+-->

Propchange: ofbiz/site/dtds/service-mca.xsd
------------------------------------------------------------------------------
    svn:eol-style = native

Propchange: ofbiz/site/dtds/service-mca.xsd
------------------------------------------------------------------------------
    svn:keywords = "Date Rev Author URL Id"

Propchange: ofbiz/site/dtds/service-mca.xsd
------------------------------------------------------------------------------
    svn:mime-type = text/xsd

Added: ofbiz/site/dtds/services.xsd
URL: http://svn.apache.org/viewvc/ofbiz/site/dtds/services.xsd?view=auto&rev=491649
==============================================================================
--- ofbiz/site/dtds/services.xsd (added)
+++ ofbiz/site/dtds/services.xsd Mon Jan  1 13:56:13 2007
@@ -0,0 +1,314 @@
+<?xml version="1.0" encoding="UTF-8"?>
+<!--
+Copyright 2001-2006 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.
+-->
+<xs:schema xmlns:xs="http://www.w3.org/2001/XMLSchema" elementFormDefault="qualified">
+    <xs:element name="services">
+        <xs:complexType>
+            <xs:sequence>
+                <xs:element minOccurs="0" ref="description"/>
+                <xs:element minOccurs="0" ref="vendor"/>
+                <xs:element minOccurs="0" ref="version"/>
+                <xs:element minOccurs="0" ref="created"/>
+                <xs:element maxOccurs="unbounded" ref="service"/>
+            </xs:sequence>
+        </xs:complexType>
+    </xs:element>
+    <xs:element name="description" type="xs:string"/>
+    <xs:element name="vendor" type="xs:string"/>
+    <xs:element name="version" type="xs:string"/>
+    <xs:element name="created" type="xs:string"/>
+    <xs:element name="namespace" type="xs:string"/>
+    <xs:element name="service">
+        <xs:complexType>
+            <xs:sequence>
+                <xs:element minOccurs="0" ref="description"/>
+                <xs:element minOccurs="0" ref="namespace"/>
+                <xs:element minOccurs="0" maxOccurs="unbounded" ref="required-permissions"/>
+                <xs:element minOccurs="0" maxOccurs="unbounded" ref="implements"/>
+                <xs:element minOccurs="0" maxOccurs="unbounded" ref="auto-attributes"/>
+                <xs:element minOccurs="0" maxOccurs="unbounded" ref="attribute"/>
+                <xs:element minOccurs="0" maxOccurs="unbounded" ref="override"/>
+            </xs:sequence>
+            <xs:attributeGroup ref="attlist.service"/>
+        </xs:complexType>
+    </xs:element>
+    <xs:attributeGroup name="attlist.service">
+        <xs:attribute type="xs:string" name="name" use="required"/>
+        <xs:attribute type="xs:string" name="engine" use="required"/>
+        <xs:attribute type="xs:string" name="location" use="required"/>
+        <xs:attribute type="xs:string" name="invoke" use="required"/>
+        <xs:attribute name="auth" default="false">
+            <xs:simpleType>
+                <xs:restriction base="xs:token">
+                    <xs:enumeration value="true"/>
+                    <xs:enumeration value="false"/>
+                </xs:restriction>
+            </xs:simpleType>
+        </xs:attribute>
+        <xs:attribute name="export" default="false">
+            <xs:simpleType>
+                <xs:restriction base="xs:token">
+                    <xs:enumeration value="true"/>
+                    <xs:enumeration value="false"/>
+                </xs:restriction>
+            </xs:simpleType>
+        </xs:attribute>
+        <xs:attribute name="validate" default="true">
+            <xs:simpleType>
+                <xs:restriction base="xs:token">
+                    <xs:enumeration value="true"/>
+                    <xs:enumeration value="false"/>
+                </xs:restriction>
+            </xs:simpleType>
+        </xs:attribute>
+        <xs:attribute type="xs:string" name="default-entity-name"/>
+        <xs:attribute name="use-transaction" default="true">
+            <xs:simpleType>
+                <xs:restriction base="xs:token">
+                    <xs:enumeration value="true"/>
+                    <xs:enumeration value="false"/>
+                </xs:restriction>
+            </xs:simpleType>
+        </xs:attribute>
+        <xs:attribute name="require-new-transaction" default="false">
+            <xs:simpleType>
+                <xs:restriction base="xs:token">
+                    <xs:enumeration value="true"/>
+                    <xs:enumeration value="false"/>
+                </xs:restriction>
+            </xs:simpleType>
+        </xs:attribute>
+        <xs:attribute type="xs:string" name="transaction-timeout"/>
+        <xs:attribute type="xs:string" name="max-retry" default="-1"/>
+        <xs:attribute name="debug" default="false">
+            <xs:simpleType>
+                <xs:restriction base="xs:token">
+                    <xs:enumeration value="true"/>
+                    <xs:enumeration value="false"/>
+                </xs:restriction>
+            </xs:simpleType>
+        </xs:attribute>
+    </xs:attributeGroup>
+    <xs:element name="required-permissions">
+        <xs:complexType>
+            <xs:sequence>
+                <xs:element minOccurs="0" maxOccurs="unbounded" ref="check-permission"/>
+                <xs:element minOccurs="0" maxOccurs="unbounded" ref="check-role-member"/>
+            </xs:sequence>
+            <xs:attributeGroup ref="attlist.required-permissions"/>
+        </xs:complexType>
+    </xs:element>
+    <xs:attributeGroup name="attlist.required-permissions">
+        <xs:attribute name="join-type" use="required">
+            <xs:simpleType>
+                <xs:restriction base="xs:token">
+                    <xs:enumeration value="AND"/>
+                    <xs:enumeration value="OR"/>
+                </xs:restriction>
+            </xs:simpleType>
+        </xs:attribute>
+    </xs:attributeGroup>
+    <xs:element name="check-permission">
+        <xs:complexType>
+            <xs:attributeGroup ref="attlist.check-permission"/>
+        </xs:complexType>
+    </xs:element>
+    <xs:attributeGroup name="attlist.check-permission">
+        <xs:attribute type="xs:string" name="permission" use="required"/>
+        <xs:attribute type="xs:string" name="action"/>
+    </xs:attributeGroup>
+    <xs:element name="check-role-member">
+        <xs:complexType>
+            <xs:attributeGroup ref="attlist.check-role-member"/>
+        </xs:complexType>
+    </xs:element>
+    <xs:attributeGroup name="attlist.check-role-member">
+        <xs:attribute type="xs:string" name="role-type" use="required"/>
+    </xs:attributeGroup>
+    <xs:element name="implements">
+        <xs:complexType>
+            <xs:attributeGroup ref="attlist.implements"/>
+        </xs:complexType>
+    </xs:element>
+    <xs:attributeGroup name="attlist.implements">
+        <xs:attribute type="xs:string" name="service" use="required"/>
+    </xs:attributeGroup>
+    <xs:element name="auto-attributes">
+        <xs:complexType>
+            <xs:sequence>
+                <xs:element minOccurs="0" maxOccurs="unbounded" ref="exclude"/>
+            </xs:sequence>
+            <xs:attributeGroup ref="attlist.auto-attributes"/>
+        </xs:complexType>
+    </xs:element>
+    <xs:attributeGroup name="attlist.auto-attributes">
+        <xs:attribute type="xs:string" name="entity-name"/>
+        <xs:attribute name="include" default="all">
+            <xs:simpleType>
+                <xs:restriction base="xs:token">
+                    <xs:enumeration value="pk"/>
+                    <xs:enumeration value="nonpk"/>
+                    <xs:enumeration value="all"/>
+                </xs:restriction>
+            </xs:simpleType>
+        </xs:attribute>
+        <xs:attribute name="mode" use="required">
+            <xs:simpleType>
+                <xs:restriction base="xs:token">
+                    <xs:enumeration value="IN"/>
+                    <xs:enumeration value="OUT"/>
+                    <xs:enumeration value="INOUT"/>
+                </xs:restriction>
+            </xs:simpleType>
+        </xs:attribute>
+        <xs:attribute name="optional" default="false">
+            <xs:simpleType>
+                <xs:restriction base="xs:token">
+                    <xs:enumeration value="true"/>
+                    <xs:enumeration value="false"/>
+                </xs:restriction>
+            </xs:simpleType>
+        </xs:attribute>
+        <xs:attribute name="form-display" default="true">
+            <xs:simpleType>
+                <xs:restriction base="xs:token">
+                    <xs:enumeration value="true"/>
+                    <xs:enumeration value="false"/>
+                </xs:restriction>
+            </xs:simpleType>
+        </xs:attribute>
+    </xs:attributeGroup>
+    <xs:element name="exclude">
+        <xs:complexType>
+            <xs:attributeGroup ref="attlist.exclude"/>
+        </xs:complexType>
+    </xs:element>
+    <xs:attributeGroup name="attlist.exclude">
+        <xs:attribute type="xs:string" name="field-name" use="required"/>
+    </xs:attributeGroup>
+    <xs:element name="attribute">
+        <xs:complexType>
+            <xs:sequence>
+                <xs:element minOccurs="0" maxOccurs="unbounded" ref="type-validate"/>
+            </xs:sequence>
+            <xs:attributeGroup ref="attlist.attribute"/>
+        </xs:complexType>
+    </xs:element>
+    <xs:attributeGroup name="attlist.attribute">
+        <xs:attribute type="xs:string" name="name" use="required"/>
+        <xs:attribute type="xs:string" name="type" use="required"/>
+        <xs:attribute name="mode" use="required">
+            <xs:simpleType>
+                <xs:restriction base="xs:token">
+                    <xs:enumeration value="IN"/>
+                    <xs:enumeration value="OUT"/>
+                    <xs:enumeration value="INOUT"/>
+                </xs:restriction>
+            </xs:simpleType>
+        </xs:attribute>
+        <xs:attribute name="optional" default="false">
+            <xs:simpleType>
+                <xs:restriction base="xs:token">
+                    <xs:enumeration value="true"/>
+                    <xs:enumeration value="false"/>
+                </xs:restriction>
+            </xs:simpleType>
+        </xs:attribute>
+        <xs:attribute type="xs:string" name="form-label"/>
+        <xs:attribute type="xs:string" name="entity-name"/>
+        <xs:attribute type="xs:string" name="field-name"/>
+        <xs:attribute type="xs:string" name="string-map-prefix"/>
+        <xs:attribute type="xs:string" name="string-list-suffix"/>
+        <xs:attribute name="form-display" default="true">
+            <xs:simpleType>
+                <xs:restriction base="xs:token">
+                    <xs:enumeration value="true"/>
+                    <xs:enumeration value="false"/>
+                </xs:restriction>
+            </xs:simpleType>
+        </xs:attribute>
+    </xs:attributeGroup>
+    <xs:element name="override">
+        <xs:complexType>
+            <xs:sequence>
+                <xs:element minOccurs="0" maxOccurs="unbounded" ref="type-validate"/>
+            </xs:sequence>
+            <xs:attributeGroup ref="attlist.override"/>
+        </xs:complexType>
+    </xs:element>
+    <xs:attributeGroup name="attlist.override">
+        <xs:attribute type="xs:string" name="name" use="required"/>
+        <xs:attribute type="xs:string" name="type"/>
+        <xs:attribute type="xs:string" name="entity-name"/>
+        <xs:attribute type="xs:string" name="field-name"/>
+        <xs:attribute name="mode">
+            <xs:simpleType>
+                <xs:restriction base="xs:token">
+                    <xs:enumeration value="IN"/>
+                    <xs:enumeration value="OUT"/>
+                    <xs:enumeration value="INOUT"/>
+                </xs:restriction>
+            </xs:simpleType>
+        </xs:attribute>
+        <xs:attribute name="optional">
+            <xs:simpleType>
+                <xs:restriction base="xs:token">
+                    <xs:enumeration value="true"/>
+                    <xs:enumeration value="false"/>
+                </xs:restriction>
+            </xs:simpleType>
+        </xs:attribute>
+        <xs:attribute type="xs:string" name="form-label"/>
+        <xs:attribute name="form-display">
+            <xs:simpleType>
+                <xs:restriction base="xs:token">
+                    <xs:enumeration value="true"/>
+                    <xs:enumeration value="false"/>
+                </xs:restriction>
+            </xs:simpleType>
+        </xs:attribute>
+    </xs:attributeGroup>
+    <xs:element name="type-validate">
+        <xs:complexType>
+            <xs:choice>
+                <xs:element ref="fail-message"/>
+                <xs:element ref="fail-property"/>
+            </xs:choice>
+            <xs:attributeGroup ref="attlist.type-validate"/>
+        </xs:complexType>
+    </xs:element>
+    <xs:attributeGroup name="attlist.type-validate">
+        <xs:attribute type="xs:string" name="method"/>
+        <xs:attribute type="xs:string" name="class" default="org.ofbiz.base.util.UtilValidate"/>
+    </xs:attributeGroup>
+    <xs:element name="fail-message">
+        <xs:complexType>
+            <xs:attributeGroup ref="attlist.fail-message"/>
+        </xs:complexType>
+    </xs:element>
+    <xs:attributeGroup name="attlist.fail-message">
+        <xs:attribute type="xs:string" name="message" use="required"/>
+    </xs:attributeGroup>
+    <xs:element name="fail-property">
+        <xs:complexType>
+            <xs:attributeGroup ref="attlist.fail-property"/>
+        </xs:complexType>
+    </xs:element>
+    <xs:attributeGroup name="attlist.fail-property">
+        <xs:attribute type="xs:string" name="resource" use="required"/>
+        <xs:attribute type="xs:string" name="property" use="required"/>
+    </xs:attributeGroup>
+</xs:schema>

Propchange: ofbiz/site/dtds/services.xsd
------------------------------------------------------------------------------
    svn:eol-style = native

Propchange: ofbiz/site/dtds/services.xsd
------------------------------------------------------------------------------
    svn:keywords = "Date Rev Author URL Id"

Propchange: ofbiz/site/dtds/services.xsd
------------------------------------------------------------------------------
    svn:mime-type = text/xsd