Locking transform inputfiles

Having trouble installing Oxygen? Got a bug to report? Post it all here.
Jh

Locking transform inputfiles

Post by Jh »

Hi,

When using transformation scenario, the input files get blocked. I try to create a step process with a lot of XSLT sheets working like this:

input xml -> XSLT step1 -> output=input xml -> XSLT step 2 -> result xml

When this is configured, and I run step 1, the output file cannot be written because its locked by step2. (It should be possible to delete the middle xml file so that it has to be generated by step1, but when that file exists, its locked by step2 and thus not deletable)

I wood like the xml input/output files not to be locked until the file is actually read, and after the reading it should be unlocked directly.

Is there any reason why the files are locked?

Kind Regards,

Jan
sorin_ristache
Posts: 4141
Joined: Fri Mar 28, 2003 2:12 pm

Re: Locking transform inputfiles

Post by sorin_ristache »

Jh wrote: Is there any reason why the files are locked?
The files are not locked except that the operating system will lock the output file of the transformation while it is written. We can't reproduce the problem. Please let us know your <oXygen/> version, your oeprating system and your JRE version and send us sample files of the input for step 1 and the two stylesheets at support@oxygenxml.com.

Best regards,
Sorin
Post Reply