This Bugzilla instance is a read-only archive of historic NetBeans bug reports. To report a bug in NetBeans please follow the project's instructions for reporting issues.

Bug 242361 - jsp jstl escape sequence not able to identify
Summary: jsp jstl escape sequence not able to identify
Status: RESOLVED FIXED
Alias: None
Product: javaee
Classification: Unclassified
Component: JSP (show other bugs)
Version: 7.4
Hardware: All All
: P3 normal (vote)
Assignee: Martin Fousek
URL:
Keywords:
Depends on:
Blocks:
 
Reported: 2014-02-26 11:50 UTC by pradyutb
Modified: 2014-07-25 02:37 UTC (History)
0 users

See Also:
Issue Type: DEFECT
Exception Reporter:


Attachments
red line error in the editor (118.45 KB, image/png)
2014-02-26 11:50 UTC, pradyutb
Details

Note You need to log in before you can comment on or make changes to this bug.
Description pradyutb 2014-02-26 11:50:54 UTC
Created attachment 145596 [details]
red line error in the editor

Hi,

The escape sequence for the jstl ("\") is seen as a bug by the editor as in the screenshot.

For example this is shown as a error

          <c:when test="${uid == \"\"}">

This works fine in the server as expected as a empty string.

Thanks
Pradyut
Comment 1 Martin Fousek 2014-02-26 12:35:37 UTC
Probably EL issue.
Comment 2 Martin Fousek 2014-07-22 18:36:22 UTC
It's JSP lexer issue, but I'll try to resolve that since it can be annoying. BTW. as a workaround you can use single quotes:
<c:when test="${uid == ''}">
Comment 3 Martin Fousek 2014-07-23 06:04:17 UTC
Ok, it required ELLexer and JspLexer updates, but it looks to be working well now.

Fixed in web-main #129691ceb375.
Comment 4 Martin Fousek 2014-07-23 06:17:19 UTC
Sorry, final changeset is web-main #2878b258d5b4.
Comment 5 Quality Engineering 2014-07-25 02:37:25 UTC
Integrated into 'main-silver', will be available in build *201407250001* on http://bits.netbeans.org/dev/nightly/ (upload may still be in progress)

Changeset: http://hg.netbeans.org/main-silver/rev/2878b258d5b4
User: Martin Fousek <marfous@netbeans.org>
Log: #242361 - jsp jstl escape sequence not able to identify