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 101119 - unpaired tag errors when using EL or entity reference
Summary: unpaired tag errors when using EL or entity reference
Status: VERIFIED FIXED
Alias: None
Product: javaee
Classification: Unclassified
Component: JSP (show other bugs)
Version: 6.x
Hardware: All All
: P2 blocker (vote)
Assignee: Marek Fukala
URL:
Keywords:
: 104115 105435 (view as bug list)
Depends on: 87014
Blocks:
  Show dependency tree
 
Reported: 2007-04-16 11:03 UTC by Jan Horvath
Modified: 2008-09-17 14:10 UTC (History)
0 users

See Also:
Issue Type: DEFECT
Exception Reporter:


Attachments
screenshot (198.85 KB, image/png)
2007-04-16 11:08 UTC, Jan Horvath
Details

Note You need to log in before you can comment on or make changes to this bug.
Description Jan Horvath 2007-04-16 11:03:11 UTC
build 200704151800

-open JSP file where is used EL in HTML table
-ERROR: </tr> and </td> right after some EL expression are marked as "unpaired
end tag" (see attached screenshot)
Comment 1 Jan Horvath 2007-04-16 11:08:54 UTC
Created attachment 40946 [details]
screenshot
Comment 2 Marek Fukala 2007-04-16 13:10:38 UTC

*** This issue has been marked as a duplicate of 99526 ***
Comment 3 Petr Blaha 2007-04-19 22:52:58 UTC
*** Issue 101861 has been marked as a duplicate of this issue. ***
Comment 4 Petr Blaha 2007-04-19 22:53:22 UTC
*** Issue 101861 has been marked as a duplicate of this issue. ***
Comment 5 Jan Jancura 2007-06-12 08:31:10 UTC
#99526 has been fixed, but it does not mean that this issue is automatically
fixed too. Marek, can you reevaluate it,please?
Comment 6 Marek Fukala 2007-06-19 11:59:23 UTC
*** Issue 104115 has been marked as a duplicate of this issue. ***
Comment 7 Marek Fukala 2007-06-19 12:05:59 UTC
depends on issue #87014, once this one is fixed it should start working properly.
Comment 8 Marek Fukala 2007-06-19 12:34:13 UTC
*** Issue 105435 has been marked as a duplicate of this issue. ***
Comment 9 Marek Fukala 2007-06-19 13:35:54 UTC
*** Issue 107178 has been marked as a duplicate of this issue. ***
Comment 10 Marek Fukala 2007-06-19 13:36:43 UTC
The same problem happens when the html code contains entity reference e.g. &nbsp; &amp; etc.
Comment 11 Marek Fukala 2007-07-13 11:21:52 UTC
The problem with html tags being marked as unpaired when there is EL or entity reference inside has been fixed by
hacking the JSP AST evaluator which currently cuts all JSP like elements from the AST so the html features can work on
the AST peacefully. Please verify ASAP. Thanks.
Comment 12 polan 2008-06-19 12:35:52 UTC
Can't verify as fixed. Tag errors appear to have been repaired, however there is an issue with CC malfunctioning after 
EL.

Example: (| char represents cursor position)

   <h3>${1+1}</|

Invoked CC doesn't offer '<h3>' as it should (and does with <h3>foo</| )

Moreover, there were a lot of exceptions encountered during the verification however, see issue 137685 and issue 137687.

Reopening...
Comment 13 Marek Fukala 2008-06-19 13:38:21 UTC
the original issue is fixed, issue 137685 and issue 137687 are not related at all. Please do not reopen again. You may
file a new issue for the completion problem. Thanks.
Comment 14 josin 2008-09-17 14:10:42 UTC
Original issue verified.

Product Version: NetBeans IDE Dev (Build 200809170201)
Java: 1.6.0_10-beta; Java HotSpot(TM) Client VM 11.0-b11
System: Linux version 2.6.24-19-generic running on i386; UTF-8; en_US (nb