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.
Product Version: NetBeans IDE 7.3 (Build 201302261559) Java: 1.6.0_33; Java HotSpot(TM) 64-Bit Server VM 20.8-b03 Runtime: Java(TM) SE Runtime Environment 1.6.0_33-b05 System: Windows 7 version 6.1 running on amd64; Cp1250; cs_CZ (nb) When you use a JSTL Core tag inside a script element the ending jstl tag will be marked with an error: Expected an operand but found < Steps to reproduce: 1. Create a new JSF page in NetBeans 7.3 (e.g. newjsf.xhtml). 2. Paste the following code as an example: <?xml version='1.0' encoding='UTF-8' ?> <!DOCTYPE html PUBLIC "-//W3C//DTD XHTML 1.0 Transitional//EN" "http://www.w3.org/TR/xhtml1/DTD/xhtml1-transitional.dtd"> <html xmlns="http://www.w3.org/1999/xhtml" xmlns:c="http://java.sun.com/jsp/jstl/core"> <head> <title>Facelet Title</title> <script type="text/javascript"> function showSpecifiedXefDocument(documentUrl){ window.open(documentUrl); } <c:forEach var="document" items="#{sb_contractSave.docList}"> showSpecifiedXefDocument('#{document.url}'); </c:forEach> </script> </head> <body> Hello from Facelets </body> </html> Expected outcome: Page will be validated with no errors. Actual outcome: Line 14 will be marked with an error: newjsf.xhtml:8:3 Expected an operand but found < </c:forEach> ^
Thanks for reporting. *** This bug has been marked as a duplicate of bug 226207 ***