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

Re: Steps with non-connected outputs

From: Alex Milowski <alex@milowski.org>
Date: Thu, 12 Apr 2007 07:46:39 -0700
Message-ID: <28d56ece0704120746w258f9686tab2c7f3480f4660d@mail.gmail.com>
To: public-xml-processing-model-wg <public-xml-processing-model-wg@w3.org>
On 4/11/07, Alessandro Vernet <avernet@orbeon.com> wrote:
>
>
> Consider the following example, inspired by some code Norm sent earlier:
>
> <p:pipeline name="pipeline"
>         xmlns:p="http://www.w3.org/2007/03/xproc"
>         xmlns:ex="http://example.org/ns/xproc-extensions">
>
>     <p:declare-step type="ex:db-query">
>         <p:output port="result" sequence="no"/>
>         <p:parameter name="database" required="yes"/>
>         <p:parameter name="query" required="yes"/>
>     </p:declare-step>
>
>     <ex:db-query name="query">
>         <p:parameter name="database" value="mydb"/>
>         <p:parameter name="query" value="some query"/>
>     </ex:db-query>
>
> </p:pipeline>
>
> The ex:db-query component produces an output, but is not used in this
> pipeline. Questions:
>
> 1) Is this a valid pipeline?


Yes.

2) If it is, should the query be sent to the database (yes, no,
> implementation dependent)?



Yes.


-- 
--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 Thursday, 12 April 2007 14:46:47 GMT

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