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

Re: Parameter input ports

From: Norman Walsh <ndw@nwalsh.com>
Date: Mon, 14 Apr 2008 12:42:07 -0400
To: public-xml-processing-model-wg@w3.org
Message-ID: <m2y77g9yn4.fsf@nwalsh.com>
/ Alessandro Vernet <avernet@orbeon.com> was heard to say:
| A couple of comments:
| 2.9 Parameters
| I read:
| Additionally, if a p:pipeline or p:declare-step does not declare any
| parameter input ports, but contains a step which has an unbound
| primary parameter input port, then an implicit primary parameter input
| port (named “parameters”) will be added to the pipeline. (If the
| pipeline declares another (non-parameter) port named “parameters”, the
| implicit primary parameter input port will be named “parameters1”. If
| that's not available, then “parameters2”, etc. until an available name
| is found.)
| Sorry if I missed the discussion about this, but I fail to see why we
| need to adopt a defaulting strategy for parameter inputs that is
| different than the one we have for document inputs. Adopting the same
| strategy would also avoid having those implicit names "parameters",
| "parameters1", ... created.

I don't follow. Our strategy for document inputs names them "source"
and "result" and makes it an error to attempt to define another port
with those names. Are you suggesting that we should do the same thing
for parameter inputs? Or are you suggesting that an implicit parameter
input port doesn't need a name, and so cannot be explicitly

| The kind attribute distinguishes between the two kinds of inputs:
| document inputs and parameter inputs. An input port is a document
| input port if kind is specified with the value “document” or if kind
| is not specified.
| Shouldn't we also say there what the value of "kind" should be to
| specify that this is a parameter input? (i.e. parameter)

It does. The tableaux at the beginning of 5.1.2 specifies it and the
fourth paragraph below that explains it. Doesn't it?

                                        Be seeing you,

Norman Walsh <ndw@nwalsh.com> | A hen is only an egg's way of making
http://nwalsh.com/            | another egg.--Samuel Butler (II)

Received on Monday, 14 April 2008 16:42:47 UTC

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