Oxygen 14.0 problem while writing a temporary tree

Having trouble installing Oxygen? Got a bug to report? Post it all here.
mlcook
Posts: 67
Joined: Thu Jan 24, 2008 4:52 pm

Oxygen 14.0 problem while writing a temporary tree

Post by mlcook »

Another question about transitioning from Oxygen 11.2 using Saxon-EE 9.2.0.6 to Oxygen 14.0 with Saxon-EE 9.4.0.3.

A transformation that used to work with 11.2, now gives this error with 14.0:

XSL file: C:\Users\<omitted>\transformations\test_doc_vital.xsl
Engine name: Saxon-EE 9.4.0.3
Severity: fatal
Description: Cannot execute xsl:result-document while writing a temporary tree


The xsl files are the same as before, but now it appears that there is a problem
creating an output file in the same directory hierarchy as the input .xml file.

The output file path may be 2 or 3 levels up from the input .xml file.

The result document (a Word document in XML format) is specified with
<xsl:result-document href="{$xml-file}">

where xml-file is a variable containing the whole path from C: on down, including the filename with file type extension, such as:
file:/C:/Users/<omitted>/../../mysource.xml

Any suggestions for why the output file was correctly created with Oxygen 11.2, but isn't with Oxygen 14.0?

Thanks, Mike
adrian
Posts: 2850
Joined: Tue May 17, 2005 4:01 pm

Re: Oxygen 14.0 problem while writing a temporary tree

Post by adrian »

Hi,

Unfortunately I can't tell what's causing that error. It's possible that the new version of Saxon (9.4) from Oxygen v14 has changed behavior and it no longer allows a trick that you've used in the past.

Could you send us the stylesheets for analysis?
If possible, please send them to: support AT oxygenxml DOT com.

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