ofbiz-commits mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From jaco...@apache.org
Subject svn commit: r491649 [1/7] - in /ofbiz/site: ./ dtds/
Date Mon, 01 Jan 2007 21:56:14 GMT
Author: jacopoc
Date: Mon Jan  1 13:56:13 2007
New Revision: 491649

URL: http://svn.apache.org/viewvc?view=rev&rev=491649
Log:
Based on comment from David Jones I'm reverting rev. 491626

Added:
    ofbiz/site/dtds/
    ofbiz/site/dtds/component-loader.xsd   (with props)
    ofbiz/site/dtds/datafiles.xsd   (with props)
    ofbiz/site/dtds/entity-config.xsd   (with props)
    ofbiz/site/dtds/entity-eca.xsd   (with props)
    ofbiz/site/dtds/entitygroup.xsd   (with props)
    ofbiz/site/dtds/entitymodel.xsd   (with props)
    ofbiz/site/dtds/fieldtypemodel.xsd   (with props)
    ofbiz/site/dtds/jndi-config.xsd   (with props)
    ofbiz/site/dtds/ofbiz-component.xsd   (with props)
    ofbiz/site/dtds/ofbiz-containers.xsd   (with props)
    ofbiz/site/dtds/regions.xsd   (with props)
    ofbiz/site/dtds/security-config.xsd   (with props)
    ofbiz/site/dtds/service-config.xsd   (with props)
    ofbiz/site/dtds/service-eca.xsd   (with props)
    ofbiz/site/dtds/service-group.xsd   (with props)
    ofbiz/site/dtds/service-mca.xsd   (with props)
    ofbiz/site/dtds/services.xsd   (with props)
    ofbiz/site/dtds/simple-methods.xsd   (with props)
    ofbiz/site/dtds/site-conf.xsd   (with props)
    ofbiz/site/dtds/test-suite.xsd   (with props)
    ofbiz/site/dtds/widget-form.xsd   (with props)
    ofbiz/site/dtds/widget-menu.xsd   (with props)
    ofbiz/site/dtds/widget-screen.xsd   (with props)
    ofbiz/site/dtds/widget-tree.xsd   (with props)
    ofbiz/site/prova.diff
Modified:
    ofbiz/site/documents.html

Modified: ofbiz/site/documents.html
URL: http://svn.apache.org/viewvc/ofbiz/site/documents.html?view=diff&rev=491649&r1=491648&r2=491649
==============================================================================
--- ofbiz/site/documents.html (original)
+++ ofbiz/site/documents.html Mon Jan  1 13:56:13 2007
@@ -229,48 +229,47 @@
 -->
   <li class="contenttext"><a name="XMLDefs">General XML Definitions</a>
   <ul>
-    <li class="contenttext"><a href="http://svn.apache.org/viewvc/ofbiz/trunk/framework/base/dtd/ofbiz-containers.xsd?revision=HEAD">OFBiz Containers XSD (ofbiz-containers.xml)</a></li>
-    <li class="contenttext"><a href="http://svn.apache.org/viewvc/ofbiz/trunk/framework/base/dtd/component-loader.xsd?revision=HEAD">OFBiz Component Load XSD (component-load.xml)</a></li>
-    <li class="contenttext"><a href="http://svn.apache.org/viewvc/ofbiz/trunk/framework/base/dtd/ofbiz-component.xsd?revision=HEAD">OFBiz Component XSD (ofbiz-component.xml)</a></li>    
-    <li class="contenttext"><a href="http://svn.apache.org/viewvc/ofbiz/trunk/framework/base/dtd/jndi-config.xsd?revision=HEAD">JNDI Server Config XSD (jndiservers.xml)</a></li>
-    <li class="contenttext"><a href="http://svn.apache.org/viewvc/ofbiz/trunk/framework/security/dtd/security-config.xsd?revision=HEAD">Security Config XSD (security.xml)</a></li>
+    <li class="contenttext"><a href="dtds/ofbiz-containers.xsd">OFBiz Containers XSD (ofbiz-containers.xml)</a></li>
+    <li class="contenttext"><a href="dtds/component-loader.xsd">OFBiz Component Load XSD (component-load.xml)</a></li>
+    <li class="contenttext"><a href="dtds/ofbiz-component.xsd ">OFBiz Component XSD (ofbiz-component.xml)</a></li>    
+    <li class="contenttext"><a href="dtds/jndi-config.xsd">JNDI Server Config XSD (jndiservers.xml)</a></li>
+    <li class="contenttext"><a href="dtds/security-config.xsd">Security Config XSD (security.xml)</a></li>
   </ul>
   </li>
   <li class="contenttext">Entity Engine XML Definitions
   <ul>
-    <li class="contenttext"><a href="http://svn.apache.org/viewvc/ofbiz/trunk/framework/entity/dtd/entity-config.xsd?revision=HEAD">Entity Config XSD (entityengine.xml)</a></li>
-    <li class="contenttext"><a href="http://svn.apache.org/viewvc/ofbiz/trunk/framework/entity/dtd/entitygroup.xsd?revision=HEAD">Entity Group XSD (entitygroup.xml)</a></li>
-    <li class="contenttext"><a href="http://svn.apache.org/viewvc/ofbiz/trunk/framework/entity/dtd/entitymodel.xsd?revision=HEAD">Entity Model XSD (entitymodel_*.xml)</a></li>
-    <li class="contenttext"><a href="http://svn.apache.org/viewvc/ofbiz/trunk/framework/entity/dtd/entity-eca.xsd?revision=HEAD">Entity ECAs XSD (eecas_*.xml)</a></li>
-    <li class="contenttext"><a href="http://svn.apache.org/viewvc/ofbiz/trunk/framework/entity/dtd/fieldtypemodel.xsd?revision=HEAD">Field Type Model XSD (fieldtype*.xml)</a></li>
+    <li class="contenttext"><a href="dtds/entity-config.xsd">Entity Config XSD (entityengine.xml)</a></li>
+    <li class="contenttext"><a href="dtds/entitygroup.xsd">Entity Group XSD (entitygroup.xml)</a></li>
+    <li class="contenttext"><a href="dtds/entitymodel.xsd">Entity Model XSD (entitymodel_*.xml)</a></li>
+    <li class="contenttext"><a href="dtds/entity-eca.xsd">Entity ECAs XSD (eecas_*.xml)</a></li>
+    <li class="contenttext"><a href="dtds/fieldtypemodel.xsd">Field Type Model XSD (fieldtype*.xml)</a></li>
   </ul>
   </li>
   <li class="contenttext">Service Engine XML Definitions
   <ul>
-    <li class="contenttext"><a href="http://svn.apache.org/viewvc/ofbiz/trunk/framework/service/dtd/service-config.xsd?revision=HEAD">Service Config XSD (serviceengine.xml)</a></li>
-    <li class="contenttext"><a href="http://svn.apache.org/viewvc/ofbiz/trunk/framework/service/dtd/services.xsd?revision=HEAD">Service Definition XSD (services_*.xml)</a></li>
-    <li class="contenttext"><a href="http://svn.apache.org/viewvc/ofbiz/trunk/framework/service/dtd/service-eca.xsd?revision=HEAD">Service ECAs XSD (secas_*.xml)</a></li>
-    <li class="contenttext"><a href="http://svn.apache.org/viewvc/ofbiz/trunk/framework/service/dtd/service-group.xsd?revision=HEAD">Service Groups XSD (groups_*.xml)</a></li>
-    <li class="contenttext"><a href="http://svn.apache.org/viewvc/ofbiz/trunk/framework/service/dtd/service-mca.xsd?revision=HEAD">Service MCAs XSD</a></li>
+    <li class="contenttext"><a href="dtds/service-config.xsd">Service Config XSD (serviceengine.xml)</a></li>
+    <li class="contenttext"><a href="dtds/services.xsd">Service Definition XSD (services_*.xml)</a></li>
+    <li class="contenttext"><a href="dtds/service-eca.xsd">Service ECAs XSD (secas_*.xml)</a></li>
+    <li class="contenttext"><a href="dtds/service-group.xsd">Service Groups XSD (groups_*.xml)</a></li>
   </ul>
   </li>
   <li class="contenttext">Mini-Language XML Definitions
   <ul>
-    <li class="contenttext"><a href="http://svn.apache.org/viewvc/ofbiz/trunk/framework/minilang/dtd/simple-methods.xsd?revision=HEAD">Simple Methods XSD</a></li>
+    <li class="contenttext"><a href="dtds/simple-methods.xsd">Simple Methods XSD</a></li>
   </ul>
   </li>
   <li class="contenttext">Webapp Framework XML Definitions
   <ul>
-    <li class="contenttext"><a href="http://svn.apache.org/viewvc/ofbiz/trunk/framework/webapp/dtd/site-conf.xsd?revision=HEAD">Site Config XSD (controller.xml)</a></li>
-    <li class="contenttext"><a href="http://svn.apache.org/viewvc/ofbiz/trunk/framework/webapp/dtd/regions.xsd?revision=HEAD">Regions Definition XSD (regions.xml)</a></li>
+    <li class="contenttext"><a href="dtds/site-conf.xsd">Site Config XSD (controller.xml)</a></li>
+    <li class="contenttext"><a href="dtds/regions.xsd">Regions Definition XSD (regions.xml)</a></li>
   </ul>
   </li>
   <li class="contenttext">Widget XML Definitions
   <ul>
-    <li class="contenttext"><a href="http://svn.apache.org/viewvc/ofbiz/trunk/framework/widget/dtd/widget-form.xsd?revision=HEAD">Form Widget XSD</a></li>
-    <li class="contenttext"><a href="http://svn.apache.org/viewvc/ofbiz/trunk/framework/widget/dtd/widget-menu.xsd?revision=HEAD">Menu Widget XSD</a></li>
-    <li class="contenttext"><a href="http://svn.apache.org/viewvc/ofbiz/trunk/framework/widget/dtd/widget-screen.xsd?revision=HEAD">Screen Widget XSD</a></li>
-    <li class="contenttext"><a href="http://svn.apache.org/viewvc/ofbiz/trunk/framework/widget/dtd/widget-tree.xsd?revision=HEAD">Tree Widget XSD</a></li>
+    <li class="contenttext"><a href="dtds/widget-form.xsd">Form Widget XSD</a></li>
+    <li class="contenttext"><a href="dtds/widget-menu.xsd">Menu Widget XSD</a></li>
+    <li class="contenttext"><a href="dtds/widget-screen.xsd">Screen Widget XSD</a></li>
+    <li class="contenttext"><a href="dtds/widget-tree.xsd">Tree Widget XSD</a></li>
   </ul>
   </li>
 </ul>

Added: ofbiz/site/dtds/component-loader.xsd
URL: http://svn.apache.org/viewvc/ofbiz/site/dtds/component-loader.xsd?view=auto&rev=491649
==============================================================================
--- ofbiz/site/dtds/component-loader.xsd (added)
+++ ofbiz/site/dtds/component-loader.xsd Mon Jan  1 13:56:13 2007
@@ -0,0 +1,43 @@
+<?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="component-loader">
+        <xs:complexType>
+            <xs:choice minOccurs="0" maxOccurs="unbounded">
+                <xs:element ref="load-component"/>
+                <xs:element ref="load-components"/>
+            </xs:choice>
+        </xs:complexType>
+    </xs:element>
+    <xs:element name="load-component">
+        <xs:complexType>
+            <xs:attributeGroup ref="attlist.load-component"/>
+        </xs:complexType>
+    </xs:element>
+    <xs:attributeGroup name="attlist.load-component">
+        <xs:attribute type="xs:string" name="component-name"/>
+        <xs:attribute type="xs:string" name="component-location" use="required"/>
+    </xs:attributeGroup>
+    <xs:element name="load-components">
+        <xs:complexType>
+            <xs:attributeGroup ref="attlist.load-components"/>
+        </xs:complexType>
+    </xs:element>
+    <xs:attributeGroup name="attlist.load-components">
+        <xs:attribute type="xs:string" name="parent-directory" use="required"/>
+    </xs:attributeGroup>
+</xs:schema>

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

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

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

Added: ofbiz/site/dtds/datafiles.xsd
URL: http://svn.apache.org/viewvc/ofbiz/site/dtds/datafiles.xsd?view=auto&rev=491649
==============================================================================
--- ofbiz/site/dtds/datafiles.xsd (added)
+++ ofbiz/site/dtds/datafiles.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="data-files">
+        <xs:complexType>
+            <xs:sequence>
+                <xs:element maxOccurs="unbounded" ref="data-file"/>
+            </xs:sequence>
+        </xs:complexType>
+    </xs:element>
+    <xs:element name="data-file">
+        <xs:complexType>
+            <xs:sequence>
+                <xs:element maxOccurs="unbounded" ref="record"/>
+            </xs:sequence>
+            <xs:attributeGroup ref="attlist.data-file"/>
+        </xs:complexType>
+    </xs:element>
+    <xs:attributeGroup name="attlist.data-file">
+        <xs:attribute name="name" use="required"/>
+        <xs:attribute name="type-code" use="required"/>
+        <xs:attribute name="sender"/>
+        <xs:attribute name="receiver"/>
+        <xs:attribute name="delimiter"/>
+        <xs:attribute name="record-length"/>
+        <xs:attribute name="separator-style" use="required">
+            <xs:simpleType>
+                <xs:restriction base="xs:token">
+                    <xs:enumeration value="fixed-length"/>
+                    <xs:enumeration value="fixed-record"/>
+                    <xs:enumeration value="delimited"/>
+                </xs:restriction>
+            </xs:simpleType>
+        </xs:attribute>
+        <xs:attribute name="description"/>
+    </xs:attributeGroup>
+    <xs:element name="record">
+        <xs:complexType>
+            <xs:sequence>
+                <xs:element maxOccurs="unbounded" ref="field"/>
+            </xs:sequence>
+            <xs:attributeGroup ref="attlist.record"/>
+        </xs:complexType>
+    </xs:element>
+    <xs:attributeGroup name="attlist.record">
+        <xs:attribute name="name" use="required"/>
+        <xs:attribute name="type-code"/>
+        <xs:attribute name="tc-min"/>
+        <xs:attribute name="tc-max"/>
+        <xs:attribute name="tc-isnum" default="true">
+            <xs:simpleType>
+                <xs:restriction base="xs:token">
+                    <xs:enumeration value="false"/>
+                    <xs:enumeration value="true"/>
+                </xs:restriction>
+            </xs:simpleType>
+        </xs:attribute>
+        <xs:attribute name="tc-position"/>
+        <xs:attribute name="tc-length"/>
+        <xs:attribute name="description"/>
+        <xs:attribute name="parent-name"/>
+        <xs:attribute name="limit" default="many">
+            <xs:simpleType>
+                <xs:restriction base="xs:token">
+                    <xs:enumeration value="one"/>
+                    <xs:enumeration value="many"/>
+                </xs:restriction>
+            </xs:simpleType>
+        </xs:attribute>
+    </xs:attributeGroup>
+    <xs:element name="field">
+        <xs:complexType>
+            <xs:attributeGroup ref="attlist.field"/>
+        </xs:complexType>
+    </xs:element>
+    <xs:attributeGroup name="attlist.field">
+        <xs:attribute name="name" use="required"/>
+        <xs:attribute name="position"/>
+        <xs:attribute name="length"/>
+        <xs:attribute name="type" use="required"/>
+        <xs:attribute name="format"/>
+        <xs:attribute name="valid-exp"/>
+        <xs:attribute name="description"/>
+        <xs:attribute name="default-value"/>
+        <xs:attribute name="prim-key" 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="ignored" 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="expression" 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="ref-field"/>
+    </xs:attributeGroup>
+</xs:schema>

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

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

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

Added: ofbiz/site/dtds/entity-config.xsd
URL: http://svn.apache.org/viewvc/ofbiz/site/dtds/entity-config.xsd?view=auto&rev=491649
==============================================================================
--- ofbiz/site/dtds/entity-config.xsd (added)
+++ ofbiz/site/dtds/entity-config.xsd Mon Jan  1 13:56:13 2007
@@ -0,0 +1,456 @@
+<?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="entity-config">
+        <xs:complexType>
+            <xs:sequence>
+                <xs:element maxOccurs="unbounded" ref="resource-loader"/>
+                <xs:element ref="transaction-factory"/>
+                <xs:element maxOccurs="unbounded" ref="delegator"/>
+                <xs:element maxOccurs="unbounded" ref="entity-model-reader"/>
+                <xs:element maxOccurs="unbounded" ref="entity-group-reader"/>
+                <xs:element minOccurs="0" maxOccurs="unbounded" ref="entity-eca-reader"/>
+                <xs:element minOccurs="0" maxOccurs="unbounded" ref="entity-data-reader"/>
+                <xs:element maxOccurs="unbounded" ref="field-type"/>
+                <xs:element maxOccurs="unbounded" ref="datasource"/>
+            </xs:sequence>
+        </xs:complexType>
+    </xs:element>
+    <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="transaction-factory">
+        <xs:complexType>
+            <xs:sequence>
+                <xs:element minOccurs="0" ref="user-transaction-jndi"/>
+                <xs:element minOccurs="0" ref="transaction-manager-jndi"/>
+            </xs:sequence>
+            <xs:attributeGroup ref="attlist.transaction-factory"/>
+        </xs:complexType>
+    </xs:element>
+    <xs:attributeGroup name="attlist.transaction-factory">
+        <xs:attribute type="xs:string" name="class" use="required"/>
+    </xs:attributeGroup>
+    <xs:element name="user-transaction-jndi">
+        <xs:complexType>
+            <xs:attributeGroup ref="attlist.user-transaction-jndi"/>
+        </xs:complexType>
+    </xs:element>
+    <xs:attributeGroup name="attlist.user-transaction-jndi">
+        <xs:attribute type="xs:string" name="jndi-server-name" use="required"/>
+        <xs:attribute type="xs:string" name="jndi-name" use="required"/>
+    </xs:attributeGroup>
+    <xs:element name="transaction-manager-jndi">
+        <xs:complexType>
+            <xs:attributeGroup ref="attlist.transaction-manager-jndi"/>
+        </xs:complexType>
+    </xs:element>
+    <xs:attributeGroup name="attlist.transaction-manager-jndi">
+        <xs:attribute type="xs:string" name="jndi-server-name" use="required"/>
+        <xs:attribute type="xs:string" name="jndi-name" use="required"/>
+    </xs:attributeGroup>
+    <xs:element name="delegator">
+        <xs:complexType>
+            <xs:sequence>
+                <xs:element maxOccurs="unbounded" ref="group-map"/>
+            </xs:sequence>
+            <xs:attributeGroup ref="attlist.delegator"/>
+        </xs:complexType>
+    </xs:element>
+    <xs:attributeGroup name="attlist.delegator">
+        <xs:attribute type="xs:string" name="name" use="required"/>
+        <xs:attribute type="xs:string" name="entity-model-reader" use="required"/>
+        <xs:attribute type="xs:string" name="entity-group-reader" use="required"/>
+        <xs:attribute type="xs:string" name="entity-eca-reader"/>
+        <xs:attribute name="entity-eca-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:string" name="entity-eca-handler-class-name" default="org.ofbiz.entityext.eca.DelegatorEcaHandler"/>
+        <xs:attribute name="distributed-cache-clear-enabled" 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="distributed-cache-clear-class-name" default="org.ofbiz.entityext.cache.EntityCacheServices"/>
+        <xs:attribute type="xs:string" name="distributed-cache-clear-user-login-id" default="system"/>
+        <xs:attribute type="xs:string" name="sequenced-id-prefix"/>
+    </xs:attributeGroup>
+    <xs:element name="group-map">
+        <xs:complexType>
+            <xs:attributeGroup ref="attlist.group-map"/>
+        </xs:complexType>
+    </xs:element>
+    <xs:attributeGroup name="attlist.group-map">
+        <xs:attribute type="xs:string" name="group-name" use="required"/>
+        <xs:attribute type="xs:string" name="datasource-name" use="required"/>
+    </xs:attributeGroup>
+    <xs:element name="entity-model-reader">
+        <xs:complexType>
+            <xs:sequence>
+                <xs:element minOccurs="0" maxOccurs="unbounded" ref="resource"/>
+            </xs:sequence>
+            <xs:attributeGroup ref="attlist.entity-model-reader"/>
+        </xs:complexType>
+    </xs:element>
+    <xs:attributeGroup name="attlist.entity-model-reader">
+        <xs:attribute type="xs:string" name="name" use="required"/>
+    </xs:attributeGroup>
+    <xs:element name="resource">
+        <xs:complexType>
+            <xs:attributeGroup ref="attlist.resource"/>
+        </xs:complexType>
+    </xs:element>
+    <xs:attributeGroup name="attlist.resource">
+        <xs:attribute type="xs:string" name="loader" use="required"/>
+        <xs:attribute type="xs:string" name="location" use="required"/>
+    </xs:attributeGroup>
+    <xs:element name="entity-eca-reader">
+        <xs:complexType>
+            <xs:sequence>
+                <xs:element minOccurs="0" maxOccurs="unbounded" ref="resource"/>
+            </xs:sequence>
+            <xs:attributeGroup ref="attlist.entity-eca-reader"/>
+        </xs:complexType>
+    </xs:element>
+    <xs:attributeGroup name="attlist.entity-eca-reader">
+        <xs:attribute type="xs:string" name="name" use="required"/>
+    </xs:attributeGroup>
+    <xs:element name="entity-group-reader">
+        <xs:complexType>
+            <xs:sequence>
+                <xs:element minOccurs="0" maxOccurs="unbounded" ref="resource"/>
+            </xs:sequence>
+            <xs:attributeGroup ref="attlist.entity-group-reader"/>
+        </xs:complexType>
+    </xs:element>
+    <xs:attributeGroup name="attlist.entity-group-reader">
+        <xs:attribute type="xs:string" name="name" use="required"/>
+        <xs:attribute type="xs:string" name="loader"/>
+        <xs:attribute type="xs:string" name="location"/>
+    </xs:attributeGroup>
+    <xs:element name="entity-data-reader">
+        <xs:complexType>
+            <xs:sequence>
+                <xs:element minOccurs="0" maxOccurs="unbounded" ref="resource"/>
+            </xs:sequence>
+            <xs:attributeGroup ref="attlist.entity-data-reader"/>
+        </xs:complexType>
+    </xs:element>
+    <xs:attributeGroup name="attlist.entity-data-reader">
+        <xs:attribute type="xs:string" name="name" use="required"/>
+    </xs:attributeGroup>
+    <xs:element name="field-type">
+        <xs:complexType>
+            <xs:attributeGroup ref="attlist.field-type"/>
+        </xs:complexType>
+    </xs:element>
+    <xs:attributeGroup name="attlist.field-type">
+        <xs:attribute type="xs:string" name="name" use="required"/>
+        <xs:attribute type="xs:string" name="loader" use="required"/>
+        <xs:attribute type="xs:string" name="location" use="required"/>
+    </xs:attributeGroup>
+    <xs:element name="datasource">
+        <xs:complexType>
+            <xs:sequence>
+                <xs:element minOccurs="0" maxOccurs="unbounded" ref="sql-load-path"/>
+                <xs:element minOccurs="0" maxOccurs="unbounded" ref="read-data"/>
+                <xs:choice minOccurs="1" maxOccurs="1">
+                    <xs:element minOccurs="0" maxOccurs="1" ref="jndi-jdbc"/>
+                    <xs:element minOccurs="0" maxOccurs="1" ref="inline-jdbc"/>
+                    <xs:element minOccurs="0" maxOccurs="1" ref="tyrex-dataSource"/>
+                </xs:choice>
+                <!-- <xs:any minOccurs="0" maxOccurs="unbounded"/> -->
+            </xs:sequence>
+            <xs:attributeGroup ref="attlist.datasource"/>
+        </xs:complexType>
+    </xs:element>
+    <!-- main subelements of datasource are (sql-load-path*, (inline-jdbc | jndi-jdbc | tyrex-dataSource | ANY), but ANY must be used alone for certain XML parsers -->
+    <xs:attributeGroup name="attlist.datasource">
+        <xs:attribute type="xs:string" name="name" use="required"/>
+        <xs:attribute type="xs:string" name="helper-class" use="required"/>
+        <xs:attribute type="xs:string" name="field-type-name" use="required"/>
+        <xs:attribute name="use-schemas" 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="schema-name"/>
+        <xs:attribute name="check-on-start" 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="add-missing-on-start" 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="use-pk-constraint-names" 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="check-pks-on-start" 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="constraint-name-clip-length" default="30"/>
+        <xs:attribute name="use-proxy-cursor" 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="proxy-cursor-name" default="p_cursor"/>
+        <xs:attribute type="xs:integer" name="result-fetch-size" default="-1"/>
+        <xs:attribute name="use-foreign-keys" 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="use-foreign-key-indices" 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="check-fks-on-start" 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="check-fk-indices-on-start" 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="fk-style" default="name_constraint">
+            <xs:simpleType>
+                <xs:restriction base="xs:token">
+                    <xs:enumeration value="name_constraint"/>
+                    <xs:enumeration value="name_fk"/>
+                </xs:restriction>
+            </xs:simpleType>
+        </xs:attribute>
+        <xs:attribute name="use-fk-initially-deferred" 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="use-indices" 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="check-indices-on-start" 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="join-style" default="ansi">
+            <xs:simpleType>
+                <xs:restriction base="xs:token">
+                    <xs:enumeration value="ansi"/>
+                    <xs:enumeration value="ansi-no-parenthesis"/>
+                    <xs:enumeration value="theta-oracle"/>
+                    <xs:enumeration value="theta-mssql"/>
+                </xs:restriction>
+            </xs:simpleType>
+        </xs:attribute>
+        <xs:attribute name="alias-view-columns" 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="always-use-constraint-keyword" 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="drop-fk-use-foreign-key-keyword" 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="use-binary-type-for-blob" 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="table-type"/>
+        <xs:attribute type="xs:string" name="character-set"/>
+        <xs:attribute type="xs:string" name="collate"/>
+    </xs:attributeGroup>
+    <xs:element name="sql-load-path">
+        <xs:complexType>
+            <xs:attributeGroup ref="attlist.sql-load-path"/>
+        </xs:complexType>
+    </xs:element>
+    <xs:attributeGroup name="attlist.sql-load-path">
+        <xs:attribute type="xs:string" name="path" use="required"/>
+        <xs:attribute type="xs:string" name="prepend-env"/>
+    </xs:attributeGroup>
+    <xs:element name="read-data">
+        <xs:complexType>
+            <xs:attributeGroup ref="attlist.read-data"/>
+        </xs:complexType>
+    </xs:element>
+    <xs:attributeGroup name="attlist.read-data">
+        <xs:attribute type="xs:string" name="reader-name" use="required"/>
+    </xs:attributeGroup>
+    <xs:element name="inline-jdbc">
+        <xs:complexType>
+            <xs:attributeGroup ref="attlist.inline-jdbc"/>
+        </xs:complexType>
+    </xs:element>
+    <xs:attributeGroup name="attlist.inline-jdbc">
+        <xs:attribute type="xs:string" name="jdbc-driver" use="required"/>
+        <xs:attribute type="xs:string" name="jdbc-uri" use="required"/>
+        <xs:attribute type="xs:string" name="jdbc-username" use="required"/>
+        <xs:attribute type="xs:string" name="jdbc-password" use="required"/>
+        <xs:attribute name="isolation-level">
+            <xs:simpleType>
+                <xs:restriction base="xs:token">
+                    <xs:enumeration value="None"/>
+                    <xs:enumeration value="ReadCommitted"/>
+                    <xs:enumeration value="ReadUncommitted"/>
+                    <xs:enumeration value="RepeatableRead"/>
+                    <xs:enumeration value="Serializable"/>
+                </xs:restriction>
+            </xs:simpleType>
+        </xs:attribute>
+        <xs:attribute type="xs:nonNegativeInteger" name="pool-maxsize" default="50"/>
+        <xs:attribute type="xs:nonNegativeInteger" name="pool-minsize" default="2"/>
+        <xs:attribute type="xs:nonNegativeInteger" name="pool-sleeptime" default="300000"/>
+        <xs:attribute type="xs:nonNegativeInteger" name="pool-lifetime" default="600000"/>
+        <xs:attribute type="xs:nonNegativeInteger" name="pool-deadlock-maxwait" default="300000"/>
+        <xs:attribute type="xs:nonNegativeInteger" name="pool-deadlock-retrywait" default="10000"/>
+        <xs:attribute type="xs:string" name="pool-jdbc-test-stmt"/>
+        <xs:attribute type="xs:string" name="pool-xa-wrapper-class" default="org.enhydra.jdbc.standard.StandardXADataSource"/>
+    </xs:attributeGroup>
+    <xs:element name="jndi-jdbc">
+        <xs:complexType>
+            <xs:attributeGroup ref="attlist.jndi-jdbc"/>
+        </xs:complexType>
+    </xs:element>
+    <xs:attributeGroup name="attlist.jndi-jdbc">
+        <xs:attribute type="xs:string" name="jndi-server-name" use="required"/>
+        <xs:attribute type="xs:string" name="jndi-name" use="required"/>
+        <xs:attribute name="isolation-level">
+            <xs:simpleType>
+                <xs:restriction base="xs:token">
+                    <xs:enumeration value="None"/>
+                    <xs:enumeration value="ReadCommitted"/>
+                    <xs:enumeration value="ReadUncommitted"/>
+                    <xs:enumeration value="RepeatableRead"/>
+                    <xs:enumeration value="Serializable"/>
+                </xs:restriction>
+            </xs:simpleType>
+        </xs:attribute>
+    </xs:attributeGroup>
+    <xs:element name="tyrex-dataSource">
+        <xs:complexType>
+            <xs:attributeGroup ref="attlist.tyrex-dataSource"/>
+        </xs:complexType>
+    </xs:element>
+    <xs:attributeGroup name="attlist.tyrex-dataSource">
+        <xs:attribute type="xs:string" name="dataSource-name" use="required"/>
+        <xs:attribute name="isolation-level">
+            <xs:simpleType>
+                <xs:restriction base="xs:token">
+                    <xs:enumeration value="None"/>
+                    <xs:enumeration value="ReadCommitted"/>
+                    <xs:enumeration value="ReadUncommitted"/>
+                    <xs:enumeration value="RepeatableRead"/>
+                    <xs:enumeration value="Serializable"/>
+                </xs:restriction>
+            </xs:simpleType>
+        </xs:attribute>
+    </xs:attributeGroup>
+    <xs:complexType name="any" mixed="true">
+        <xs:sequence>
+            <xs:any minOccurs="0" maxOccurs="unbounded" processContents="skip"/>
+        </xs:sequence>
+    </xs:complexType>
+</xs:schema>

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

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

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

Added: ofbiz/site/dtds/entity-eca.xsd
URL: http://svn.apache.org/viewvc/ofbiz/site/dtds/entity-eca.xsd?view=auto&rev=491649
==============================================================================
--- ofbiz/site/dtds/entity-eca.xsd (added)
+++ ofbiz/site/dtds/entity-eca.xsd Mon Jan  1 13:56:13 2007
@@ -0,0 +1,222 @@
+<?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="entity-eca">
+        <xs:complexType>
+            <xs:sequence>
+                <xs:element 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: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="entity" use="required"/>
+        <xs:attribute name="operation" use="required">
+            <xs:simpleType>
+                <xs:restriction base="xs:token">
+                    <xs:enumeration value="create"/>
+                    <xs:enumeration value="store"/>
+                    <xs:enumeration value="remove"/>
+                    <xs:enumeration value="find"/>
+                    <xs:enumeration value="create-store"/>
+                    <xs:enumeration value="create-remove"/>
+                    <xs:enumeration value="store-remove"/>
+                    <xs:enumeration value="create-store-remove"/>
+                    <xs:enumeration value="any"/>
+                </xs:restriction>
+            </xs:simpleType>
+        </xs:attribute>
+        <xs:attribute name="event" use="required">
+            <xs:simpleType>
+                <xs:restriction base="xs:token">
+                    <xs:enumeration value="validate"/>
+                    <xs:enumeration value="run"/>
+                    <xs:enumeration value="return"/>
+                    <xs:enumeration value="cache-check"/>
+                    <xs:enumeration value="cache-put"/>
+                    <xs:enumeration value="cache-clear"/>
+                </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="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="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-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="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 name="result-to-value" 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="abort-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:attribute name="rollback-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: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:attribute type="xs:string" name="run-as-user" default="system"/>
+        <xs:attribute type="xs:string" name="value-attr"/>
+    </xs:attributeGroup>
+</xs:schema>
+<!--
+    if value-attr is specified the generic value object corresponding to the entity in question will be passed
+    to the action service
+-->
+<!--
+    <entity-eca>
+        <eca entity="Product" operation="create" event="return">
+          <condition field-name="foo" operator="equals" rhs="1"/>
+          <action service="testScv" mode="sync"/>
+          <action service="testScv2" mode="sync"/>
+        </eca>
+    </entity-eca>
+-->

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

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

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

Added: ofbiz/site/dtds/entitygroup.xsd
URL: http://svn.apache.org/viewvc/ofbiz/site/dtds/entitygroup.xsd?view=auto&rev=491649
==============================================================================
--- ofbiz/site/dtds/entitygroup.xsd (added)
+++ ofbiz/site/dtds/entitygroup.xsd Mon Jan  1 13:56:13 2007
@@ -0,0 +1,40 @@
+<?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.
+-->
+<!--      
+     * This is the DTD for the Open For Business Generic Entity Model field type definition XML file.
+-->
+<xs:schema xmlns:xs="http://www.w3.org/2001/XMLSchema" elementFormDefault="qualified">
+    <!-- ====================== Root Element ======================= -->
+    <xs:element name="entitygroup">
+        <xs:complexType>
+            <xs:sequence>
+                <xs:element minOccurs="0" maxOccurs="unbounded" ref="entity-group"/>
+            </xs:sequence>
+        </xs:complexType>
+    </xs:element>
+    <!-- ================= Children of entitygroup =================== -->
+    <xs:element name="entity-group">
+        <xs:complexType>
+            <xs:attributeGroup ref="attlist.entity-group"/>
+        </xs:complexType>
+    </xs:element>
+    <!-- ================= Children of entity-group =================== -->
+    <xs:attributeGroup name="attlist.entity-group">
+        <xs:attribute type="xs:string" name="group" use="required"/>
+        <xs:attribute type="xs:string" name="entity" use="required"/>
+    </xs:attributeGroup>
+</xs:schema>

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

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

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

Added: ofbiz/site/dtds/entitymodel.xsd
URL: http://svn.apache.org/viewvc/ofbiz/site/dtds/entitymodel.xsd?view=auto&rev=491649
==============================================================================
--- ofbiz/site/dtds/entitymodel.xsd (added)
+++ ofbiz/site/dtds/entitymodel.xsd Mon Jan  1 13:56:13 2007
@@ -0,0 +1,387 @@
+<?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.
+-->
+<!--       
+    *This is the DTD for the Open For Business Generic Entity Model entity definition XML file.
+    *This DTD is meant to be as simple as possible, and is modelled from the standard ejb deployment descriptor ejb-jar.xml.
+-->
+<xs:schema xmlns:xs="http://www.w3.org/2001/XMLSchema" elementFormDefault="qualified">
+    <!-- ====================== Root Element ======================= -->
+    <xs:element name="entitymodel">
+        <xs:complexType>
+            <xs:sequence>
+                <xs:element minOccurs="0" ref="title"/>
+                <xs:element minOccurs="0" ref="description"/>
+                <xs:element minOccurs="0" maxOccurs="unbounded" ref="copyright"/>
+                <xs:element minOccurs="0" maxOccurs="unbounded" ref="author"/>
+                <xs:element minOccurs="0" ref="version"/>
+                <xs:choice minOccurs="0" maxOccurs="unbounded">
+                    <xs:element ref="entity"/>
+                    <xs:element ref="view-entity"/>
+                    <xs:element ref="extend-entity"/>
+                </xs:choice>
+            </xs:sequence>
+        </xs:complexType>
+    </xs:element>
+    <!-- ================= Children of entitymodel =================== -->
+    <xs:element name="title" type="xs:string"/>
+    <xs:element name="description" type="xs:string"/>
+    <xs:element name="copyright" type="xs:string"/>
+    <xs:element name="author" type="xs:string"/>
+    <xs:element name="version" type="xs:string"/>
+    <!-- ================== entity ===================== -->
+    <xs:element name="entity">
+        <xs:complexType>
+            <xs:sequence>
+                <xs:element minOccurs="0" ref="description"/>
+                <xs:element maxOccurs="unbounded" ref="field"/>
+                <xs:element minOccurs="0" maxOccurs="unbounded" ref="prim-key"/>
+                <xs:element minOccurs="0" maxOccurs="unbounded" ref="relation"/>
+                <xs:element minOccurs="0" maxOccurs="unbounded" ref="index"/>
+            </xs:sequence>
+            <xs:attributeGroup ref="attlist.entity"/>
+        </xs:complexType>
+    </xs:element>
+    <!-- see the children of entitymodel section for description, etc. -->
+    <xs:attributeGroup name="attlist.entity">
+        <xs:attribute type="xs:string" name="entity-name" use="required"/>
+        <xs:attribute type="xs:string" name="table-name"/>
+        <xs:attribute type="xs:string" name="package-name" use="required"/>
+        <xs:attribute type="xs:string" name="default-resource-name"/>
+        <xs:attribute type="xs:string" name="dependent-on"/>
+        <xs:attribute name="enable-lock" 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="no-auto-stamp" 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="never-cache" 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="auto-clear-cache" 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="title"/>
+        <xs:attribute type="xs:string" name="copyright"/>
+        <xs:attribute type="xs:string" name="author"/>
+        <xs:attribute type="xs:string" name="version"/>
+    </xs:attributeGroup>
+    <xs:element name="prim-key">
+        <xs:complexType>
+            <xs:attributeGroup ref="attlist.prim-key"/>
+        </xs:complexType>
+    </xs:element>
+    <xs:attributeGroup name="attlist.prim-key">
+        <xs:attribute type="xs:string" name="field" use="required"/>
+    </xs:attributeGroup>
+    <!-- ==================== field ===================== -->
+    <xs:element name="field">
+        <xs:complexType>
+            <xs:sequence>
+                <xs:element minOccurs="0" ref="description"/>
+                <xs:element minOccurs="0" maxOccurs="unbounded" ref="validate"/>
+            </xs:sequence>
+            <xs:attributeGroup ref="attlist.field"/>
+        </xs:complexType>
+    </xs:element>
+    <xs:attributeGroup name="attlist.field">
+        <xs:attribute type="xs:string" name="name" use="required"/>
+        <xs:attribute type="xs:string" name="col-name"/>
+        <xs:attribute type="xs:string" name="type" use="required"/>
+        <xs:attribute name="encrypt" 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="validate">
+        <xs:complexType>
+            <xs:attributeGroup ref="attlist.validate"/>
+        </xs:complexType>
+    </xs:element>
+    <xs:attributeGroup name="attlist.validate">
+        <xs:attribute type="xs:string" name="name" use="required"/>
+    </xs:attributeGroup>
+    <!-- ==================== relation ====================== -->
+    <!-- specifies whether or not the relation is a dependent one; ie if the related entity can exist without the main entity -->
+    <xs:element name="relation">
+        <xs:complexType>
+            <xs:sequence>
+                <xs:element minOccurs="0" ref="description"/>
+                <xs:element maxOccurs="unbounded" ref="key-map"/>
+            </xs:sequence>
+            <xs:attributeGroup ref="attlist.relation"/>
+        </xs:complexType>
+    </xs:element>
+    <xs:attributeGroup name="attlist.relation">
+        <xs:attribute name="type" use="required">
+            <xs:simpleType>
+                <xs:restriction base="xs:token">
+                    <xs:enumeration value="one"/>
+                    <xs:enumeration value="many"/>
+                    <xs:enumeration value="one-nofk"/>
+                </xs:restriction>
+            </xs:simpleType>
+        </xs:attribute>
+        <xs:attribute type="xs:string" name="title"/>
+        <xs:attribute type="xs:string" name="rel-entity-name" use="required"/>
+        <xs:attribute type="xs:string" name="fk-name"/>
+    </xs:attributeGroup>
+    <xs:element name="key-map">
+        <xs:complexType>
+            <xs:attributeGroup ref="attlist.key-map"/>
+        </xs:complexType>
+    </xs:element>
+    <xs:attributeGroup name="attlist.key-map">
+        <xs:attribute type="xs:string" name="field-name" use="required"/>
+        <xs:attribute type="xs:string" name="rel-field-name"/>
+    </xs:attributeGroup>
+    <!-- ==================== index ===================== -->
+    <xs:element name="index">
+        <xs:complexType>
+            <xs:sequence>
+                <xs:element minOccurs="0" ref="description"/>
+                <xs:element maxOccurs="unbounded" ref="index-field"/>
+            </xs:sequence>
+            <xs:attributeGroup ref="attlist.index"/>
+        </xs:complexType>
+    </xs:element>
+    <xs:attributeGroup name="attlist.index">
+        <xs:attribute type="xs:string" name="name" use="required"/>
+        <xs:attribute name="unique" 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="index-field">
+        <xs:complexType>
+            <xs:attributeGroup ref="attlist.index-field"/>
+        </xs:complexType>
+    </xs:element>
+    <xs:attributeGroup name="attlist.index-field">
+        <xs:attribute type="xs:string" name="name" use="required"/>
+    </xs:attributeGroup>
+    <!-- ================== view-entity ===================== -->
+    <xs:element name="view-entity">
+        <xs:complexType>
+            <xs:sequence>
+                <xs:element minOccurs="0" ref="description"/>
+                <xs:element maxOccurs="unbounded" ref="member-entity"/>
+                <xs:element minOccurs="0" maxOccurs="unbounded" ref="alias-all"/>
+                <xs:element minOccurs="0" maxOccurs="unbounded" ref="alias"/>
+                <xs:element minOccurs="0" maxOccurs="unbounded" ref="view-link"/>
+                <xs:element minOccurs="0" maxOccurs="unbounded" ref="relation"/>
+            </xs:sequence>
+            <xs:attributeGroup ref="attlist.view-entity"/>
+        </xs:complexType>
+    </xs:element>
+    <!-- see the children of entitymodel section for description, etc. -->
+    <xs:attributeGroup name="attlist.view-entity">
+        <xs:attribute type="xs:string" name="entity-name" use="required"/>
+        <xs:attribute type="xs:string" name="package-name" use="required"/>
+        <xs:attribute type="xs:string" name="dependent-on"/>
+        <xs:attribute type="xs:string" name="default-resource-name"/>
+        <xs:attribute name="never-cache" 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="auto-clear-cache" 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="title"/>
+        <xs:attribute type="xs:string" name="copyright"/>
+        <xs:attribute type="xs:string" name="author"/>
+        <xs:attribute type="xs:string" name="version"/>
+    </xs:attributeGroup>
+    <xs:element name="member-entity">
+        <xs:complexType>
+            <xs:sequence>
+                <xs:element minOccurs="0" ref="description"/>
+            </xs:sequence>
+            <xs:attributeGroup ref="attlist.member-entity"/>
+        </xs:complexType>
+    </xs:element>
+    <xs:attributeGroup name="attlist.member-entity">
+        <xs:attribute type="xs:string" name="entity-alias" use="required"/>
+        <xs:attribute type="xs:string" name="entity-name" use="required"/>
+    </xs:attributeGroup>
+    <xs:element name="alias-all">
+        <xs:complexType>
+            <xs:sequence>
+                <xs:element minOccurs="0" ref="description"/>
+                <xs:element minOccurs="0" maxOccurs="unbounded" ref="exclude"/>
+            </xs:sequence>
+            <xs:attributeGroup ref="attlist.alias-all"/>
+        </xs:complexType>
+    </xs:element>
+    <xs:attributeGroup name="attlist.alias-all">
+        <xs:attribute type="xs:string" name="entity-alias" use="required"/>
+        <xs:attribute type="xs:string" name="prefix"/>
+    </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" use="required"/>
+    </xs:attributeGroup>
+    <xs:element name="alias">
+        <xs:complexType>
+            <xs:sequence>
+                <xs:element minOccurs="0" ref="description"/>
+                <xs:element minOccurs="0" ref="complex-alias"/>
+            </xs:sequence>
+            <xs:attributeGroup ref="attlist.alias"/>
+        </xs:complexType>
+    </xs:element>
+    <xs:attributeGroup name="attlist.alias">
+        <xs:attribute type="xs:string" name="entity-alias"/>
+        <xs:attribute type="xs:string" name="name" use="required"/>
+        <xs:attribute type="xs:string" name="field"/>
+        <xs:attribute type="xs:string" name="col-alias"/>
+        <xs:attribute type="xs:string" name="prim-key"/>
+        <xs:attribute name="group-by" 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="function">
+            <xs:simpleType>
+                <xs:restriction base="xs:token">
+                    <xs:enumeration value="min"/>
+                    <xs:enumeration value="max"/>
+                    <xs:enumeration value="sum"/>
+                    <xs:enumeration value="avg"/>
+                    <xs:enumeration value="count"/>
+                    <xs:enumeration value="count-distinct"/>
+                    <xs:enumeration value="upper"/>
+                    <xs:enumeration value="lower"/>
+                </xs:restriction>
+            </xs:simpleType>
+        </xs:attribute>
+    </xs:attributeGroup>
+    <xs:element name="complex-alias">
+        <xs:complexType>
+            <xs:choice minOccurs="0" maxOccurs="unbounded">
+                <xs:element ref="complex-alias"/>
+                <xs:element ref="complex-alias-field"/>
+            </xs:choice>
+            <xs:attributeGroup ref="attlist.complex-alias"/>
+        </xs:complexType>
+    </xs:element>
+    <xs:attributeGroup name="attlist.complex-alias">
+        <xs:attribute type="xs:string" name="operator" use="required"/>
+    </xs:attributeGroup>
+    <xs:element name="complex-alias-field">
+        <xs:complexType>
+            <xs:attributeGroup ref="attlist.complex-alias-field"/>
+        </xs:complexType>
+    </xs:element>
+    <xs:attributeGroup name="attlist.complex-alias-field">
+        <xs:attribute type="xs:string" name="entity-alias" use="required"/>
+        <xs:attribute type="xs:string" name="field" use="required"/>
+        <xs:attribute type="xs:string" name="default-value"/>
+        <xs:attribute name="function">
+            <xs:simpleType>
+                <xs:restriction base="xs:token">
+                    <xs:enumeration value="min"/>
+                    <xs:enumeration value="max"/>
+                    <xs:enumeration value="sum"/>
+                    <xs:enumeration value="avg"/>
+                    <xs:enumeration value="count"/>
+                    <xs:enumeration value="count-distinct"/>
+                    <xs:enumeration value="upper"/>
+                    <xs:enumeration value="lower"/>
+                </xs:restriction>
+            </xs:simpleType>
+        </xs:attribute>
+    </xs:attributeGroup>
+    <xs:element name="view-link">
+        <xs:complexType>
+            <xs:sequence>
+                <xs:element minOccurs="0" ref="description"/>
+                <xs:element maxOccurs="unbounded" ref="key-map"/>
+            </xs:sequence>
+            <xs:attributeGroup ref="attlist.view-link"/>
+        </xs:complexType>
+    </xs:element>
+    <xs:attributeGroup name="attlist.view-link">
+        <xs:attribute type="xs:string" name="entity-alias" use="required"/>
+        <xs:attribute type="xs:string" name="rel-entity-alias" use="required"/>
+        <xs:attribute name="rel-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:attributeGroup>
+
+    <xs:element name="extend-entity">
+        <xs:complexType>
+            <xs:sequence>
+                <xs:element minOccurs="0" maxOccurs="unbounded" ref="field"/>
+                <xs:element minOccurs="0" maxOccurs="unbounded" ref="relation"/>
+                <xs:element minOccurs="0" maxOccurs="unbounded" ref="index"/>
+            </xs:sequence>
+            <xs:attributeGroup ref="attlist.extend-entity"/>
+        </xs:complexType>
+    </xs:element>
+    <xs:attributeGroup name="attlist.extend-entity">
+        <xs:attribute type="xs:string" name="entity-name" use="required"/>
+    </xs:attributeGroup>
+</xs:schema>

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

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

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

Added: ofbiz/site/dtds/fieldtypemodel.xsd
URL: http://svn.apache.org/viewvc/ofbiz/site/dtds/fieldtypemodel.xsd?view=auto&rev=491649
==============================================================================
--- ofbiz/site/dtds/fieldtypemodel.xsd (added)
+++ ofbiz/site/dtds/fieldtypemodel.xsd Mon Jan  1 13:56:13 2007
@@ -0,0 +1,52 @@
+<?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="fieldtypemodel">
+        <xs:complexType>
+            <xs:sequence>
+                <xs:element minOccurs="0" maxOccurs="unbounded" ref="field-type-def"/>
+            </xs:sequence>
+        </xs:complexType>
+    </xs:element>
+    <!-- ================= Children of fieldtypemodel =================== -->
+    <xs:element name="field-type-def">
+        <xs:complexType>
+            <xs:sequence>
+                <xs:element minOccurs="0" maxOccurs="unbounded" ref="validate"/>
+            </xs:sequence>
+            <xs:attributeGroup ref="attlist.field-type-def"/>
+        </xs:complexType>
+    </xs:element>
+    <!-- ================= Children of field-type-def =================== -->
+    <xs:attributeGroup name="attlist.field-type-def">
+        <xs:attribute type="xs:string" name="type" use="required"/>
+        <xs:attribute type="xs:string" name="sql-type" use="required"/>
+        <xs:attribute type="xs:string" name="sql-type-alias"/>
+        <xs:attribute type="xs:string" name="java-type" use="required"/>
+    </xs:attributeGroup>
+    <xs:element name="validate">
+        <xs:complexType>
+            <xs:attributeGroup ref="attlist.validate"/>
+        </xs:complexType>
+    </xs:element>
+    <xs:attributeGroup name="attlist.validate">
+        <xs:attribute type="xs:string" name="method" use="required"/>
+        <xs:attribute type="xs:string" name="class" default="org.ofbiz.base.util.UtilValidate"/>
+    </xs:attributeGroup>
+</xs:schema>

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

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

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

Added: ofbiz/site/dtds/jndi-config.xsd
URL: http://svn.apache.org/viewvc/ofbiz/site/dtds/jndi-config.xsd?view=auto&rev=491649
==============================================================================
--- ofbiz/site/dtds/jndi-config.xsd (added)
+++ ofbiz/site/dtds/jndi-config.xsd Mon Jan  1 13:56:13 2007
@@ -0,0 +1,38 @@
+<?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="jndi-config">
+        <xs:complexType>
+            <xs:sequence>
+                <xs:element minOccurs="0" maxOccurs="unbounded" ref="jndi-server"/>
+            </xs:sequence>
+        </xs:complexType>
+    </xs:element>
+    <xs:element name="jndi-server">
+        <xs:complexType>
+            <xs:attributeGroup ref="attlist.jndi-server"/>
+        </xs:complexType>
+    </xs:element>
+    <xs:attributeGroup name="attlist.jndi-server">
+        <xs:attribute type="xs:string" name="name" use="required"/>
+        <xs:attribute type="xs:string" name="context-provider-url"/>
+        <xs:attribute type="xs:string" name="initial-context-factory"/>
+        <xs:attribute type="xs:string" name="url-pkg-prefixes"/>
+        <xs:attribute type="xs:string" name="security-principal"/>
+        <xs:attribute type="xs:string" name="security-credentials"/>
+    </xs:attributeGroup>
+</xs:schema>

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

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

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

Added: ofbiz/site/dtds/ofbiz-component.xsd
URL: http://svn.apache.org/viewvc/ofbiz/site/dtds/ofbiz-component.xsd?view=auto&rev=491649
==============================================================================
--- ofbiz/site/dtds/ofbiz-component.xsd (added)
+++ ofbiz/site/dtds/ofbiz-component.xsd Mon Jan  1 13:56:13 2007
@@ -0,0 +1,191 @@
+<?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="ofbiz-component">
+        <xs:complexType>
+            <xs:sequence>
+                <xs:element minOccurs="0" maxOccurs="unbounded" ref="depends-on"/>
+                <xs:element minOccurs="0" maxOccurs="unbounded" ref="resource-loader"/>
+                <xs:element minOccurs="0" maxOccurs="unbounded" ref="classpath"/>
+                <xs:element minOccurs="0" maxOccurs="unbounded" ref="entity-resource"/>
+                <xs:element minOccurs="0" maxOccurs="unbounded" ref="service-resource"/>
+                <xs:element minOccurs="0" maxOccurs="unbounded" ref="test-suite"/>
+                <xs:element minOccurs="0" maxOccurs="unbounded" ref="webapp"/>
+            </xs:sequence>
+            <xs:attributeGroup ref="attlist.ofbiz-component"/>
+        </xs:complexType>
+    </xs:element>
+    <xs:attributeGroup name="attlist.ofbiz-component">
+        <xs:attribute type="xs:string" name="name" use="required"/>
+        <xs:attribute type="xs:string" name="enabled" use="optional" default="true"/>
+    </xs:attributeGroup>
+    <xs:element name="depends-on">
+        <xs:complexType>
+            <xs:attributeGroup ref="attlist.depends-on"/>
+        </xs:complexType>
+    </xs:element>
+    <xs:attributeGroup name="attlist.depends-on">
+        <xs:attribute type="xs:string" name="component-name" 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 name="type" default="component">
+            <xs:simpleType>
+                <xs:restriction base="xs:token">
+                    <xs:enumeration value="component"/>
+                    <xs:enumeration value="file"/>
+                    <xs:enumeration value="classpath"/>
+                    <xs:enumeration value="url"/>
+                </xs:restriction>
+            </xs:simpleType>
+        </xs:attribute>
+        <xs:attribute type="xs:string" name="prepend-env"/>
+        <xs:attribute type="xs:string" name="prefix"/>
+    </xs:attributeGroup>
+    <xs:element name="classpath">
+        <xs:complexType>
+            <xs:attributeGroup ref="attlist.classpath"/>
+        </xs:complexType>
+    </xs:element>
+    <xs:attributeGroup name="attlist.classpath">
+        <xs:attribute name="type" use="required">
+            <xs:simpleType>
+                <xs:restriction base="xs:token">
+                    <xs:enumeration value="jar"/>
+                    <xs:enumeration value="dir"/>
+                </xs:restriction>
+            </xs:simpleType>
+        </xs:attribute>
+        <xs:attribute type="xs:string" name="location" use="required"/>
+    </xs:attributeGroup>
+    <xs:element name="entity-resource">
+        <xs:complexType>
+            <xs:attributeGroup ref="attlist.entity-resource"/>
+        </xs:complexType>
+    </xs:element>
+    <xs:attributeGroup name="attlist.entity-resource">
+        <xs:attribute name="type" use="required">
+            <xs:simpleType>
+                <xs:restriction base="xs:token">
+                    <xs:enumeration value="model"/>
+                    <xs:enumeration value="group"/>
+                    <xs:enumeration value="eca"/>
+                    <xs:enumeration value="data"/>
+                </xs:restriction>
+            </xs:simpleType>
+        </xs:attribute>
+        <xs:attribute type="xs:string" name="reader-name" use="required"/>
+        <xs:attribute type="xs:string" name="loader" use="required"/>
+        <xs:attribute type="xs:string" name="location" use="required"/>
+    </xs:attributeGroup>
+    <xs:element name="service-resource">
+        <xs:complexType>
+            <xs:attributeGroup ref="attlist.service-resource"/>
+        </xs:complexType>
+    </xs:element>
+    <xs:attributeGroup name="attlist.service-resource">
+        <xs:attribute name="type" use="required">
+            <xs:simpleType>
+                <xs:restriction base="xs:token">
+                    <xs:enumeration value="model"/>
+                    <xs:enumeration value="group"/>
+                    <xs:enumeration value="eca"/>
+                    <xs:enumeration value="mca"/>
+                </xs:restriction>
+            </xs:simpleType>
+        </xs:attribute>
+        <xs:attribute type="xs:string" name="loader" use="required"/>
+        <xs:attribute type="xs:string" name="location" use="required"/>
+    </xs:attributeGroup>
+    <xs:element name="test-suite">
+        <xs:complexType>
+            <xs:attributeGroup ref="attlist.test-suite"/>
+        </xs:complexType>
+    </xs:element>
+    <xs:attributeGroup name="attlist.test-suite">
+        <xs:attribute type="xs:string" name="loader" use="required"/>
+        <xs:attribute type="xs:string" name="location" use="required"/>
+    </xs:attributeGroup>
+    <xs:element name="webapp">
+        <xs:complexType>
+            <xs:sequence>
+                <xs:element minOccurs="0" maxOccurs="unbounded" ref="virtual-host"/>
+                <xs:element minOccurs="0" maxOccurs="unbounded" ref="init-param"/>
+            </xs:sequence>
+            <xs:attributeGroup ref="attlist.webapp"/>
+        </xs:complexType>
+    </xs:element>
+    <xs:attributeGroup name="attlist.webapp">
+        <xs:attribute type="xs:string" name="name" use="required"/>
+        <xs:attribute type="xs:string" name="title"/>
+        <xs:attribute type="xs:string" name="server" use="required"/>
+        <xs:attribute type="xs:string" name="location" use="required"/>
+        <xs:attribute type="xs:string" name="mount-point"/>
+        <xs:attribute type="xs:string" name="base-permission"/>
+        <xs:attribute name="app-bar-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="virtual-host">
+        <xs:complexType>
+            <xs:attributeGroup ref="attlist.virtual-host"/>
+        </xs:complexType>
+    </xs:element>
+    <xs:attributeGroup name="attlist.virtual-host">
+        <xs:attribute type="xs:string" name="host-name" use="required"/>
+    </xs:attributeGroup>
+    <xs:element name="init-param">
+        <xs:complexType>
+            <xs:attributeGroup ref="attlist.init-param"/>
+        </xs:complexType>
+    </xs:element>
+    <xs:attributeGroup name="attlist.init-param">
+        <xs:attribute type="xs:string" name="name" use="required"/>
+        <xs:attribute type="xs:string" name="value" use="required"/>
+    </xs:attributeGroup>
+</xs:schema>
+<!--
+    <ofbiz-component name="core">
+        <resource-loader name="maincomponent" type="component"/>
+        <resource-loader name="mainfile" type="file" prepend-env="ofbiz.home" prefix=""/>
+        <resource-loader name="maincp" type="classpath"/>
+        <resource-loader name="mainurl" type="url"/>
+
+        <classpath type="jar" location="lib/product.jar"/>
+        <classpath type="dir" location="classes"/>
+
+        <entity-resource type="model" reader-name="main" loader="maincomponent" location="entity/entitymodel.xml"/>
+        <entity-resource type="group" reader-name="main" loader="maincomponent" location="entity/entitygroup.xml"/>
+        <entity-resource type="eca" reader-name="main" loader="maincomponent" location="entity/eecas.xml"/>
+
+        <service-resource type="model" loader="maincomponent" location="service/services_test.xml"/>
+        <service-resource type="group" loader="maincomponent" location="service/groups_test.xml"/>
+        <service-resource type="eca" loader="maincomponent" location="service/secas_test.xml"/>
+
+    	<webapp name="webtools" title="WebTools" server="default" location="webtools" mount-point="/webtools"/>
+    </ofbiz-component>
+-->

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

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

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

Added: ofbiz/site/dtds/ofbiz-containers.xsd
URL: http://svn.apache.org/viewvc/ofbiz/site/dtds/ofbiz-containers.xsd?view=auto&rev=491649
==============================================================================
--- ofbiz/site/dtds/ofbiz-containers.xsd (added)
+++ ofbiz/site/dtds/ofbiz-containers.xsd Mon Jan  1 13:56:13 2007
@@ -0,0 +1,83 @@
+<?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="ofbiz-containers">
+        <xs:complexType>
+            <xs:sequence>
+                <xs:element maxOccurs="unbounded" ref="container"/>
+            </xs:sequence>
+        </xs:complexType>
+    </xs:element>
+    <xs:element name="container">
+        <xs:complexType>
+            <xs:sequence>
+                <xs:element minOccurs="0" maxOccurs="unbounded" ref="property"/>
+            </xs:sequence>
+            <xs:attributeGroup ref="attlist.container"/>
+        </xs:complexType>
+    </xs:element>
+    <xs:attributeGroup name="attlist.container">
+        <xs:attribute type="xs:string" name="name" use="required"/>
+        <xs:attribute type="xs:string" name="class" use="required"/>
+    </xs:attributeGroup>
+    <xs:element name="property">
+        <xs:complexType>
+            <xs:sequence>
+                <xs:element minOccurs="0" maxOccurs="unbounded" ref="property"/>
+                <xs:element minOccurs="0" ref="property-value"/>
+            </xs:sequence>
+            <xs:attributeGroup ref="attlist.property"/>
+        </xs:complexType>
+    </xs:element>
+    <xs:attributeGroup name="attlist.property">
+        <xs:attribute type="xs:string" name="name" use="required"/>
+        <xs:attribute type="xs:string" name="value"/>
+    </xs:attributeGroup>
+    <xs:element name="property-value" type="any"/>
+    <xs:complexType name="any" mixed="true">
+        <xs:sequence>
+            <xs:any minOccurs="0" maxOccurs="unbounded" processContents="skip"/>
+        </xs:sequence>
+    </xs:complexType>
+</xs:schema>
+<!--
+    
+    Container properties are relative to the implementation class for details
+    of which properties are available see the docs on the class defined.
+    
+    Example:
+    
+    <ofbiz-containers>
+        <container name="jetty-container" class="org.ofbiz.base.container.JettyContainer">
+            <property name="default-listener">
+              <property name="type" value="default"/>
+              <property name="host" value="0.0.0.0"/>
+              <property name="port" value="8080"/>
+              <property name="min-threads" value="5"/>
+              <property name="max-threads" value="250"/>
+              <property name="max-idle-time" value="30000"/>
+              <property name="max-read-time" value="60000"/>
+            </property>
+        </container>
+        <container name="component-container" class="org.ofbiz.base.container.ComponentContainer">
+            <property name="entity" value="${ofbiz.home}/framework/entity/component.xml"/>
+            <property name="service" value="${ofbiz.home}/framework/service/component.xml"/>
+            <property name="party" value="${ofbiz.home}/applications/party/component.xml"/>
+        </container>
+    </ofbiz-containers>
+    
+-->



Mime
View raw message