pxf:delete doesn't delete recursively #26

mkraetke opened this Issue Jan 25, 2012 · 1 comment


None yet
2 participants

It seems that there is an issue with the pxf:delete step from the exproc proposed extensions. The step worked for me only for directories without subfolders. Here is a my error message:

25.01.2012 18:08:34 com.xmlcalabash.util.DefaultXProcMessageListener error
SCHWERWIEGEND: base/testdel.xpl:16:69:Delete failed for: test1
25.01.2012 18:08:34 com.xmlcalabash.drivers.Main error
SCHWERWIEGEND: com.xmlcalabash.core.XProcException: Delete failed for: test1

My pipeline is as follows:

<?xml version="1.0" encoding="UTF-8"?>
    xmlns:c="http://www.w3.org/ns/xproc-step" version="1.0">

    <p:input port="source">
    <p:output port="result"/>

    <p:import href="install-lib.xpl"/>

    <pxf:mkdir href="test1/test2"/>

    <pxf:delete href="test1" recursive="true" fail-on-error="true"/>

        <p:input port="source">

Could anybody reproduce this issue?


This comment has been minimized.

Show comment
Hide comment

ndw Jan 28, 2012


Fixed for 1.0.2, I believe.


ndw commented Jan 28, 2012

Fixed for 1.0.2, I believe.

@ndw ndw closed this Jan 28, 2012

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment