Variable Name
Variable name represents the name of the variable. It’s typically visible as the value of command’s var attribute.
CODE
<set var="variableName" value="variableValue">
Variable name has several restrictions.
A variable name can consist of capital letters A-Z, lowercase letters a-z digits 0-9. The first character must not be a digit. Blank spaces and special characters can’t be used in variable names.
CODE
Valid variable name: myVariable
Invalid variable name: my-variable
Variable name can’t be reserved keyword:
CODE
and, case, or, not, eq, ne, lt, gt, le, ge, true, false, null, instanceof, empty, div, mod