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 enabled the feature implemented in issue #99526, did some hotfixes in LLSyntaxAnalyzer, but ${subject] is still valid :-|. The AST root of the jsp page now contains two separated AST root nodes: root +---S(text/html) +---S(text/x-jsp) both ASTs are processed, so their subnodes are correct. However if the JSP file contain embedded css or js split into multiple pieces, these pieces are still parsed separately. An example: <html> <style> h1 { color: ${"red"}; } </style> </html> => the S(text/html) node contains the style tag node, but then contains two text elements - before the EL and after the EL. Both these text elements contains CSS embedding, but the css ASTs are separate, so the second one is errorneous. It is possible that the problem is caused JUST by issue #87014, so once Mila fixes it the problem will disappear, however just from looking into the sources it seems to me that it won't work that easy. I can do the same "hack" as for HTML so a separate css/js AST will be created under the root node, but in such case at least navigator is broken.
Marek, can you try put following statement to JSP.nbs: IMPORT:php: { mimeType:"text/html"; start:( "" ); end:( "" ); continual:"true"; }
fixed in trunk: IDE:------------------------------------------------- IDE: [10/10/07 6:16 PM] Committing "src" started Checking in Language.java; /cvs/languages/engine/src/org/netbeans/modules/languages/Language.java,v <-- Language.java new revision: 1.53; previous revision: 1.52 done Checking in parser/LLSyntaxAnalyser.java; /cvs/languages/engine/src/org/netbeans/modules/languages/parser/LLSyntaxAnalyser.java,v <-- LLSyntaxAnalyser.java new revision: 1.47; previous revision: 1.46 done IDE: [10/10/07 6:16 PM] Committing "src" finished