ESI syntax message

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

Error numberError textDescription
1000Line n ErrorA generic or unidentifiable error in an ESI statement.
1001Line n. Unrecognized ESI tag.An ESI opening statement is incorrect. For example,<esi:xyz...>
1002Line n. Unrecognized ESI attribute.An attribute, such as src in esi:include src , is misspelled or unrecognizable.
1003Line 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.
1004Line 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.
1005Line n. Illegal character in variable name.In the <esi:set> tag, the name must be composed of up to 256 alphanumeric characters and underscores.
1006Line n. Unknown variable type.The type specified in the <esi:set> was either not known or was misspelled. ESI accepts only type='string' .
1007Line n. Missing quotes for string constant.A generic or unidentifiable error in an ESI statement.
1008Line 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 .
1009Line 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.
1010Line 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.
1011Line 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.
1012Line n. Expecting a numerical value for attribute.A numeric value was expected but not found.
1013Line n. Invalid character in function name.An invalid character, such as a number or other special character, has been found in a function name.
1016Line 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.
1017Line 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.
1018Line n. Badly constructed <esi:param> tag.The correct form is <esi:param name="name" value="value"/> .
1019Line 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.
1020Line 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.
1021Line 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.
1022Line 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.
1023Line 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.
1024Line n. No rule matches syntax.An unidentified syntax error was found. Shows only if criteria to trigger codes 1001 - 1023 are not met.
1025Line 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.
1026Line 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.
1027Line n, An <esi:return> statement must be contained in an <esi:function>.You cannot place an <esi:return> statement outside an <esi:function> block.
1028Line 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.