W3C home > Mailing lists > Public > xproc-dev@w3.org > June 2009

Bug in Calabash? The input port for p:parameters is (incorrectly) automatically binding to its prior step

From: Costello, Roger L. <costello@mitre.org>
Date: Sat, 27 Jun 2009 08:42:20 -0400
To: "xproc-dev@w3.org" <xproc-dev@w3.org>
Message-ID: <9E51F88D5247B648908850C35A3BBB500400458C22@IMCMBX3.MITRE.ORG>

Hi Folks,

The specification says that p:parameters has an input port, parameters, which is not primary. So, it shouldn't automatically connect to its prior step. Thus, this pipeline should fail, but it doesn't:

<p:declare-step xmlns:p="http://www.w3.org/ns/xproc"
                xmlns:c="http://www.w3.org/ns/xproc-step"
                name="myPipeline">
    
    <p:input port="parameters" kind="parameter">
        <p:inline>
                <c:param name="Title" value="First and Last Freedom" />
        </p:inline>
    </p:input>
    
    <p:output port="result" sequence="true">
        <p:pipe step="params" port="result" />
    </p:output>

    <p:parameters name="params" />

</p:declare-step>

Do you agree that it should fail?

/Roger
Received on Saturday, 27 June 2009 12:42:56 GMT

This archive was generated by hypermail 2.2.0+W3C-0.50 : Saturday, 27 June 2009 12:42:56 GMT