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 157819 - Creating File Type in NB Module does not expose full QName
Summary: Creating File Type in NB Module does not expose full QName
Status: RESOLVED DUPLICATE of bug 62176
Alias: None
Product: apisupport
Classification: Unclassified
Component: Project (show other bugs)
Version: 6.x
Hardware: All All
: P3 blocker (vote)
Assignee: Jesse Glick
URL:
Keywords:
Depends on:
Blocks:
 
Reported: 2009-02-03 06:12 UTC by kitfox
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 kitfox 2009-02-03 06:12:45 UTC
When using the File Type wizard within a NB Module project, the first step provides the option of identifying your file
by an XML namespace.  It does not allow you to additionally choose the name of the root element in the document (that
is, you cannot specify a qualified name).  However, since NB does appear to accept fully qualified names in the MIME
resolver:

<!DOCTYPE MIME-resolver PUBLIC "-//NetBeans//DTD MIME Resolver 1.0//EN"
"http://www.netbeans.org/dtds/mime-resolver-1_0.dtd">
<MIME-resolver>
    <file>
        <ext name="xml"/>
        <resolver mime="text/ts+xml">
            <xml-rule>
                <element name="myRoot" ns="http://xml.kitfox.com/schema/tw/ts"/>
            </xml-rule>
        </resolver>
    </file>
</MIME-resolver>

It would be useful if the ability to specify a root element name could be exposed in the File Type wizard.
Comment 1 Jesse Glick 2011-11-10 20:43:49 UTC

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