Re: Calabash problem - primary port(s)

problem here is your expectation of port binding to result port.

note also that there a few useful defaults in XProc with respect to
primary ports ... e.g. usually you can just leave it undefined unless
of course you have multiple input and output ports.

cheers, Jim Fuller

On Sun, Dec 7, 2008 at 2:36 PM, Dave Pawson <dave.pawson@gmail.com> wrote:
>
> 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?
>
>
>
>
> --
> Dave Pawson
> XSLT XSL-FO FAQ.
> Docbook FAQ.
> http://www.dpawson.co.uk
>
>

Received on Sunday, 7 December 2008 14:59:16 UTC