Page 1 of 1

Locking transform inputfiles

Posted: Wed Mar 10, 2004 5:04 pm
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

Re: Locking transform inputfiles

Posted: Thu Mar 11, 2004 5:13 pm
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