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.
Summary: | XML file should be recognizable by root element | ||
---|---|---|---|
Product: | apisupport | Reporter: | Geertjan Wielenga <geertjan> |
Component: | Templates | Assignee: | Martin Kozeny <mkozeny> |
Status: | STARTED --- | ||
Severity: | blocker | CC: | jasondrums, jglick, jkovalsky, kitfox, remould |
Priority: | P3 | Keywords: | NETFIX |
Version: | 5.x | ||
Hardware: | All | ||
OS: | All | ||
Issue Type: | ENHANCEMENT | Exception Reporter: | |
Attachments: | patch1 |
Description
Geertjan Wielenga
2005-08-11 17:28:00 UTC
I think this one can also be set to WONTFIX. The help topic (once the help button is enabled...) will explain that if you want to distinguish a file type by root element, you should set the XML file's namespace here. It's still a valid RFE even if there is a documented workaround. :-) :-) Ok. In that case, I think what I'm proposing is that the panel should let the user specify the namespace or the XML root element, or both. *** Issue 64149 has been marked as a duplicate of this issue. *** Workaround is simply to go through the wizard and then edit the MIME resolver file to use some other criteria, acc. to its DTD and documentation, available here: http://www.netbeans.org/download/dev/javadoc/org-openide-filesystems/org/openide/filesystems/doc-files/HOWTO-MIME.html I think the workaround is fine. So I'm closing as WONTFIX. *** Bug 157819 has been marked as a duplicate of this bug. *** *** Bug 202788 has been marked as a duplicate of this bug. *** Still occasionally asked for. Would be a good candidate for NetFIX, I think - code is limited to one package and easy enough to test. OK, I added the keyword and put the issue to the pool: http://wiki.netbeans.org/NetFIXIssues I'd like to NetFIX [1] this bug. Is it possible? [1] http://wiki.netbeans.org/NetFIX Jesse, are you willing to review and integrate the patch? Sure! I'm struggling on finding the module I have to work on. Can someone tell me which module I should work on? Found another issue while fixing this. Reported a separate bug, see bug 206780 . Currently Im blocked by this issue. That was reported against 7.0.1. If you are preparing a patch you need to be working against trunk (7.2 dev) sources. Bug fixed. The patch is attached for review. Few test cases have also been added to cover the new feature addition. Created attachment 115914 [details]
patch1
Please don't resolve bug as fixed before the code is actually integrated into the codebase. Thanks. The patch does not apply against trunk sources (conflict in NewLoaderIterator.java). Probably you need to look at what has happened recently in bug #191777 and to a lesser extent in bug #207219. |