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 214180

Summary: Ambiguous Html node in Navigator
Product: web Reporter: Ondrej Brejla <obrejla>
Component: HTML EditorAssignee: Marek Fukala <mfukala>
Status: RESOLVED FIXED    
Severity: normal CC: JTBlum, mfukala, sdedic
Priority: P3 Keywords: REGRESSION
Version: 7.2   
Hardware: All   
OS: All   
Issue Type: DEFECT Exception Reporter:
Attachments: Navigator with Html node

Description Ondrej Brejla 2012-06-14 08:59:01 UTC
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.
Comment 1 Milutin Kristofic 2012-11-07 17:54:00 UTC
Reproducible in
Product Version: NetBeans IDE Dev (Build 201211010001)
Comment 2 Svata Dedic 2012-11-08 10:49:40 UTC
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.
Comment 3 Jan Becicka 2012-11-09 14:02:52 UTC
Hm. Current html navigator is not CSL based. Maybe it is related to #221697
Comment 4 Marek Fukala 2012-11-09 15:33:47 UTC
this is not html.navigator module issue
Comment 5 Milutin Kristofic 2013-02-06 14:22:21 UTC
*** Bug 224976 has been marked as a duplicate of this bug. ***
Comment 6 Marek Fukala 2013-08-22 12:30:13 UTC
fixed in web-main#05ffc3cc81db
Comment 7 Quality Engineering 2013-08-23 02:36:26 UTC
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