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 151506 - incorrect warning for missing JSP end tag
Summary: incorrect warning for missing JSP end tag
Status: RESOLVED WONTFIX
Alias: None
Product: javaee
Classification: Unclassified
Component: JSP Parser (show other bugs)
Version: 6.x
Hardware: Sun All
: P4 blocker (vote)
Assignee: Tomas Mysik
URL:
Keywords:
Depends on:
Blocks:
 
Reported: 2008-10-27 17:50 UTC by Jindrich Sedek
Modified: 2010-05-06 20:10 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 Jindrich Sedek 2008-10-27 17:50:05 UTC
use this code in index.jsp:
------------------
<%@ taglib uri="http://java.sun.com/jsp/jstl/core" prefix="c" %>
<%@page contentType="text/html" pageEncoding="UTF-8"%>
<!DOCTYPE HTML PUBLIC "-//W3C//DTD HTML 4.01 Transitional//EN"
"http://www.w3.org/TR/html4/loose.dtd">
<c:choose>
    <c:when>
</c:choose>
---------------------
last line is underlined and marked as unbalanced, but the problem is in previous tag and it should be marked as missing 
end tag
Comment 1 Marek Fukala 2008-11-19 11:51:26 UTC
jsp parser issue
Comment 2 Tomas Mysik 2008-12-09 17:17:07 UTC
Confirmed; no idea whether we are able to fix it (error msg comes directly from jasper).
Comment 3 Marek Fukala 2010-05-06 20:10:24 UTC
A jsp parser issue, I belive the same message is shown in the server response when the errorneous page is deployed.

In any case this is really a minor issue since the parser indicates a real problem.