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 116059

Summary: handling of non-html tags in jsp pages
Product: javaee Reporter: stroudcuster <stroudcuster>
Component: JSPAssignee: Marek Fukala <mfukala>
Status: RESOLVED DUPLICATE    
Severity: blocker    
Priority: P2    
Version: 6.x   
Hardware: All   
OS: All   
Issue Type: DEFECT Exception Reporter:
Attachments: JSP page that generates incorrect errors

Description stroudcuster 2007-09-19 19:37:34 UTC
The inclusion of non-html tags (including standard jsp tag) in a jsp page generates various error messages, including
syntax and unfinished tag errors. In the attached jsp page, lines 13 and 14 (dateRange1 = ... and dateRange2 = ..) are
flagged as syntax errors, and the form tag in line 29 is flagged as an unfinished tag.
Comment 1 stroudcuster 2007-09-19 19:38:44 UTC
Created attachment 49105 [details]
JSP page that generates incorrect errors
Comment 2 Marek Fukala 2007-09-27 12:46:48 UTC
I see two errors in the JSP:
1) line #29:  <form id="reportGenerationForm" style="margin-left=2.0in"> CSS2 AFAIK doesn't allow '=' between the rule
key and value. Colon should be used here.

2) line #13,14:   dateRange1 = document.getElementById('<c:out value="${formBean.DATE_RANGE1_FIELD_NAME}"/>');
The second error is duplicate of issue #111546.

*** This issue has been marked as a duplicate of 111546 ***