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

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

From: Norman Walsh <ndw@nwalsh.com>
Date: Sun, 28 Jun 2009 17:15:19 -0400
To: XProc Dev <xproc-dev@w3.org>
Message-ID: <m263egxdp4.fsf@nwalsh.com>
"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 GMT

This archive was generated by hypermail 2.2.0+W3C-0.50 : Sunday, 28 June 2009 21:16:03 GMT