You are viewing a plain text version of this content. The canonical link for it is here.
Posted to commits@ofbiz.apache.org by jl...@apache.org on 2008/05/25 13:40:18 UTC

svn commit: r659966 - /ofbiz/trunk/framework/minilang/dtd/simple-methods.xsd

Author: jleroux
Date: Sun May 25 04:40:18 2008
New Revision: 659966

URL: http://svn.apache.org/viewvc?rev=659966&view=rev
Log:
Some small enhancements

Modified:
    ofbiz/trunk/framework/minilang/dtd/simple-methods.xsd

Modified: ofbiz/trunk/framework/minilang/dtd/simple-methods.xsd
URL: http://svn.apache.org/viewvc/ofbiz/trunk/framework/minilang/dtd/simple-methods.xsd?rev=659966&r1=659965&r2=659966&view=diff
==============================================================================
--- ofbiz/trunk/framework/minilang/dtd/simple-methods.xsd (original)
+++ ofbiz/trunk/framework/minilang/dtd/simple-methods.xsd Sun May 25 04:40:18 2008
@@ -39,7 +39,7 @@
     <xs:element name="IfBasicOperations" abstract="true"/>
     <xs:element name="IfOtherOperations" abstract="true"/>
     <xs:element name="OtherOperations" abstract="true"/>
-    <xs:group name="AllOperations">
+    <xs:group name="AllOperations"> <!-- Any simple-method operation can be nested under an if-* tag. -->
         <xs:choice>
             <xs:element ref="CallOperations"/>
             <xs:element ref="EventOperations"/>
@@ -131,7 +131,9 @@
         <xs:attribute type="xs:string" name="type">
             <xs:annotation>
                 <xs:documentation>
-                    Type of the value put in the field. If this is a method call or object creation and the type in the method signature being called is for a parent class or interface, then it should be the type in that parent class or interface and not the type of the object being passed in. 
+                    Type of the value put in the field. 
+                    If this is a method call or object creation and the type in the method signature being called is for a parent class or interface, 
+                    then it should be the type in that parent class or interface and not the type of the object being passed in. 
                 </xs:documentation>
             </xs:annotation>
         </xs:attribute>
@@ -139,7 +141,7 @@
     <xs:element name="string">
         <xs:annotation>
             <xs:documentation>
-                String of type java.lang.String
+                String of type java.lang.String. Inserts the value of the inline string where specified.
             </xs:documentation>
         </xs:annotation>
         <xs:complexType mixed="true">
@@ -779,7 +781,7 @@
         <xs:attribute type="xs:string" name="result-name" use="required">
             <xs:annotation>
                 <xs:documentation>
-                    Name of the result. May be used for the session attribute name. If you don't specify a session-name ,
+                    Name of the result. May be used for the session attribute name. If you don't specify a session-name,
                     that's the name of the session attribute that will be created for the value of that result.                                        
                 </xs:documentation>
             </xs:annotation>
@@ -1660,7 +1662,7 @@
                 <xs:documentation>
                     arg-list-name is used to insert values from a list into
                     the string using the object in the standard Java library
-                    that does this sort of string expresison with a { } brackets
+                    that does this sort of string expression with a { } brackets
                     and a number, no dollar sign.
                     
                     This pattern of the arg-list-name with the prefix and
@@ -3595,8 +3597,7 @@
             </xs:documentation>
         </xs:annotation>        
         <xs:complexType>
-            <xs:group minOccurs="0" maxOccurs="unbounded" ref="AllOperations">
-            </xs:group>
+            <xs:group minOccurs="0" maxOccurs="unbounded" ref="AllOperations"/>            
             <xs:attributeGroup ref="attlist.iterate"/>
         </xs:complexType>
     </xs:element>
@@ -5137,7 +5138,8 @@
             <xs:documentation>
                 The Simple Map Processor Mini-Language performes two primary tasks: validation and conversion.  
                 It does this in a context of moving values from one Map to another. 
-                The input map will commonly contain Strings, but can contain other object types like Integer, Long, Float, Double, java.sql.Date, Time, and Timestamp.
+                The input map will commonly contain Strings, but can contain other object types like 
+                Integer, Long, Float, Double, java.sql.Date, Time, and Timestamp.
             </xs:documentation>
         </xs:annotation>
         <xs:complexType>