Valid Names for Variables and Parameters
Variable and parameter names must follow these rules to be valid:
They cannot use the following reserved names:
fault faultcode faultexception faultmessage These reserved names are used for mashable invocation error handling.
Any
JavaScript, Java or XML reserved keyword. For example:
document is invalid as this is a reserved keyword in JavaScript.
xml is invalid because it is reserved in XML.
this is invalid because it is commonly used in both Java and JavaScript.
They can use these reserved names if they refer to
Presto attributes:
user session global or
system They can use the reserved name
httpResponse.header-name to define standard or custom HTTP headers for the mashup result. For custom HTTP headers,
header-name must begin with
x-.
They must start with an ASCII letter.
They can contain ASCII letters, numbers, dashes (-) or underscores (_). Do
not use any other symbols or punctuation.