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 202788 - New File Type Wizard doesn't support new MIME type by XML Root Name
Summary: New File Type Wizard doesn't support new MIME type by XML Root Name
Status: RESOLVED DUPLICATE of bug 62176
Alias: None
Product: apisupport
Classification: Unclassified
Component: Templates (show other bugs)
Version: 7.0.1
Hardware: PC Windows XP
: P3 normal (vote)
Assignee: Jesse Glick
URL:
Keywords: USABILITY
Depends on:
Blocks:
 
Reported: 2011-09-28 16:55 UTC by jasondrums
Modified: 2011-11-10 20:43 UTC (History)
0 users

See Also:
Issue Type: ENHANCEMENT
Exception Reporter:


Attachments

Note You need to log in before you can comment on or make changes to this bug.
Description jasondrums 2011-09-28 16:55:10 UTC
When working with a Netbeans Module I was attempting to create a new file type DataObject that would recognize the file based on the XML root name. However, the wizard currently only supports recognition based on XML namespace. Thankfully, the DTD for the MIME resolver supports recognition based on name so a simple workaround is to modify the autogenerated resolver.xml file and change the following line:
<element ns="nameToFind"/>
as shown below:
<element name="nameToFind"/>
Comment 1 Jesse Glick 2011-11-10 20:43:55 UTC

*** This bug has been marked as a duplicate of bug 62176 ***