java - Function result-document() leaves file open -


i have simple question:

i have , xslt 2.0 transformation using saxon. part of tranformation information written file using xsl:result-document function.

after transformation completed, result file copied directory , should deleted, not successful.

my associates across atlantic respobnsible copy / delete mechanizm , convinced xslt transforamtion (that provide) leave result file open / locked can't deleted.

i 1 think somehow fail close file after copied.

that being said, raises obvious question me:

question:

is possible function creates file leaves open / locked after transformation? unable find relevant information on internet.

thanks lot!

i think saxon xslt transformation: how close outputstream when failing during transformation suggests file might not closed if dynamic error occurs during xslt transformation. there suggestion "you work around problem registering own outputuriresolver (perhaps based on standard one) keeps track of open output streams , has ability called directly application close them @ end." work around problem.


Comments

Popular posts from this blog

java - activate/deactivate sonar maven plugin by profile? -

python - TypeError: can only concatenate tuple (not "float") to tuple -

java - What is the difference between String. and String.this. ? -