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 - handling of non-html tags in jsp pages
Summary: handling of non-html tags in jsp pages
Status: RESOLVED DUPLICATE of bug 111546
Alias: None
Product: javaee
Classification: Unclassified
Component: JSP (show other bugs)
Version: 6.x
Hardware: All All
: P2 blocker (vote)
Assignee: Marek Fukala
URL:
Keywords:
Depends on:
Blocks:
 
Reported: 2007-09-19 19:37 UTC by stroudcuster
Modified: 2007-09-27 12:46 UTC (History)
0 users

See Also:
Issue Type: DEFECT
Exception Reporter:


Attachments
JSP page that generates incorrect errors (7.18 KB, text/html)
2007-09-19 19:38 UTC, stroudcuster
Details

Note You need to log in before you can comment on or make changes to this bug.
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 ***