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

p:pipeline and p:declare-step

From: Innovimax SARL <innovimax@gmail.com>
Date: Mon, 29 Dec 2008 22:21:37 +0100
Message-ID: <546c6c1c0812291321u54f19c6dvf556ceaf35ee013@mail.gmail.com>
To: "XProc WG" <public-xml-processing-model-wg@w3.org>
In the spec the prose says :

All p:pipeline pipelines have an implicit *primary input
* named "source" and an implicit *primary output
* named "result". Any input or output ports that the p:pipeline declares
explicitly are *in addition* to those ports and may not be declared primary.
Nothing is said about parameters input port

Few lines below you can read

If a pipeline does not have a type then that pipeline cannot be invoked as a

The p:pipeline element is just a simplified form of step declaration. A
document that reads:

<p:pipeline *some-attributes*>

can be interpreted as if it read:

<p:declare-step *some-attributes*>
  <p:input port='source' primary='true'/>
  <p:input port='parameters' kind='parameters' primary='true'/>
  <p:output port='result' primary='true'>



It would be good to synchronize the prose and the example
And it would also be good to fix the sample by adding a slash at the end of


Innovimax SARL
Consulting, Training & XML Development
9, impasse des Orteaux
75020 Paris
Tel : +33 9 52 475787
Fax : +33 1 4356 1746
RCS Paris 488.018.631
SARL au capital de 10.000 
Received on Monday, 29 December 2008 21:22:18 UTC

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