Re: Why can't I specify input and output document?

"Dave Pawson" <dave.pawson@gmail.com> writes:

> 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:input>
>  <p:output port='result'>
>    <p:document href="op.xml"/>
>  </p:output>
>  <p:identity/>
> </p:declare-step>
>
> I want to define a pipe with both input and output files specified by the pipe.
>
> http://www.w3.org/TR/xproc/#c.xslt
> 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?

See also http://code.google.com/p/xmlcalabash/issues/detail?id=9

                                        Be seeing you,
                                          norm

-- 
Norman Walsh <ndw@nwalsh.com> | It was that school of song writing, you
http://nwalsh.com/            | know, easy on the words in case they
                              | use them all up.--Dylan Moran

Received on Sunday, 7 December 2008 16:13:40 UTC