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 31409 - Incorrect error highlighting
Summary: Incorrect error highlighting
Status: RESOLVED FIXED
Alias: None
Product: javaee
Classification: Unclassified
Component: JSP (show other bugs)
Version: 3.x
Hardware: PC Other
: P4 blocker (vote)
Assignee: Petr Pisl
URL:
Keywords:
Depends on:
Blocks:
 
Reported: 2003-02-24 15:59 UTC by bobtarling
Modified: 2004-09-08 19:13 UTC (History)
1 user (show)

See Also:
Issue Type: DEFECT
Exception Reporter:


Attachments

Note You need to log in before you can comment on or make changes to this bug.
Description bobtarling 2003-02-24 15:59:02 UTC
We change colour of field labels if they have been entered 
with invalid data.

To do this we have a class called true and a class called 
flase setting the correct styles for us.

Code such as this then renders the label

<td class=<%=releaseDateError%>>Release Date</td>

The JSP editor then highlights the second close tag (just 
vefore "Release Date") as an error.
Comment 1 _ rkubacki 2003-02-25 15:41:01 UTC
Looks like bug in our tokenizer.

Simple workaround seems to quote attribute value. I guess this didn't
qualify as P3.
Comment 2 zikmund 2004-09-08 19:13:57 UTC
It works fine in 4.0.
Marking as fixed.