p:file-copy (BaseX) 031 (AB)

Tests p:file-copy

Test basex-file-copy-031.xml is expected to fail with error code err:XD0011.

It requires the following features: basex-collector or p:file-copy.

The pipeline

<p:declare-step xmlns:err="http://www.w3.org/ns/xproc-error" xmlns:p="http://www.w3.org/ns/xproc" 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>

Revision history

24 Oct 2026, Norm Tovey-Walsh

Transformed mechanically from ab-file-copy-031.xml