cvc-complex-type.2.4.b: The content of element 'process-events' is not 
complete. One of 
'{"http://www.apache.org/ode/schemas/dd/2007/03":enable-event}' is expected.
--------------------------------------------------------------------------------------------------------------------------------------------------------------------

                 Key: ODE-747
                 URL: https://issues.apache.org/jira/browse/ODE-747
             Project: ODE
          Issue Type: Bug
          Components: Deployment
    Affects Versions: 2.0-beta3
            Reporter: Terry Mueller
            Priority: Minor


The following are legal syntax for deploy.xml:

        <process-events
            generate="all" />

        <process-events
            generate="none" />

Patch:

Index: src/main/xsd/dd.xsd
===================================================================
--- src/main/xsd/dd.xsd (revision 890643)
+++ src/main/xsd/dd.xsd (working copy)
@@ -245,7 +245,7 @@
         <xs:complexContent>
             <xs:extension base="dd:tEnableEventList">
                 <xs:sequence>
-                    <xs:element name="scope-events" minOccurs="1" 
maxOccurs="unbounded" type="dd:tScopeEvents"/>
+                    <xs:element name="scope-events" minOccurs="0" 
maxOccurs="unbounded" type="dd:tScopeEvents"/>
                 </xs:sequence>
                 <xs:attribute name="generate" use="optional">
                     <xs:simpleType>


-- 
This message is automatically generated by JIRA.
-
You can reply to this email to add a comment to the issue online.

Reply via email to