Features: p:file-move

p:file-move 019 (AB)

Tests p:file-move

Test is expected to fail with error code err:XC0050.

The pipeline

<p:declare-step xmlns:c="http://www.w3.org/ns/xproc-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-move href="../testfolder/file.txt"
                target="../testfolder/target" fail-on-error="true"/>
</p:declare-step>

Filesystem environment

This configuration cannot be achieved on Windows.

DirectoryPermFilenameLast-modifiedSizeEncodingContents (abbreviated)
  .rwxfile.txt0
targetdr-x

Revision history

02 Aug 2022, Achim Berndzen
Initial commit