You are viewing a plain text version of this content. The canonical link for it is here.
Posted to commits@ofbiz.apache.org by jl...@apache.org on 2016/03/30 11:12:32 UTC

svn commit: r1737086 [1/2] - in /ofbiz/site/dtds: ofbiz-component.xsd service-eca.xsd simple-methods.xsd

Author: jleroux
Date: Wed Mar 30 09:12:32 2016
New Revision: 1737086

URL: http://svn.apache.org/viewvc?rev=1737086&view=rev
Log:
Updates DTDs, notably replace simple-methods.xsd by simple-methods-v2.xsd content because we will use only simple-methods.xsd in trunk from now on and no supported releases refer to simple-methods.xsd
I don't remove simple-methods-v2.xsd yet because it's still used by all supported branches but the trunk

Modified:
    ofbiz/site/dtds/ofbiz-component.xsd
    ofbiz/site/dtds/service-eca.xsd
    ofbiz/site/dtds/simple-methods.xsd

Modified: ofbiz/site/dtds/ofbiz-component.xsd
URL: http://svn.apache.org/viewvc/ofbiz/site/dtds/ofbiz-component.xsd?rev=1737086&r1=1737085&r2=1737086&view=diff
==============================================================================
--- ofbiz/site/dtds/ofbiz-component.xsd (original)
+++ ofbiz/site/dtds/ofbiz-component.xsd Wed Mar 30 09:12:32 2016
@@ -233,14 +233,6 @@ under the License.
                 </xs:restriction>
             </xs:simpleType>
         </xs:attribute>
-        <xs:attribute name="session-cookie-accepted" 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>

Modified: ofbiz/site/dtds/service-eca.xsd
URL: http://svn.apache.org/viewvc/ofbiz/site/dtds/service-eca.xsd?rev=1737086&r1=1737085&r2=1737086&view=diff
==============================================================================
--- ofbiz/site/dtds/service-eca.xsd (original)
+++ ofbiz/site/dtds/service-eca.xsd Wed Mar 30 09:12:32 2016
@@ -49,8 +49,8 @@ under the License.
                     <xs:enumeration value="global-commit"><xs:annotation><xs:documentation>Runs when the transaction the service is running in is successfully committed.</xs:documentation></xs:annotation></xs:enumeration>
                     <xs:enumeration value="global-commit-post-run"><xs:annotation><xs:documentation>Like global-commit, but gets its context post/after the run of the service and all non-global ECA rules.</xs:documentation></xs:annotation></xs:enumeration>
                     <xs:enumeration value="global-rollback"><xs:annotation><xs:documentation>Runs when the transaction the service is running in is rolled back.</xs:documentation></xs:annotation></xs:enumeration>
-                    <xs:enumeration value="auth"/>
-                    <xs:enumeration value="in-validate"/>
+                    <xs:enumeration value="auth"><xs:annotation><xs:documentation>Runs before the user is authenticated. Note that when the service to which the eca is associated is executed asynchronously this event occurs at least two times (at the time of the call and at the time of the execution). For this reason it is only safe to use this event to call services that don't change the status of any system.</xs:documentation></xs:annotation></xs:enumeration>
+                    <xs:enumeration value="in-validate"><xs:annotation><xs:documentation>Runs before the input parameters are validated. Note that when the service to which the eca is associated is executed asynchronously this event occurs at least two times (at the time of the call and at the time of the execution). For this reason it is only safe to use this event to call services that don't change the status of any system.</xs:documentation></xs:annotation></xs:enumeration>
                     <xs:enumeration value="out-validate"/>
                     <xs:enumeration value="invoke"/>
                     <xs:enumeration value="commit"/>