W3C home > Mailing lists > Public > xproc-dev@w3.org > November 2008

p:exec

From: James Sulak <jsulak@gmail.com>
Date: Thu, 6 Nov 2008 16:44:15 -0600
Message-ID: <7cb78b3b0811061444n2880de78xdd8d4f28a1a391c4@mail.gmail.com>
To: xproc-dev <xproc-dev@w3.org>

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?

Thanks,

-James
Received on Friday, 7 November 2008 08:23:41 GMT

This archive was generated by hypermail 2.2.0+W3C-0.50 : Friday, 7 November 2008 08:23:41 GMT