| Summary: | Cannot use XSL tools to transform files which do not end in .xml | ||
|---|---|---|---|
| Product: | [WebTools] WTP Source Editing | Reporter: | Nick Boldt <nboldt> |
| Component: | wst.xsl | Assignee: | David Carver <d_a_carver> |
| Status: | RESOLVED WORKSFORME | QA Contact: | David Carver <d_a_carver> |
| Severity: | normal | ||
| Priority: | P3 | CC: | d_a_carver, thatnitind |
| Version: | unspecified | ||
| Target Milestone: | 3.2 M4 | ||
| Hardware: | PC | ||
| OS: | Linux | ||
| Whiteboard: | |||
| Bug Depends on: | |||
| Bug Blocks: | 265847 | ||
|
Description
Nick Boldt
Try with a version after 20090309, this should be fixed there, as it was addressed with bug 264788. We have a unit test that checks to make sure that one of the extensions that is returned is XMI. Prior version were not querying the extensions that were made available under the eclipse.core.runtime.xml Content-Type, or those extending them. http://build.eclipse.org/webtools/committers/xsl-R1.0-I/20090427041123/I-I20090427041123-20090427041123/ I just tried this, and here is how I was able to make it work: 1. Go into your Content Types and go to Text->XML, Add *.psf to the XML content type. 2. Hit OK to have it written out. 3. Restart Eclipse (yes, you need to restart). When eclipse restarts, you should be able to open the PSF files using the XML editor. You should also be able to click on an XSL file and also select the PSF file to run a transformation. PSF files do not contribute themselves to the XML Content type out of the box, so you have to do it manually. If they show up there they will work as expected. |