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 70017 - [50cat] Enable syntax highlighting inside jsp:expression
Summary: [50cat] Enable syntax highlighting inside jsp:expression
Status: VERIFIED DUPLICATE of bug 46000
Alias: None
Product: javaee
Classification: Unclassified
Component: Code (show other bugs)
Version: 5.x
Hardware: PC Windows XP
: P3 blocker (vote)
Assignee: issues@javaee
URL:
Keywords:
Depends on:
Blocks:
 
Reported: 2005-12-07 13:11 UTC by cezariusz
Modified: 2006-06-09 19:57 UTC (History)
0 users

See Also:
Issue Type: ENHANCEMENT
Exception Reporter:


Attachments

Note You need to log in before you can comment on or make changes to this bug.
Description cezariusz 2005-12-07 13:11:08 UTC
[ BUILD # : 200512051900 ]
[ JDK VERSION : 1.5.0_02 ]

JSP file:

<%=
((server == null) || server.equals("")) ?
"" : "value=" + server
%>

<jsp:expression>
((server == null) || server.equals("")) ?
"" : "value=" + server
</jsp:expression>

In the first case code has different background and java syntax highlighting enabled, in the second - doesn't.
Comment 1 cezariusz 2005-12-07 13:12:27 UTC
Note: according to 
http://java.sun.com/products/jsp/syntax/2.0/syntaxref205.html both cases are 
valid and equal.
Comment 2 Marek Fukala 2005-12-07 14:05:04 UTC
Thanks for the report, however already filled.

*** This issue has been marked as a duplicate of 46000 ***
Comment 3 cezariusz 2006-06-09 19:57:38 UTC
Verified