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 208093 - Cannot select an xml file as source for XSL transform if it has a custom xml filetype defined.
Summary: Cannot select an xml file as source for XSL transform if it has a custom xml...
Status: RESOLVED INVALID
Alias: None
Product: xml
Classification: Unclassified
Component: XSL (show other bugs)
Version: 7.1
Hardware: PC Linux
: P3 normal (vote)
Assignee: Svata Dedic
URL:
Keywords:
Depends on:
Blocks:
 
Reported: 2012-02-06 15:02 UTC by richard_l
Modified: 2012-02-09 17:09 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 richard_l 2012-02-06 15:02:52 UTC
If you select XSL Transformation ... from the popup menus, you are presented with a dialogue window to select input and output xml files.  If you try and select a source xml file which has a custom filetype defined for it, you receive an error message "Selected file: dataModelCreator.xml is not an XML file".

If I disable the plug-in module which contains the custom filetype definition then the selection is accepted and processing completes successfully.

During development, it is very useful to be able to test new XSL transforms using this ad-hoc method.  I see no reason why it should be disabled for source files which are valid XML files just because a custom filetype has been defined for them.

(see also 207842 for another enhancement request for XML custom filetypes)
Comment 1 richard_l 2012-02-09 17:09:01 UTC
Have found solution by addition transformSupport cookie (so cancelling this request and adding additional info to enhancement request 207842