W3C home > Mailing lists > Public > public-xml-processing-model-wg@w3.org > April 2007

Re: Parameter binding

From: Alex Milowski <alex@milowski.org>
Date: Wed, 4 Apr 2007 08:15:26 -0700
Message-ID: <28d56ece0704040815x22dd21e0rf2333393fbcecb7@mail.gmail.com>
To: public-xml-processing-model-wg <public-xml-processing-model-wg@w3.org>
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 GMT

This archive was generated by hypermail 2.2.0+W3C-0.50 : Tuesday, 8 January 2008 14:21:50 GMT