JSP expression "syntax error" bug?
Hey guys.. I have a JSP based app that I'm editing in build 655 and for some reason the following code in my JSP is being marked as an error:
<%= foo.baz() %>
The editor is highlighting the space after the equals sign and giving a "Expression Expected" error. As you can see, the expression is foo.baz() but the syntax checker doesn't like that space. As far as I can tell from the Sun JSP docs, the space is fine and they use a space in their own examples. If I remove the space, like this:
<%=foo.baz() %>
then the syntax error goes away. Any idea why it would see that as an error? It's quite annoying having all of these errors highlighted in my JSP's and having to go through and check them all to make sure I don't REALLY have an error in my JSP.
-Del Simmons
del@freespeech.com
Please sign in to leave a comment.
Same here.
Probably you should report this bug:
http://www.intellij.net/tracker/idea/browse
Marius
Del Simmons wrote:
http://www.intellij.net/tracker/idea/viewSCR?publicId=5122
http://www.intellij.net/tracker/idea/viewSCR?publicId=5161
"Del Simmons" <del@freespeech.com> wrote in message
news:624007.1034012477903.JavaMail.jrun@is.intellij.net...
some reason the following code in my JSP is being marked as an error:
>
>
"Expression Expected" error. As you can see, the expression is foo.baz() but
the syntax checker doesn't like that space. As far as I can tell from the
Sun JSP docs, the space is fine and they use a space in their own examples.
If I remove the space, like this:
>
>
error? It's quite annoying having all of these errors highlighted in my
JSP's and having to go through and check them all to make sure I don't
REALLY have an error in my JSP.
>
You guys rock.. Sorry for the duplicate info..
-Del