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.
Created attachment 120816 [details] Navigator with Html node I have a Html node in Navigator, when I'm in a PHP file. Even though there is no HTML tag. It shouldn't be there.
Reproducible in Product Version: NetBeans IDE Dev (Build 201211010001)
CSL gets a StructureItem for the HTML root from HTML embedding in PHP, the relevant Node in Html AST is ElementsFactory.VirtualOpenTag. Moving to HTML for evaluation. One possible solution is not to provide virtual html tags for embeddings; CSL is not able to distinguish between the virtual tag, and an real, but leaf html tag in PHP source.
Hm. Current html navigator is not CSL based. Maybe it is related to #221697
this is not html.navigator module issue
*** Bug 224976 has been marked as a duplicate of this bug. ***
fixed in web-main#05ffc3cc81db
Integrated into 'main-silver', will be available in build *201308222300* on http://bits.netbeans.org/dev/nightly/ (upload may still be in progress) Changeset: http://hg.netbeans.org/main-silver/rev/05ffc3cc81db User: Marek Fukala <mfukala@netbeans.org> Log: #214180 - Ambiguous Html node in Navigator