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

Re: p:input in viewport

From: Alex Milowski <alex@milowski.org>
Date: Thu, 1 Feb 2007 09:57:17 -0800
Message-ID: <28d56ece0702010957p2469960al5b7391072717cc56@mail.gmail.com>
To: public-xml-processing-model-wg@w3.org
On 2/1/07, Norman Walsh <Norman.Walsh@sun.com> wrote:
>
> / Alex Milowski <alex@milowski.org> was heard to say:
> | In 2.2 Inputs and Outputs we say:
> |
> | "Each component declares its input and output ports. [Definition: The
> input
> | ports declared on a component are its *declared inputs*.] [Definition:
> The
> | output ports declared on a component are its *declared outputs*.]"
> |
> | In 4.2.8 we say:
> |
> |  "The p:viewport component has exactly one input named "source" and
> exactly
> | one output named "result"."
> |
> | In 4.1.2 Associating Documents with Ports we say:
> |
> | "When a pipe is used to bind an input, the specified port must be in the
> *
> | outputs* of the current context. When a pipe is used to bind an output,
> the
> | specified port must be in the *inputs* of the context."
> |
> | As such, that means we've got the binding of "source" in the viewport's
> | context's inputs and "result" in the
> | viewport's context's outputs.  That means it isn't available according
> to
> | 4.1.2 in the outputs of the current context
> | and can't be bound to by a contained step.
>
> You forgot 3.3:
>
> The context of a viewport is its inherited context modified as follows:
>
>     * All of the declared inputs of the viewport are added to the
>       outputs in the context.



We delete the above and the problem is fixed!

We don't need to add the declared inputs to the outputs.  You can bind
directly to somewhere else in the pipeline or the actual output port being
processed by the viewport on the contained steps if you need to do so.



-- 
--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, 1 February 2007 17:57:48 GMT

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