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

Why can't I specify input and output document?

From: Dave Pawson <dave.pawson@gmail.com>
Date: Sun, 7 Dec 2008 11:53:59 +0000
Message-ID: <711a73df0812070353i357f14uadfb1d797358c822@mail.gmail.com>
To: xproc-dev <xproc-dev@w3.org>

pipe below fails in Calabash .9

<?xml version="1.0"?>
<p:declare-step xmlns:p="http://www.w3.org/ns/xproc">
 <p:input port="source" primary='true'>
   <p:document href="doc.xml"/>
 <p:output port='result'>
   <p:document href="op.xml"/>

I want to define a pipe with both input and output files specified by the pipe.

seems to specify both, I'm unsure why mine doesn't work?

Error  : file:/files/xproc/tests/pipe3.xpl:2: Unbound primary output
port on last step: #ANON.85
Error  : Pipeline failed: com.xmlcalabash.core.XProcException: Don't
know how to handle binding 3

Any suggestions where / why I'm wrong please?

Dave Pawson
Docbook FAQ.
Received on Sunday, 7 December 2008 11:54:34 UTC

This archive was generated by hypermail 2.3.1 : Tuesday, 6 January 2015 21:03:04 UTC