Hi,
I have tons of JSP files marked with the same validation error. When I use the <c:if> tag INSIDE a Javascript block, and when there is a ! sign inside the tag, the validator marks two errors that say:
– Syntax error on token “<“, delete this token
– Syntax error on token “if”, delete this token
If I delete the ! sign, validation runs OK. ¿what can I do to solve this? I don’t want to supress or disable Javascript validation settings. Outside a Javascript block (i.e., in HTML) validation works as expected. All files marked with this errors runs fine in every application server I tried.
Example:
<c:if test=”${! myVar == myValue}”> [ERROR]
<c:if test=”${myVar == myValue}”> [OK]
Thanks