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.
I have attached a JSP file which contains a small Java scriplet that generates XML from database content retrieved via JDBC. The JSP executes fine when run in the browser but still shows error messages in the editor.
Created attachment 103921 [details] JSP to highlight the issue
Created attachment 103922 [details] Image showing the bug
Created attachment 103923 [details] Image showing the bug
Created attachment 103924 [details] Image showing the bug
Created attachment 103925 [details] Image showing the bug
Created attachment 103927 [details] Image showing the bug
Reproducible. As the file is an jspx, the scriptlet content needs to escape the characters not allowed in xml text (<, &, ....). Hoever it seems that the "SimplifiedJSPServlet" does contain the scriptlet in the raw form so the java code contains the entity references. If I convert them manually in the source, then the java errors are gone, but naturally the jsp parser starts to complain about the unescaped chars.
*** Bug 190868 has been marked as a duplicate of this bug. ***
This old bug may not be relevant anymore. If you can still reproduce it in 8.2 development builds please reopen this issue. Thanks for your cooperation, NetBeans IDE 8.2 Release Boss