MyEclipse: Javascript tag validation error sergiocg80 - Feb 08, 2012 - 06:07 PM Post subject: Javascript tag validation error
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.
Thankssergiocg80 - Feb 08, 2012 - 07:45 PM Post subject:
I forgot to say that I'm using myeclipse 10.0
I did workaround this issue by using the operators 'not' and 'ne' instead of the operators ! and !=. But that's just a trick, not a solution.support-swapna - Feb 09, 2012 - 06:02 AM Post subject:
sergiocg80 ,
Thank you for pointing it. I could replicate the issue with MyEclipse 10 at my end.
I have filed a PR for the dev team to work on it. Please use the "ne" and "not" which are also valid operators in JSTL for now.