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

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 UTC