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

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? 


James Garriss

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 port="alternate">
        <p:document href="BookStoreDupe.xml"/>
    <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 port="alternate">
            <p:pipe step="main" port="alternate"/>
Received on Saturday, 13 September 2008 13:52:07 UTC

This archive was generated by hypermail 2.3.1 : Tuesday, 6 January 2015 21:03:03 UTC