Re: Parameter binding

On 4/4/07, Henry S. Thompson <ht@inf.ed.ac.uk> wrote:
>
>
> -----BEGIN PGP SIGNED MESSAGE-----
> Hash: SHA1
>
> Is it obvious to everyone how this works?  Is it clear in the spec?
> (You can guess from the fact that I bother to write this that the
> answers for me are "no" and "not really").
>
> Consider the following pipeline:
>
>     <p:pipeline xmlns:my="http://www.example.com/mypipe">
>
>      <p:input port="stdin"/>
>      <p:parameter name="my:parm" value="true"/>
>      <p:output port="stdout"/>
>
>      <p:declare-step type="my:xmpl">
>       <p:input port="in"/>
>       <p:parameter name="my:parm" required="yes"/>
>       <p:output port="out"/>
>      </p:declare-step>
>
>      <p:xinclude/>
>
>      <my:xmpl/>



I believe you need an  p:import-parameter in the my:xmpl step invocation
above.


    </p:pipeline>
>
> Is this a valid pipeline or not?  Where do you look in the spec. to
> get the answer?


...so, no.  It isn't quite valid.



-- 
--Alex Milowski
"The excellence of grammar as a guide is proportional to the paucity of the
inflexions, i.e. to the degree of analysis effected by the language
considered."

Bertrand Russell in a footnote of Principles of Mathematics

Received on Wednesday, 4 April 2007 15:15:33 UTC