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

The |result port for p:compare?

From: James Garriss <james@garriss.org>
Date: Sat, 13 Sep 2008 09:51:22 -0400
To: <xproc-dev@w3.org>
Message-ID: <C4F13D9A.769%james@garriss.org>
using:  Calabash 0.6.0

When I use a pipeline with a p:compare step, Calabash gives this error:
Input |result unbound on pipeline step named main and no default binding
available.

I can make the error go away by inserting this:

<p:input port="|result"/>

But when I look at the spec
(http://www.w3.org/TR/2008/WD-xproc-20080814/#c.compare), I donšt see this
port mentioned.

What am I missing? 

TIA

James Garriss
http://garriss.blogspot.com



PS Herešs my pipeline:

<p:declare-step xmlns:p="http://www.w3.org/ns/xproc" name="main">
    <p:input port="source" primary="true">
        <p:document href="Bookstore.xml"/>
    </p:input>
    <p:input port="alternate">
        <p:document href="BookStoreDupe.xml"/>
    </p:input>
    <p:input port="|result"/>
    <p:output port="result"/>
    <p:compare fail-if-not-equal="true">
        <p:input port="source">
            <p:pipe step="main" port="source"/>
        </p:input>
        <p:input port="alternate">
            <p:pipe step="main" port="alternate"/>
        </p:input>
    </p:compare>
</p:declare-step>
Received on Saturday, 13 September 2008 13:52:07 GMT

This archive was generated by hypermail 2.2.0+W3C-0.50 : Saturday, 13 September 2008 13:52:08 GMT