Some Eclipse Foundation services are deprecated, or will be soon. Please ensure you've read this important communication.
Bug 206704 - Invalid "EL Syntax Error" warning flagged
Summary: Invalid "EL Syntax Error" warning flagged
Status: RESOLVED DUPLICATE of bug 136795
Alias: None
Product: WTP Source Editing
Classification: WebTools
Component: jst.jsp (show other bugs)
Version: 3.0   Edit
Hardware: PC Windows XP
: P3 normal (vote)
Target Milestone: ---   Edit
Assignee: Ian Tewksbury CLA
QA Contact: Nitin Dahyabhai CLA
URL:
Whiteboard:
Keywords: helpwanted
Depends on:
Blocks:
 
Reported: 2007-10-17 21:40 EDT by Rod Bollinger CLA
Modified: 2009-06-15 10:39 EDT (History)
1 user (show)

See Also:


Attachments

Note You need to log in before you can comment on or make changes to this bug.
Description Rod Bollinger CLA 2007-10-17 21:40:10 EDT
Build ID: I20070621-1340

Steps To Reproduce:
In code:
Map<String, String> props = new HashMap<String, String>();
props.put("books.list.title", "Books in Stock");
ctx.setAttribute("props", props); // ctx is the ServletContext

The following EL statement in a properly formatted JSP gets flagged as being "EL Syntax Error" - it is not. 

In JSP:
...
<h1>${props["books.list.title"]}</h1>
...


More information:
According to the JSP 2.0 EL specification, the key value string ("books.page.title") is valid and will resolve a value in the props map with that key. i.e. ${map["key"]} ==> "value"

Additionally, it works correctly and displays the proper output.

Eclipse 3.3.0 / WTP 2.0 / Tomcat 5.5.23 / JSP 2.0 / Servlet 2.4
Comment 1 Rod Bollinger CLA 2007-10-18 15:49:04 EDT
This bug appears to be related to the following previously reported variations:
#112527
#136795
#149392

Apparently this bug has been around for over two years. Is there any chance of getting it resolved anytime soon?
Comment 2 Nitin Dahyabhai CLA 2007-10-19 19:31:45 EDT
We don't have the resources or expertise to handle this right now and would greatly appreciate any assistance the community at large would be willing to offer.
Comment 3 Taro App CLA 2008-12-12 04:08:16 EST
Looks like this has been fixed in WTP 3.0.3. (See bug#136795)
Comment 4 Ian Tewksbury CLA 2009-06-15 10:39:04 EDT

*** This bug has been marked as a duplicate of bug 136795 ***