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 258848 - Fix namespaces in XML files not working
Summary: Fix namespaces in XML files not working
Status: NEW
Alias: None
Product: xml
Classification: Unclassified
Component: Refactoring (show other bugs)
Version: 8.2
Hardware: PC Other
: P3 normal (vote)
Assignee: Svata Dedic
URL:
Keywords:
Depends on:
Blocks:
 
Reported: 2016-04-15 08:49 UTC by Christian Lenz
Modified: 2016-04-15 08:49 UTC (History)
0 users

See Also:
Issue Type: DEFECT
Exception Reporter:


Attachments

Note You need to log in before you can comment on or make changes to this bug.
Description Christian Lenz 2016-04-15 08:49:05 UTC
There is a feature in Java "fix imports" and a similar feature called "fix namespaces" in xhtml files. This feature doesn't work in plain xml files, I thought that this should be working there too. If this is not a defect, than change it to enhancement, if it's implemented but not working anymore, than it is broken and defect.

Anyway, I expect the same behaviour as in xhtml files. I write
<a:test></a:test> and I got an error and can fix namespaces, where they will add

xmlns:a="..." to the top of it. In this case, I have a .tpl.html file for GWT and this is the header:

<ui:UiBinder xmlns:ui="urn:com.google.gwt.uibinder"
xmlns:g="urn:import.com.google.gwt.user.client.ui">