Author: jleroux
Date: Fri Nov 10 05:18:53 2006
New Revision: 473333

URL: http://svn.apache.org/viewvc?view=rev&rev=473333
Log:
Changes from a Scott Gray's patch : "Add a while-compare operation to minilang" 
(https://issues.apache.org/jira/browse/OFBIZ-444)

Modified:
    incubator/ofbiz/site/dtds/simple-methods.xsd

Modified: incubator/ofbiz/site/dtds/simple-methods.xsd
URL: 
http://svn.apache.org/viewvc/incubator/ofbiz/site/dtds/simple-methods.xsd?view=diff&rev=473333&r1=473332&r2=473333
==============================================================================
--- incubator/ofbiz/site/dtds/simple-methods.xsd (original)
+++ incubator/ofbiz/site/dtds/simple-methods.xsd Fri Nov 10 05:18:53 2006
@@ -1804,6 +1804,22 @@
     <xs:attributeGroup name="attlist.number">
         <xs:attribute type="xs:string" name="value" use="required"/>
     </xs:attributeGroup>
+    <xs:element name="while-compare" substitutionGroup="ControlOperations">
+        <xs:complexType>
+            <xs:sequence>
+                <xs:group minOccurs="0" maxOccurs="unbounded" 
ref="AllOperations"/>
+            </xs:sequence>
+            <xs:attributeGroup ref="attlist.while-compare"/>
+            <xs:attributeGroup ref="attlist.operatorRequired"/>
+            <xs:attributeGroup ref="attlist.typeDefaultString"/>
+        </xs:complexType>
+    </xs:element>
+    <xs:attributeGroup name="attlist.while-compare">
+        <xs:attribute type="xs:string" name="map-name"/>
+        <xs:attribute type="xs:string" name="field-name" use="required"/>
+        <xs:attribute type="xs:string" name="value" use="required"/>
+        <xs:attribute type="xs:string" name="format"/>
+    </xs:attributeGroup>                
     <!--
         ======================================================
         ========== The Simple Map Processor Section ==========


Reply via email to