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 117802 - [60cat] JSP error highlighting is wrong with EL expressions
Summary: [60cat] JSP error highlighting is wrong with EL expressions
Status: VERIFIED FIXED
Alias: None
Product: javaee
Classification: Unclassified
Component: Code (show other bugs)
Version: 6.x
Hardware: Macintosh Mac OS X
: P2 blocker with 1 vote (vote)
Assignee: Marek Fukala
URL:
Keywords:
: 110180 117801 (view as bug list)
Depends on: 118748
Blocks:
  Show dependency tree
 
Reported: 2007-10-04 15:45 UTC by eriktamu
Modified: 2008-11-05 12:47 UTC (History)
1 user (show)

See Also:
Issue Type: DEFECT
Exception Reporter:


Attachments
JSP incorrect error highlighting (102.91 KB, image/png)
2007-10-04 15:47 UTC, eriktamu
Details

Note You need to log in before you can comment on or make changes to this bug.
Description eriktamu 2007-10-04 15:45:45 UTC
[ BUILD # : 200710040000 ]
[ JDK VERSION : 1.5.* ]

I'm seeing a situation in which correct EL expressions are being
incorrectly highlighted occasionally when editing a JSP.

I think it might be when semi-colons are used within double quotes. 
Perhaps the logic isn't correct when double quotes and semi-colons
are mixed.

An example:

<td class="field" style="border-left: 1px solid rgb(112,155,190);
${rowColor}; ${hilite}">

This line is being marked as an error with the help saying Syntax
Error.
Comment 1 eriktamu 2007-10-04 15:47:19 UTC
Created attachment 50195 [details]
JSP incorrect error highlighting
Comment 2 Marek Fukala 2007-10-08 15:40:53 UTC
*** Issue 117699 has been marked as a duplicate of this issue. ***
Comment 3 Marek Fukala 2007-10-08 15:42:05 UTC
*** Issue 117801 has been marked as a duplicate of this issue. ***
Comment 4 Marek Fukala 2007-10-12 19:31:41 UTC
*** Issue 110180 has been marked as a duplicate of this issue. ***
Comment 5 Marek Fukala 2007-10-20 14:10:08 UTC
fixed

Checking in JSP.java;
/cvs/web/jspsyntax/src/org/netbeans/modules/web/core/syntax/JSP.java,v  <--  JSP.java
new revision: 1.14; previous revision: 1.13
done
Checking in JavaScript.nbs;
/cvs/scripting/javascript/src/org/netbeans/modules/languages/javascript/JavaScript.nbs,v  <--  JavaScript.nbs
new revision: 1.50; previous revision: 1.49
done
Checking in HTML.nbs;
/cvs/html/editor/src/org/netbeans/modules/html/editor/resources/HTML.nbs,v  <--  HTML.nbs
new revision: 1.13; previous revision: 1.12
done
Checking in engine/src/org/netbeans/modules/languages/parser/LLSyntaxAnalyser.java;
/cvs/languages/engine/src/org/netbeans/modules/languages/parser/LLSyntaxAnalyser.java,v  <--  LLSyntaxAnalyser.java
new revision: 1.49; previous revision: 1.48
done
Checking in css/src/org/netbeans/modules/languages/css/CSS_inlined.nbs;
/cvs/languages/css/src/org/netbeans/modules/languages/css/CSS_inlined.nbs,v  <--  CSS_inlined.nbs
new revision: 1.4; previous revision: 1.3
done
Checking in css/src/org/netbeans/modules/languages/css/CSS.nbs;
/cvs/languages/css/src/org/netbeans/modules/languages/css/CSS.nbs,v  <--  CSS.nbs
new revision: 1.24; previous revision: 1.23
done
Comment 6 martin_zmrhal 2008-11-05 12:47:36 UTC
verified

Product Version: NetBeans IDE Dev (Build 200811050201)
Java: 1.6.0_10; Java HotSpot(TM) Client VM 11.0-b15
System: Linux version 2.6.27-7-generic running on i386; UTF-8; en_US (nb)