Valid Names for Variables and Parameters
Variable and parameter names must follow these rules to be valid:
![*](bullet.gif)
They cannot use the following reserved names:
fault
faultcode
faultexception
faultmessageThese reserved names are used for mashable invocation error handling.
![*](bullet.gif)
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.
![*](bullet.gif)
They can use these reserved names if they refer to
MashZone NextGen attributes:
user
session
global or
system![*](bullet.gif)
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-.
![*](bullet.gif)
They must start with an ASCII letter.
![*](bullet.gif)
They can contain ASCII letters, numbers, dashes (-) or underscores (_). Do
not use any other symbols or punctuation.