[ofbiz-framework] branch trunk updated: Improved: Improves service-eca.xsd documentation (OFBIZ-9994)

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

[ofbiz-framework] branch trunk updated: Improved: Improves service-eca.xsd documentation (OFBIZ-9994)

jleroux@apache.org
This is an automated email from the ASF dual-hosted git repository.

jleroux pushed a commit to branch trunk
in repository https://gitbox.apache.org/repos/asf/ofbiz-framework.git


The following commit(s) were added to refs/heads/trunk by this push:
     new a7121bf  Improved: Improves service-eca.xsd documentation  (OFBIZ-9994)
a7121bf is described below

commit a7121bff236da5aead648804934abd57c1e8ffb0
Author: Jacques Le Roux <[hidden email]>
AuthorDate: Sun Aug 30 18:56:52 2020 +0200

    Improved: Improves service-eca.xsd documentation  (OFBIZ-9994)
   
    Fixes some issues
---
 framework/service/dtd/service-eca.xsd | 27 ++++++++++++++-------------
 1 file changed, 14 insertions(+), 13 deletions(-)

diff --git a/framework/service/dtd/service-eca.xsd b/framework/service/dtd/service-eca.xsd
index ea94a23..cc2f058 100644
--- a/framework/service/dtd/service-eca.xsd
+++ b/framework/service/dtd/service-eca.xsd
@@ -19,15 +19,15 @@ under the License.
 -->
 <xs:schema xmlns:xs="http://www.w3.org/2001/XMLSchema" elementFormDefault="qualified">
 
-    <xs:element name="service-ECA">
+    <xs:element name="service-eca">
         <xs:complexType>
             <xs:sequence>
-                <xs:element minOccurs="0" maxOccurs="unbounded" ref="ECA"/>
+                <xs:element minOccurs="0" maxOccurs="unbounded" ref="eca"/>
             </xs:sequence>
         </xs:complexType>
     </xs:element>
     
-    <xs:element name="ECA">
+    <xs:element name="eca">
         <xs:complexType>
             <xs:sequence>
                 <xs:choice minOccurs="0" maxOccurs="unbounded">
@@ -40,11 +40,11 @@ under the License.
                     <xs:element ref="action"/>
                 </xs:choice>
             </xs:sequence>
-            <xs:attributeGroup ref="attlist.ECA"/>
+            <xs:attributeGroup ref="attlist.eca"/>
         </xs:complexType>
     </xs:element>
     
-    <xs:attributeGroup name="attlist.ECA">
+    <xs:attributeGroup name="attlist.eca">
         <xs:attribute type="xs:string" name="service" use="required" />
         <xs:attribute name="event" use="required">
             <xs:simpleType>
@@ -249,14 +249,15 @@ under the License.
     </xs:attributeGroup>
     <xs:element name="condition-service">
         <xs:complexType>
-            <xs:attributeGroup ref="attlist.condition-service" />
-            <xs:annotation>
-                <xs:documentation>
-                    Specify the name of a service.
-                    It will call that service and pass it the context.
-                    The service returns a boolean, that's the condition.
-                </xs:documentation>
-            </xs:annotation>
+            <xs:attributeGroup ref="attlist.condition-service">
+                <xs:annotation>
+                    <xs:documentation>
+                        Specify the name of a service.
+                        It will call that service and pass it the context.
+                        The service returns a boolean, that's the condition.
+                    </xs:documentation>
+                </xs:annotation>
+            </xs:attributeGroup>
         </xs:complexType>
     </xs:element>
     <xs:attributeGroup name="attlist.condition-service">