Author: ruwan
Date: Thu Oct 28 15:53:30 2010
New Revision: 1028357

URL: http://svn.apache.org/viewvc?rev=1028357&view=rev
Log:
fixing the task schema

Modified:
    synapse/trunk/java/repository/schema/task.xsd

Modified: synapse/trunk/java/repository/schema/task.xsd
URL: 
http://svn.apache.org/viewvc/synapse/trunk/java/repository/schema/task.xsd?rev=1028357&r1=1028356&r2=1028357&view=diff
==============================================================================
--- synapse/trunk/java/repository/schema/task.xsd (original)
+++ synapse/trunk/java/repository/schema/task.xsd Thu Oct 28 15:53:30 2010
@@ -22,6 +22,8 @@
            targetNamespace="http://synapse.apache.org/ns/2010/04/configuration";
            xmlns="http://synapse.apache.org/ns/2010/04/configuration";>
 
+    <xs:include schemaLocation="misc/common.xsd"/>
+
     <xs:element name="task" type="Task">
         <xs:annotation>
             <xs:documentation source="description">
@@ -32,8 +34,18 @@
 
     <xs:complexType name="Task">
         <xs:annotation>
-
+            <xs:documentation>Task description configuration 
element</xs:documentation>
         </xs:annotation>
+        <xs:sequence>
+            <xs:element name="property" type="mediatorProperty" minOccurs="0" 
maxOccurs="unbounded"/>
+            <xs:element name="trigger" minOccurs="1" maxOccurs="1">
+                <xs:complexType>
+                    <xs:attribute name="interval" type="xs:string" 
use="required"/>
+                </xs:complexType>
+            </xs:element>
+        </xs:sequence>
+        <xs:attribute name="class" type="xs:string" use="required"/>
+        <xs:attribute name="name" type="xs:string" use="required"/>
     </xs:complexType>
 
 </xs:schema>
\ No newline at end of file


Reply via email to