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

Steps with non-connected outputs

From: Alessandro Vernet <avernet@orbeon.com>
Date: Wed, 11 Apr 2007 20:26:52 -0700
Message-ID: <4828ceec0704112026o2359ffeah3674f2681574329c@mail.gmail.com>
To: public-xml-processing-model-wg <public-xml-processing-model-wg@w3.org>

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?
2) If it is, should the query be sent to the database (yes, no,
implementation dependent)?

Alex
-- 
Orbeon Forms - Web 2.0 Forms for the Enterprise
http://www.orbeon.com/
Received on Thursday, 12 April 2007 03:26:55 GMT

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