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 100607 - jsp scriptlets brakes end tag error checking
Summary: jsp scriptlets brakes end tag error checking
Status: VERIFIED FIXED
Alias: None
Product: javaee
Classification: Unclassified
Component: JSP (show other bugs)
Version: 6.x
Hardware: All Linux
: P2 blocker (vote)
Assignee: Marek Fukala
URL:
Keywords:
Depends on: 99526
Blocks:
  Show dependency tree
 
Reported: 2007-04-11 13:09 UTC by Jindrich Sedek
Modified: 2007-05-10 08:53 UTC (History)
0 users

See Also:
Issue Type: DEFECT
Exception Reporter:


Attachments
snap shot (48.83 KB, image/png)
2007-04-11 13:14 UTC, Jindrich Sedek
Details

Note You need to log in before you can comment on or make changes to this bug.
Description Jindrich Sedek 2007-04-11 13:09:40 UTC
Create new jsp file
this code highlits end tag as unpaired:
=====================
<table>
<%-- comment 
--%>
</table>
===================
it works well for html comments:
=====================
<table>
<!-- comment 
-->
</table>
===================
Comment 1 Jindrich Sedek 2007-04-11 13:11:32 UTC
this seems to be valid not just for comments but for all jsp scriptlets
=====================
<table>
<%

%>
</table>
===================
Comment 2 Jindrich Sedek 2007-04-11 13:14:20 UTC
Created attachment 40743 [details]
snap shot
Comment 3 Marek Fukala 2007-04-11 13:39:04 UTC
This is known problem (to me), it is caused by schliemann parsing the embedded
pieces of documents separatelly, so then the start and end tags are marked as
unpaired. I'll will file an issue to Hanz and make this one dependending on it.
Just fyi, Hanze's bug will depend on another bug - Mila's issue #95569.
Comment 4 Marek Fukala 2007-04-11 13:55:25 UTC
Adding a dependency on issue #99526, which however depends on #95569 and #87014
Comment 5 Marek Fukala 2007-05-02 12:59:11 UTC
already fixed by workarounding issue #99526
Comment 6 Jindrich Sedek 2007-05-10 08:53:47 UTC
verified

NetBeans IDE Dev (Build 200705091800)
1.6.0_01; Java HotSpot(TM) Client VM 1.6.0_01-b06
Linux version 2.6.17-11-generic running on i386
en_US (nb); UTF-8