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 255887

Summary: While editing FXML and adding a <fx:include> tag, the editor keeps on adding a new xmlns:fx attribute to the root tag regardless of whether it has been already added before
Product: javafx Reporter: xinyingho
Component: EditorAssignee: Svata Dedic <sdedic>
Status: NEW ---    
Severity: normal    
Priority: P3    
Version: 8.1   
Hardware: PC   
OS: Windows 10   
Issue Type: DEFECT Exception Reporter:

Description xinyingho 2015-10-13 07:38:56 UTC
Product Version = NetBeans IDE 8.1 RC (Build 201510012201)
Operating System = Windows 10 version 10.0 running on amd64
Java; VM; Vendor = 1.8.0_60
Runtime = Java HotSpot(TM) 64-Bit Server VM 25.60-b23

Reproducibility: Happens every time

STEPS:
  * Create a new JavaFX project
  * Edit the FXML file with the XML editor
  * Add some fx:include, fx:reference or fx:copy tags to the XML code

ACTUAL:
  Each time I add a tag from the fx namespace, a new xmlns:fx attribute keeps on being added to the root tag

EXPECTED:
  The fx namespace should be added only whether it hasn't been added before to the root tag