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

"Costello, Roger L." <costello@mitre.org> writes:
> 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?

Yes. That's also a bug.

                                        Be seeing you,
                                          norm

-- 
Norman Walsh <ndw@nwalsh.com> | Recurses! Called again!
http://nwalsh.com/            | 

Received on Sunday, 28 June 2009 21:16:02 UTC