Project

Profile

Help

Bug #5577

closed

Expath file-to-file copy no longer creates a non-existent directory

Added by Johan Gheys almost 2 years ago. Updated almost 2 years ago.

Status:
Closed
Priority:
Normal
Assignee:
Category:
EXSLT extensions
Sprint/Milestone:
-
Start date:
2022-06-22
Due date:
% Done:

100%

Estimated time:
Legacy ID:
Applies to branch:
11, trunk
Fix Committed on Branch:
11, trunk
Fixed in Maintenance Release:
Platforms:

Description

When upgrading from Saxon-EE 10.8 to 11.3 we get an error message when using file:copy() to copy a source file to a target file in a non-existent directory:

Error at char 10 in expression in xsl:sequence/@select on line 22 column 62 of batch.xslt:
  file:io-error  java.nio.file.NoSuchFileException:
  C:\Data\MyProjects\upmb\upm-batch\src\test\resources\saxon\file-copy\input\test.txt ->
  C:\Data\MyProjects\upmb\upm-batch\src\test\resources\saxon\file-copy\output\new-test.txt.

Files

file-copy.zip (1.68 KB) file-copy.zip Johan Gheys, 2022-06-22 21:07

Please register to edit this issue

Also available in: Atom PDF