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 190868 - jsp:scriptlet tag contents not parsed correctly
Summary: jsp:scriptlet tag contents not parsed correctly
Status: RESOLVED DUPLICATE of bug 193217
Alias: None
Product: javaee
Classification: Unclassified
Component: JSP (show other bugs)
Version: 6.x
Hardware: All All
: P3 normal (vote)
Assignee: issues@javaee
URL:
Keywords:
Depends on:
Blocks:
 
Reported: 2010-10-09 12:23 UTC by jesterfred
Modified: 2013-01-03 10:30 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 jesterfred 2010-10-09 12:23:35 UTC
Product Version = NetBeans IDE 6.9.1 (Build 201007282301)
Operating System = Linux version 2.6.32-25-generic running on amd64
Java; VM; Vendor = 1.6.0_20
Runtime = Java HotSpot(TM) 64-Bit Server VM 16.3-b01
Comment 1 jesterfred 2010-10-09 12:27:11 UTC
Create an XML jsp and insert a <jsp:scriptlet> tag.  Inside that tag use Java code that uses an ampersand.  Example:

<jsp:scriptlet>
if (bean1.valid() &amp;&amp; bean2.valid()) {
</jsp:scriptlet>
DO SOME STUFF
<jsp:scriptlet>}</jsp:scriptlet>

The editor shows the above as invalid.  It reports 'Cannot find symbol: amp'.  The editor is not properly handling XML entities.
Comment 2 Marek Fukala 2013-01-03 10:30:30 UTC

*** This bug has been marked as a duplicate of bug 193217 ***