p:exec

Hello all,

I am attempting to use <p:exec> to execute a python script that
accepts XML input from standard input and outputs XML to standard
output.  (I've verified that the script works on the command line.)
However, calabash hangs when encountering this step.  Here's my
syntax:

<p:exec command="python" args="accept_changes.py " />

I suspect it may be a problem with binding the ports, because when I
use the following:

<p:exec command="python" args="accept_changes.py -o out.xml" />

out.xml contains:

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

Am I approaching this correctly?  The <p:exec> instruction is the first in the pipeline, so it should be bound to the pipeline's source input port.

Thanks,

-James

Received on Friday, 7 November 2008 08:23:41 UTC