p:file-copy (BaseX) 031 (AB)
Test is expected to fail with error code err:XD0011.
The pipeline
<p:declare-step xmlns:err="http://www.w3.org/ns/xproc-error"
xmlns:p="http://www.w3.org/ns/xproc"
xmlns:t="http://xproc.org/ns/testsuite/3.0" version="3.0">
<p:output port="result"/>
<p:file-copy href="basex://XProcUnitTestDB/testfolder/file2.txt"
target="basex://XProcUnitTestDB/testfolder/" fail-on-error="true"/>
</p:declare-step>Filesystem environment
| Directory | Perm | Filename | Last-modified | Size | Encoding | Contents (abbreviated) |
|---|
Revision history
- 24 Oct 2026, Norm Tovey-Walsh
Transformed mechanically from ab-file-copy-031.xml