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 119315 - JSP editor: wrong error and tag not closed highlighting
Summary: JSP editor: wrong error and tag not closed highlighting
Status: RESOLVED FIXED
Alias: None
Product: javaee
Classification: Unclassified
Component: JSP (show other bugs)
Version: 6.x
Hardware: All All
: P3 blocker with 1 vote (vote)
Assignee: Marek Fukala
URL:
Keywords:
Depends on:
Blocks:
 
Reported: 2007-10-18 09:22 UTC by giorgio42
Modified: 2008-09-03 09:07 UTC (History)
0 users

See Also:
Issue Type: DEFECT
Exception Reporter:


Attachments
Screenshot highlighting the problem (55.11 KB, image/png)
2007-10-18 09:23 UTC, giorgio42
Details
JSP sample demonstrating wrong error annotations (715 bytes, text/plain)
2007-10-19 16:27 UTC, giorgio42
Details
Sample JSP open in NB200710190000 (49.99 KB, image/png)
2007-10-19 16:29 UTC, giorgio42
Details

Note You need to log in before you can comment on or make changes to this bug.
Description giorgio42 2007-10-18 09:22:57 UTC
NP 200710170000, WinXPSP2, JDK 1.6.0_02-b05.

I am attaching a screenshot of a JSP fragment containing perfectly valid HTML/JSP/JSTL/CSS syntax, yet contains wrong
syntax error and tag not closed annotations.

Georg
Comment 1 giorgio42 2007-10-18 09:24:00 UTC
Created attachment 51193 [details]
Screenshot highlighting the problem
Comment 2 Marek Fukala 2007-10-18 13:01:27 UTC
could you please attach the file itself? thanks.
Comment 3 giorgio42 2007-10-19 11:16:54 UTC
I cannot attach the file, because it's my employer's code, not mine.

You can verify without me sending the JSP that in the snippet
<style type="text/css">
/* <![CDATA[ */
.foo {
}
/* ]]> */

the /* <![CDATA[ part in the second line is flagged as 2 syntax errors, which is wrong.

Georg
Comment 4 giorgio42 2007-10-19 16:27:56 UTC
Created attachment 51304 [details]
JSP sample demonstrating wrong error annotations
Comment 5 giorgio42 2007-10-19 16:29:06 UTC
Created attachment 51305 [details]
Sample JSP open in NB200710190000
Comment 6 giorgio42 2007-10-19 16:31:34 UTC
Hope that's complete enough now.

Georg
Comment 7 Marek Fukala 2007-10-20 13:41:15 UTC
Yes, the provided data are enought. Thank you!
Comment 8 Martin Schovanek 2008-02-15 09:24:04 UTC
*** Issue 127271 has been marked as a duplicate of this issue. ***
Comment 9 giorgio42 2008-02-15 22:36:50 UTC
I can see this error still in the latest NB 6.1 dailies.
Will it be fixed in the NB 6.1 time frame?

(The INCOMPLETE keyword should be removed I guess, according to the comment from 20.10.2007).

Thanks,
Georg
Comment 10 Marek Fukala 2008-02-25 17:25:10 UTC
relevant, the virtual source generator should be fixed to cover this case.
Comment 11 Jiri Prox 2008-04-11 01:16:26 UTC
moving opened issues from TM <= 6.1 to TM=Dev
Comment 12 Marek Fukala 2008-09-03 09:07:40 UTC
Seems to be already fixed, the attached sample file is displayed correctly.