[jbpm-commits] JBoss JBPM SVN: r5413 - jbpm4/trunk/modules/api/src/main/resources.

do-not-reply at jboss.org do-not-reply at jboss.org
Fri Jul 31 11:29:15 EDT 2009


Author: kukeltje
Date: 2009-07-31 11:29:15 -0400 (Fri, 31 Jul 2009)
New Revision: 5413

Modified:
   jbpm4/trunk/modules/api/src/main/resources/jpdl-4.0.xsd
Log:
[JBPM-2455] Added template attribute to notification and reminder elements in xsd

Modified: jbpm4/trunk/modules/api/src/main/resources/jpdl-4.0.xsd
===================================================================
--- jbpm4/trunk/modules/api/src/main/resources/jpdl-4.0.xsd	2009-07-31 14:58:39 UTC (rev 5412)
+++ jbpm4/trunk/modules/api/src/main/resources/jpdl-4.0.xsd	2009-07-31 15:29:15 UTC (rev 5413)
@@ -376,6 +376,7 @@
             <element name="notification" minOccurs="0">
               <complexType>
                 <attribute name="continue" type="tns:continueType" default="sync" />
+                <attribute name="template" type="tns:templateType" use="optional" />
               </complexType>
             </element>
             <element name="reminder" minOccurs="0">
@@ -383,6 +384,7 @@
                 <attribute name="duedate" type="string" />
                 <attribute name="repeat" type="string" />
                 <attribute name="continue" type="tns:continueType" default="sync" />
+                <attribute name="template" type="tns:templateType" use="optional"/>
               </complexType>
             </element>
             <element ref="tns:timer" minOccurs="0" maxOccurs="unbounded"/>
@@ -1158,9 +1160,7 @@
         </complexType>
       </element>
     </sequence>
-    <attribute name="template" type="string">
-      <annotation><documentation>Reference to the email template</documentation></annotation>
-    </attribute>
+    <attribute name="template" type="tns:templateType" />
   </complexType>
   
   <complexType name="mailRecipientType">
@@ -1188,4 +1188,9 @@
     </restriction>
   </simpleType>
 
+
+  <simpleType name="templateType">
+    <annotation><documentation>Reference to the email template</documentation></annotation>
+    <restriction base="string"></restriction>
+  </simpleType>
 </schema>



More information about the jbpm-commits mailing list