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 184295

Summary: Let the user select an alternate file extensions when creating XML files
Product: xml Reporter: Petr Jiricka <pjiricka>
Component: CodeAssignee: issues@xml <issues>
Status: NEW ---    
Severity: normal CC: jglick, sdedic
Priority: P3    
Version: 6.x   
Hardware: All   
OS: All   
Issue Type: ENHANCEMENT Exception Reporter:
Bug Depends on: 141886    
Bug Blocks:    

Description Petr Jiricka 2010-04-15 15:42:31 UTC
Thanks to enhancement 141886, it is now easily possible to let the user change the file extension in the New File wizards. For XML, this would be particularly useful, as it is quite common to have XML files with other extension than .xml. 
So, the New XML File wizard should not always append the .xml extension. If the user provides their own extension in the file name textfield, it should be honored and the xml extension should not be appended.
Comment 1 Jesse Glick 2010-04-15 19:06:16 UTC
Agreed, this would be useful. In general, templates which could plausibly be useful with many different file extensions should do this.