Some Eclipse Foundation services are deprecated, or will be soon. Please ensure you've read this important communication.

Bug 319675

Summary: EL validation error for non-string values
Product: [WebTools] WTP Source Editing Reporter: Thomas Schöfbeck <Yin.Yang>
Component: jst.jspAssignee: jst.jsp <jst.jsp-inbox>
Status: CLOSED DUPLICATE QA Contact: Nitin Dahyabhai <thatnitind>
Severity: normal    
Priority: P3 CC: nsand.dev
Version: unspecified   
Target Milestone: ---   
Hardware: PC   
OS: Windows XP   
Whiteboard:

Description Thomas Schöfbeck CLA 2010-07-13 05:32:41 EDT
Build Identifier: 20100617-1415

3.2. suddenly shows errors like:
"Type mismatch: cannot convert from boolean to String" for code like
<c:if test="${(pageContext.response.locale != 'en')}">&nbsp;</c:if> or
<c:if test="${('en' eq 'en')}">&nbsp;</c:if>.

The confusing thing: the line-number shown in the error-message doesn't correspond to line with the code (e.g. the code line is 58, and the line stated is 73), and in the editor you can't see the error-marker.



Reproducible: Always

Steps to Reproduce:
1. Enter the above stated JSTL - code 
2. Start the validation (any way)
3. "Enjoy" the error
Comment 1 Nick Sandonato CLA 2010-07-13 09:41:52 EDT
Thank you for your report. This should be fixed in 3.2.1 through bug 317062.

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