ESI syntax messages

This table gives details about the error code you have found in the report.

Error number Error text Description
1000 Line n Error A generic or unidentifiable error in an ESI statement.
1001 Line n. Unrecognized ESI tag. An ESI opening statement is incorrect. For example, <esi:xyz...>.
1002 Line n. Unrecognized ESI attribute. An attribute, such as src in esi:include src, is misspelled or unrecognizable.
1003 Line n. Unrecognized ESI closing tag. The closing statement is not recognized. For example, you used <esi:remove> to open a block, and </esi:rem> to close it.
1004 Line n. Badly constructed include tag. For example, the line <esi:include somefile.htm/> is incorrect because the include statement must contain the src prefix for the primary object to be fetched.
1005 Line n. Illegal character in variable name. In the <esi:set> tag, the name must be composed of up to 256 alphanumeric characters and underscores.
1006 Line n. Unknown variable type. The type specified in the <esi:set> was either not known or was misspelled. ESI accepts only type=’string’.
1007 Line n. Missing quotes for string constant. In the short form of the <esi:set> statement, the string set in the value attribute must be surrounded by quotes.
1008 Line n. More then one name attribute in a <esi:set> or <esi:assign> tag. The <esi:set> or <esi:assign> tag accepts only one name.
1009 Line n. More then one type attribute in a <esi:set> or <esi:assign> tag. The <esi:set> or <esi:assign> tag accepts only one type.
1010 Line n. More then one value attribute in a <esi:set> or <esi:assign> tag. The <esi:set> or <esi:assign> tag accepts only one value.
1011 Line n. One or more attributes are missing for the <esi:set> or <esi:assign> tag. The <esi:set> or <esi:assign> tag must be followed by a value.
1012 Line n. Expecting a numerical value for attribute. A numeric value was expected but not found.
1013 Line n. Invalid character in function name. An invalid character, such as a number or other special character, has been found in a function name.
1016 Line n, More than one name attribute in a <esi:param> tag. Each <esi:param> tag in an esi:include statement can include only one name.
1017 Line n, More than one value attribute in a <esi:param> tag. Each <esi:param> tag in an esi:include statement can include only one value.
1018 Line n. Badly constructed <esi:param> tag. The correct form is <esi:param name="name" value="value"/>.
1019 Line n. One or more attributes are missing for the <esi:param> tag. Each <esi:param> tag in an esi:include statement must include a name and a value.
1020 Line n. A specified attribute must have a value. Attributes must be assigned values. For example, you cannot have a ttl alone, it must be ttl=t, where t is a time value.
1021 Line n. More then one item attribute in a <esi:foreach> tag. In the esi:foreach statement, which begins, <esi:foreach item="My_Item" ... there can only be one item defined.
1022 Line n. More than one collection attribute in a <esi:foreach> tag. In the statement <esi:foreach, item="My_Item" collection="[sequence]">, there can be only one collection attribute.
1023 Line n. Badly constructed foreach tag. Collection attribute required. You cannot formulate an esi:foreach statement without specifying the collection the iteration is to work on.
1024 Line n. No rule matches syntax. An unidentified syntax error was found. Shows only if criteria to trigger codes 1001–1023 are not met.
1025 Line n, An <esi:function> definition cannot be nested inside another <esi:function> definition. User-defined functions cannot include other user-defined functions as part of the definition.
1026 Line n, An <esi:eval> statement cannot be nested inside an <esi:function> definition. You cannot place an <esi:eval> statement inside an <esi:function> block.
1027 Line n, An <esi:return> statement must be contained in an <esi:function>. You cannot place an <esi:return> statement outside an <esi:function> block.
1028 Line n, An <esi:break> statement must be contained in a loop. The <esi:break> statement can be placed only inside an iteration loop, the <esi:foreach> block.