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

Re: Use Case 5.27: Integrate Computation Components (MathML)

From: Alessandro Vernet <avernet@orbeon.com>
Date: Wed, 12 Jul 2006 17:17:52 -0700
Message-ID: <4828ceec0607121717v30a618b1j4b1e7113e12bf33@mail.gmail.com>
To: public-xml-processing-model-wg <public-xml-processing-model-wg@w3.org>

On 7/10/06, Alex Milowski <alex@milowski.org> wrote:
> Here is a version without the use of the pipe element.


I like most of what I see in your syntax. One thing related to the
name of the outputs gets me confused though:

My assumption is each component declares what input(s) it expects and
what output(s) it generates. The component also assigns a name to each
input/output. So when we use a component in a step, I expect to see in
the <p:input> and <p:output> the names declared by the component.

If we have a component p:xslt that has 2 inputs (input and stylesheet)
and 1 output (transformed), I expect that a step using this component
would look like:

<p:step kind="p:xslt">
    <p:input name="input" from="decomposition-computed"/>
    <p:input name="stylesheet">in-line stylesheet</p:input>
    <p:output name="transformed" label="gap-formulate-request"/>

Instead in your code I see:

<p:step kind="p:xslt">
    <p:input name="input" from="decomposition-computed"/>
    <p:input name="stylesheet">in-line stylesheet</p:input>
    <p:output name="gap-formulate-request"/>

This seems to indicate that the pipeline author uses the "name"
attribute on <p:output> to give a label or ID to that output. This
label/ID in the name="..." attribute can be later referenced with
from="...". If my understanding is correct, I have 2 questions:

1) How do we deal with components that have multiple outputs?
2) In a step, the names are defined by the component and but the
output names are chosen by the pipeline author. Doesn't this create an


Blog (XML, Web apps, Open Source):
Received on Thursday, 13 July 2006 00:18:17 UTC

This archive was generated by hypermail 2.3.1 : Tuesday, 6 January 2015 21:32:40 UTC