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 - 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
Summary: While editing FXML and adding a <fx:include> tag, the editor keeps on adding ...
Status: NEW
Alias: None
Product: javafx
Classification: Unclassified
Component: Editor (show other bugs)
Version: 8.1
Hardware: PC Windows 10
: P3 normal (vote)
Assignee: Svata Dedic
Depends on:
Reported: 2015-10-13 07:38 UTC by xinyingho
Modified: 2015-10-13 15:24 UTC (History)
0 users

See Also:
Issue Type: DEFECT
Exception Reporter:


Note You need to log in before you can comment on or make changes to this bug.
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

  * 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

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

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