Some Eclipse Foundation services are deprecated, or will be soon. Please ensure you've read this important communication.
Bug 367180 - [parser] EL syntax error when method expression is within parentheses
Summary: [parser] EL syntax error when method expression is within parentheses
Status: NEW
Alias: None
Product: WTP Source Editing
Classification: WebTools
Component: jst.jsp (show other bugs)
Version: unspecified   Edit
Hardware: PC Windows XP
: P3 normal with 2 votes (vote)
Target Milestone: ---   Edit
Assignee: jst.jsp CLA
QA Contact: Nick Sandonato CLA
URL:
Whiteboard:
Keywords:
Depends on:
Blocks:
 
Reported: 2011-12-20 07:58 EST by Michael Schierl CLA
Modified: 2014-07-17 06:08 EDT (History)
2 users (show)

See Also:


Attachments

Note You need to log in before you can comment on or make changes to this bug.
Description Michael Schierl CLA 2011-12-20 07:58:57 EST
Build Identifier: 3.7.1 M20110909-1335

As already reported at https://bugs.eclipse.org/bugs/show_bug.cgi?id=352491#c14 (but they told me they are not responsible):

  Eclipse Java EE Developer Tools    
3.3.1.v201107072200-7b7II1PFSK2WIlPwJBmNz-VWwVsTn

Method expressions within parentheses (because of more complex expressions
around them) do not work but create spurious EL Syntax errors.

This expression works (no EL Syntax Error):
<c:if test="${str.substring(1) eq str2.substring(1)}">

This expression does not:
<c:if test="${(str.substring(1) eq str2.substring(1))}">

Reproducible: Always

Steps to Reproduce:
1. Add a new JSP page to a JSP project with taglib support
2. Enter the code in the details
3. Observe validation errors