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 2015/04/15 15:45:44 UTC
svn commit: r1673764 -
/ofbiz/trunk/framework/minilang/dtd/simple-methods-v2.xsd
Author: jleroux
Date: Wed Apr 15 13:45:43 2015
New Revision: 1673764
URL: http://svn.apache.org/r1673764
Log:
Fixes a wrong assertion, <result-to-field can only be used with inline scope.
Minor " to " changes
Modified:
ofbiz/trunk/framework/minilang/dtd/simple-methods-v2.xsd
Modified: ofbiz/trunk/framework/minilang/dtd/simple-methods-v2.xsd
URL: http://svn.apache.org/viewvc/ofbiz/trunk/framework/minilang/dtd/simple-methods-v2.xsd?rev=1673764&r1=1673763&r2=1673764&view=diff
==============================================================================
--- ofbiz/trunk/framework/minilang/dtd/simple-methods-v2.xsd (original)
+++ ofbiz/trunk/framework/minilang/dtd/simple-methods-v2.xsd Wed Apr 15 13:45:43 2015
@@ -2741,8 +2741,7 @@ under the License.
<xs:element ref="result-to-field" minOccurs="0" maxOccurs="unbounded">
<xs:annotation>
<xs:documentation>
- Used when scope="function". Copies the called method fields
- to the calling method fields.
+ Used only when scope="inline". Copies the called method fields to the calling method fields.
</xs:documentation>
</xs:annotation>
</xs:element>
@@ -2770,8 +2769,8 @@ under the License.
<xs:attribute name="scope">
<xs:annotation>
<xs:documentation>
- The memory scope to use. In an "inline" memory scope, fields declared or modified in the called method
- will be reflected back to the calling method - as if the called method was inline. In a "function" memory
+ The memory scope to use. In an "inline" memory scope, fields declared or modified in the called method
+ will be reflected back to the calling method - as if the called method was inline. In a "function" memory
scope, fields declared or modified in the called method are local to the called method - they are not
reflected back to the calling method.