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 101861

Summary: Unpaired end tag in Page1/JSP view.
Product: javaee Reporter: _ hlu <hlu>
Component: JSPAssignee: Marek Fukala <mfukala>
Status: VERIFIED FIXED    
Severity: blocker CC: pjiricka, potingwu
Priority: P1    
Version: 6.x   
Hardware: PC   
OS: All   
Issue Type: DEFECT Exception Reporter:
Attachments: snapshot

Description _ hlu 2007-04-19 22:49:15 UTC
build 0419_1:

Steps:
1. Create a project(web+visual web)
2. click JSP tab for Page1.
3. there are a few line marked in red. If point to the red square, it says
Unpaired end tag.
Also tried to create a jsp page and it has similar marks.
Comment 1 _ hlu 2007-04-19 22:51:18 UTC
Created attachment 41294 [details]
snapshot
Comment 2 _ hlu 2007-04-19 22:53:10 UTC
see attached snapshot.
Comment 3 _ potingwu 2007-04-19 23:40:03 UTC
Sometimes close the project and reopen fix the problem. But this symptom may
come back.

I see this issue also in web project,
- create a web project
- add a JSP page in xml format
- replace contents by the following codes

<?xml version="1.0" encoding="UTF-8"?>
<jsp:root version="1.2" xmlns:f="http://java.sun.com/jsf/core"
xmlns:h="http://java.sun.com/jsf/html" xmlns:jsp="http://java.sun.com/JSP/Page"
xmlns:ui="http://www.sun.com/web/ui">
    <jsp:directive.page contentType="text/html;charset=UTF-8" pageEncoding="UTF-8"/>
    <f:view>
        <ui:page binding="#{Page1.page1}" id="page1">
        </ui:page>
    </f:view>
</jsp:root>
Comment 4 _ potingwu 2007-04-20 00:57:39 UTC
BTW, this symptom started around 04/17/2007.
Comment 5 Dan Kolar 2007-04-20 08:19:38 UTC

*** This issue has been marked as a duplicate of 99526 ***
Comment 6 Jan Jancura 2007-06-12 08:29:31 UTC
#99526 has been fixed, but it does not means that this issue is fixed too.
Marek, can you reevaluate it,please?
Comment 7 Marek Fukala 2007-06-18 14:31:26 UTC
fixed already by the workaround with creating an artificial AST from the html code pieces.
Comment 8 Jindrich Sedek 2007-11-08 15:45:06 UTC
verified.
NetBeans IDE 6.0 RC1 (Build 200711080000)