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

Re: Calabash problem - primary port(s)

From: Norman Walsh <ndw@nwalsh.com>
Date: Sun, 07 Dec 2008 11:11:30 -0500
To: XProc Dev <xproc-dev@w3.org>
Message-ID: <m2abb855jh.fsf@nwalsh.com>
"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 GMT

This archive was generated by hypermail 2.2.0+W3C-0.50 : Sunday, 7 December 2008 16:12:11 GMT