Re: Calabash problem - primary port(s)

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

> Still puzzling over ports.
>
> <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="res" primary='true'>
>     <p:pipe step='ident' port='result'/>
>     <p:document href="op.xml"/>
>   </p:output>
>   <p:identity name='ident'/>
>
> </p:declare-step>
>
> Running this through Calabash,
>
> Error  : Pipeline failed: err:XS0030: null  It is a static error to
> specify that more than one input port is the primary.
>
> I can only see one port marked as primary?

I bet that's a calabash bug. I bet it's not prepared for p:output to contain
both a p:pipe and a p:document. I think that probably ought to work though.

                                        Be seeing you,
                                          norm

-- 
Norman Walsh <ndw@nwalsh.com> | Before you criticize someone, walk a
http://nwalsh.com/            | mile in his shoes. That way, when you
                              | criticize him, you're a mile away and
                              | you have his shoes.

Received on Sunday, 7 December 2008 16:12:11 UTC