Versions Compared

Key

  • This line was added.
  • This line was removed.
  • Formatting was changed.
Comment: Change <call-simple-method> to final draft status

...

Section
Column
width20%
<call-simple-method>
Column
Invokes a Mini-language simple method.

Attributes

Name

Type

Requirements

Description

Notes

method-name

constant

required

The name

xml-resource

optional

The location of the <simple-method> file element

 

methodxml-nameresource

constant

optional

The name location of the <simple-method> element file

Defaults to current file

scope

constant

optional

The memory scope to use

Defaults to "inline"


Note
titleDraft Status

Final draft

Info
titleProposed Changes
  • Currently, the method-name attribute is optional. Require the method-name attribute.
  • Add a new attribute - memory-model ("inline"/"function") - that can control variable scoping in the called method. When set to "inline" the behavior is the same as now - variables declared in the called method are accessible to the calling method. When set to "function" variables declared in the called method are local to that method, and only variables stored in the method result will be returned to the calling method

    .


    Section
    Column
    width20%
    <script>
    Column
    Executes a script.

    Attributes

    location

    optional

    The location of the script file


    Info
    titleProposed Changes
    • Currently, the location attribute is optional. Require the location attribute.
    • Add a new attribute - script - that can be used for executing small scripts instead of requiring a file. Require the location or the script attribute.
    • Currently, the element behavior when used with Mini-language scripts is different than using the <call-simple-method> element. Make the behavior the same as the <call-simple-method> element.
    • Currently, Mini-language error messages/results are not updated from script error messages/results. Update Mini-language error messages/results from script error messages/results.

    ...