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 26931 - Case-sensitive JSP command syntax highlighting
Summary: Case-sensitive JSP command syntax highlighting
Status: RESOLVED FIXED
Alias: None
Product: javaee
Classification: Unclassified
Component: Code (show other bugs)
Version: 3.x
Hardware: All All
: P4 blocker (vote)
Assignee: Petr Pisl
URL:
Keywords:
Depends on:
Blocks:
 
Reported: 2002-08-31 08:45 UTC by _ gtzabari
Modified: 2004-09-08 16:35 UTC (History)
0 users

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 _ gtzabari 2002-08-31 08:45:21 UTC
<jsp:setproperty .../> should not be highlighted
as a recognized JSP command since "setproperty"
(notice its all lowercase) is not a known function
whereas "setProperty" is.

More importantly, compiling a page containing
<jsp:setproperty .../> does not trigger an error,
but the code simply won't run. This "silent
failing" makes it very difficult to debug a page.
Comment 1 Petr Jiricka 2002-09-02 09:37:16 UTC
Gili,

I agree this is a bug. However, I think the best solution 
would be if the Tomcat JSP compiler detected this 
situation and reported an error.

Downgrading to P4, as this does not influence the 
functionality of the product, only makes a bit less fool-
proof.

Comment 2 zikmund 2004-09-08 16:35:45 UTC
Tomcat 5 JSP compiler throws 
'org.apache.jasper.JasperException: Invalid standard action'
on <jsp:setproperty .../>

Marking as fixed.