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

Re: Henry's proposed syntax change

From: Norman Walsh <ndw@nwalsh.com>
Date: Thu, 03 Jan 2008 07:38:15 -0500
To: public-xml-processing-model-wg@w3.org
Message-ID: <m2ve6bythk.fsf@nwalsh.com>
/ ht@inf.ed.ac.uk (Henry S. Thompson) was heard to say:
| Norman Walsh writes:
|
|> | So a pipeline with a single input and output needs no port
|> | declarations.
|>
|> Isn't this conflating two things? Couldn't we equally say that
|>
|> <p:pipeline ...attrs...>
|>   ...content...
|> </p:pipeline>
|>
|> is equivalent to
|>
|> <p:declare-step ...attrs...>
|>   ...content...
|> </p:declare-step>
|>
|> and (continue to) require that all the inputs and outputs on a
|> p:pipeline must be declared.
|
| We could, but I think we should take advantage of the opportunity to
| keep p:pipeline as simple as possible and _not_ have that requirement.

Quelle surprise. :-)

I probably just worry too much. To my mind, the fact that

  <p:pipeline>
    <p:xslt>
      ...

has an input and an output port is decidedly non-obvious.
The fact that

  <p:pipeline>
    <p:input port="stuff"/>
    <p:xslt>
      ...

has *two* input ports is downright counter-intuitive.

But I'm sure I'd get used to it.

                                        Be seeing you,
                                          norm

-- 
Norman Walsh <ndw@nwalsh.com> | All of us are creatures of a day; the
http://nwalsh.com/            | rememberer and the remembered
                              | alike.--Marcus Aurelius

Received on Thursday, 3 January 2008 12:34:48 GMT

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