- This topic has 9 replies, 5 voices, and was last updated 15 years, 4 months ago by monroe.
-
AuthorPosts
-
Russ CaldwellMemberI have a valid JSP page using EL syntax. But the EL Syntax validator flags it as a problem.
Here is an isolated example. It seems to be flaggin map access operators as exceptions.
<!DOCTYPE HTML PUBLIC "-//W3C//DTD HTML 4.01//EN" "http://www.w3.org/TR/html4/strict.dtd"> <html> <head> <title>My JSP 'MyJsp.jsp' starting page</title> </head> <body> This is my JSP page. <br> This should be some valid EL <br> This passes validation <br> ${'This is a string literal in EL'} <br> Here we extract the host property from the header. Jsp editor tells me this is an el syntax error but it's not. <br> ${header['host']} <br> Maybe it will work with double quotes <br> ${header["host"]} <br> Nope it doesn't <br> </body> </html>
*** Date: Fri Sep 01 11:35:11 EDT 2006 *** System properties: OS=mac os x OS version=10.4.7 Java version=1.5.0_06 *** MyEclipse details: MyEclipse Enterprise Workbench Version: 5.0 GA Build id: 20060805-5.0-GA *** Eclipse details: Eclipse SDK Version: 3.2.0 Build id: M20060629-1905 Eclipse Graphical Editing Framework Version: 3.2.0.v20060626 Build id: 20060627-0816 Eclipse Platform Version: 3.2.0.v20060609m-AgOexn6hlEUsvBO Build id: M20060629-1905 Eclipse RCP Version: 3.2.0.v20060609m-SVDNgVrNoh-MeGG Build id: M20060629-1905 Eclipse Java Development Tools Version: 3.2.0.v20060609m-F7snq1fxia-Z4XP Build id: M20060629-1905 Eclipse Plug-in Development Environment Version: 3.2.0.v20060609m------6zXJJzJzJq Build id: M20060629-1905 Eclipse Project SDK Version: 3.2.0.v20060609m-GNq6oQq-7es-Y81 Build id: M20060629-1905 Eclipse startup command=-os macosx -ws carbon -launcher /Applications/Development/eclipse_myeclipse/Eclipse.app/Contents/Resources/Splash.app/Contents/MacOS/eclipse -name Eclipse -showsplash 600 -exitdata 10000 -keyring /Users/rwells/.eclipse_keyring -consoleLog -showlocation -vm /usr/bin/java
Riyad KallaMemberThis looks like a bug, thank you for reportingi t.
delfuegoMemberThis message has not been recovered.
Riyad KallaMemberThis message has not been recovered.
delfuegoMemberThis message has not been recovered.
Riyad KallaMemberThis message has not been recovered.
jhpublicParticipantThis message has not been recovered.
Riyad KallaMemberThis message has not been recovered.
monroeMemberFWiW – This bug is still there in 7.0 (All-in-one / latest patches / WinXP).
I am seeing it with Taglib function. E.g. ${mytags:getURL( var1, “action=”something”, false)} shows a red X with the following notations:
EL Syntax Error
Undefined attribute name (action)
Undefined attribute name(false)
monroeMemberFWiW… This bug still in 7.5 with latest updates…
-
AuthorPosts