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

Re: Extensibility questions

From: Innovimax SARL <innovimax@gmail.com>
Date: Tue, 13 May 2008 08:51:49 +0200
Message-ID: <546c6c1c0805122351u214746a7kaa7090f22a4ba6dd@mail.gmail.com>
To: "Norman Walsh" <ndw@nwalsh.com>
Cc: public-xml-processing-model-wg@w3.org

Norm,

Sorry, I wasn't clear on my goal

My goal was to find the hole in the spec where there is room for
adding some additionnal feature to steps

I was thinking there was a lot, but since all is interdependent at
some point, there are few case where it still work
Also I wanted to find out which was the error reported to the user if any

Mohamed

On Mon, May 12, 2008 at 10:01 PM, Norman Walsh <ndw@nwalsh.com> wrote:
> / "Innovimax SARL" <innovimax@gmail.com> was heard to say:
>
> |>  | Does it mean that there is no constraint on parameters or outputs ?
>  |>
>  |>  You don't get to specify outputs when you call an atomic step, so they
>  |>  aren't really relevant are they?
>  |
>  | So it means that if I want to add an alternate output to a step, I can do that
>  |
>  | Let's say for example for p:delete, add a "alternate" output for example,
>  | and then in the following step connect its input to alternate
>  |
>  | Where will it fail, if it does ?
>
>  You can't change the declaration for a step in the XProc namespace, so
>  you can't add another output. Adding another output would change the
>  inputs and outputs, so you aren't allowed to do that with an extension
>  attribute.
>
>
>  |>  There are no constraints on paramters, beyond the fact that you can
>  |>  only specify them on a step that has (at least one) parameter input
>  |>  port.
>  |
>  | Well, if I'm correct, it is said in the spec that
>  | [[
>  | It is a static error (err:XS0034) if the specified port is not a
>  | parameter input port or if no port is specified and the step does not
>  | have a primary parameter input port.
>  | ]]
>  | which means that we can bind a parameter port named "foo" since there
>  | is no equivalent of the err:XS0012 for input parameters
>  | [[
>  | it is a static error (err:XS0012) if the port given does not match the
>  | name of an input port specified in the step's declaration.
>  | ]]
>
>  Sorry, I don't follow. What do you think you can do?
>
>                                         Be seeing you,
>                                           norm
>
>  --
>  Norman Walsh <ndw@nwalsh.com> | The most universal quality is
>  http://nwalsh.com/            | diversity.-- Montaigne
>



-- 
Innovimax SARL
Consulting, Training & XML Development
9, impasse des Orteaux
75020 Paris
Tel : +33 9 52 475787
Fax : +33 1 4356 1746
http://www.innovimax.fr
RCS Paris 488.018.631
SARL au capital de 10.000 
Received on Tuesday, 13 May 2008 06:52:22 GMT

This archive was generated by hypermail 2.2.0+W3C-0.50 : Tuesday, 13 May 2008 06:52:24 GMT