Re: Parameter input ports

On Wed, Apr 16, 2008 at 7:11 AM, Norman Walsh <ndw@nwalsh.com> wrote:
>  Yes. I think I could live with that, but what happens in the following
>  case:
>
>  <p:declare-step name="main" type="...">
>   <p:input port='source'/>
>   <p:input port='style'/>
>   <p:output port='result'/>
>
>   <p:xslt>
>     <p:input port='stylesheet'>
>       <p:pipe step="main" port="style"/>
>     </p:input>
>   </p:xslt>
>  </p:declare-step>
>
>  The p:xslt step has an unbound parameter input port. Is that an error,
>  or do we bind it to an empty document?

For consistency with document input ports, I would think this is an
error. Doesn't this look like a case of "pipeline containing a step
whose specified inputs, outputs, and options do not match the
signature for steps of that type" (static error err:XS0010)?

Alex
-- 
Orbeon Forms - Web 2.0 Forms, open-source, for the Enterprise
Orbeon's Blog: http://www.orbeon.com/blog/
Personal Blog: http://avernet.blogspot.com/

Received on Wednesday, 16 April 2008 18:48:39 UTC