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 163052 - [67cat] [j2ee] Erroneous error highlighting in JSP page
Summary: [67cat] [j2ee] Erroneous error highlighting in JSP page
Status: RESOLVED INCOMPLETE
Alias: None
Product: javascript
Classification: Unclassified
Component: Editor (show other bugs)
Version: 6.x
Hardware: PC Windows XP
: P3 blocker (vote)
Assignee: Petr Pisl
URL:
Keywords:
Depends on:
Blocks:
 
Reported: 2009-04-19 21:12 UTC by giorgio42
Modified: 2010-05-17 07:54 UTC (History)
2 users (show)

See Also:
Issue Type: DEFECT
Exception Reporter:


Attachments
Screenshot of correct javascript section with erroneous error highlight (67.52 KB, image/png)
2009-04-19 21:18 UTC, giorgio42
Details

Note You need to log in before you can comment on or make changes to this bug.
Description giorgio42 2009-04-19 21:12:19 UTC
[ BUILD # : 090418 ]
[ JDK VERSION : 1.6.* ]


See screenshot.

The first error tag says "Missing ) after argument list", the second
one syntax error.

At the start of the page the the c and fmt tag libs are imported and
the message bundle is configured:
<%@page contentType="text/html"%>
<%@ page language="java" %>

<%@ taglib uri="http://java.sun.com/jsp/jstl/core" prefix="c" %>
<%@ taglib uri="http://java.sun.com/jsp/jstl/fmt" prefix="fmt" %>

<c:if test="${pmMessages== null}">
  <fmt:setLocale value="en" scope="session"/>
  <fmt:setBundle basename="com.foo.ui.resources.Messages"
var="pmMessages" scope="session"/>
</c:if>
Comment 1 giorgio42 2009-04-19 21:18:30 UTC
Created attachment 80459 [details]
Screenshot of correct javascript section with erroneous error highlight
Comment 2 Marek Fukala 2010-05-17 07:54:52 UTC
I cannot reproduce the issue w/o the whole file, the leading section of the file won't help me. Please attach the code visible in the snapshot and reopen the issue. Thanks.