Can't locate configuration of temporary _xslt file

Having trouble installing Oxygen? Got a bug to report? Post it all here.
oyvindlg
Posts: 5
Joined: Wed Oct 02, 2013 11:05 am

Can't locate configuration of temporary _xslt file

Post by oyvindlg »

I have a network folder with read only access.
So I get the following message.

Where in the configuration do I change the location of the _xslt file?

I tried googling and searching through the documentation/forum without any luck.

System ID: Y:\0\oyvind\make_legend.xsl
Scenario: Legend
XML file: Y:\0\All.xml
XSL file: Y:\0\oyvind\make_legend.xsl
Engine name: Saxon-EE 9.5.0.2
Severity: fatal
Description: Failure writing to file:/Y:/0/All.xml_xslt: Y:\0\All.xml_xslt (Access is denied)
Start location: 17:0
oyvindlg
Posts: 5
Joined: Wed Oct 02, 2013 11:05 am

Re: Can't locate configuration of temporary _xslt file

Post by oyvindlg »

I found it at Settings -> XML -> XSLT-FO-XQUERY -> "Create Transformation temporary files in system temporary directory" Checkbox
adrian
Posts: 2879
Joined: Tue May 17, 2005 4:01 pm

Re: Can't locate configuration of temporary _xslt file

Post by adrian »

Hi,

Unfortunately you can't change the location of the temporary _xslt file, it's created in the parent directory of the current edited file. From what I've tested setting the output file doesn't help with this either. I've logged an issue to use the directory of the output file when specified.

Possible workarounds:
1. Configure the transformation scenario with clearly specified values for the XML URL and XSL URL fields (replace the ${currentFileURL} with the appropriate XML/XSL file URL). Open an XML or XSL file (depending on the type of the scenario you've configured) from a directory where you have write access and run the transformation from the Configure Transformation Scenario(s) dialog or the Transformation Scenarios view.

or

2. Copy the files locally to a folder with write access and run the transformation on the copied files.

Regards,
Adrian
Adrian Buza
<oXygen/> XML Editor, Schema Editor and XSLT Editor/Debugger
http://www.oxygenxml.com
adrian
Posts: 2879
Joined: Tue May 17, 2005 4:01 pm

Re: Can't locate configuration of temporary _xslt file

Post by adrian »

oyvindlg wrote:I found it at Settings -> XML -> XSLT-FO-XQUERY -> "Create Transformation temporary files in system temporary directory" Checkbox
You are right, that option forces the _xslt temporary files to be created in the system TEMP folder.

Regards,
Adrian
Adrian Buza
<oXygen/> XML Editor, Schema Editor and XSLT Editor/Debugger
http://www.oxygenxml.com
Post Reply