W3C home > Mailing lists > Public > xproc-dev@w3.org > May 2009

Typo in spec: 4.1 p:pipeline expansion text

From: Leif Warner <abimelech@gmail.com>
Date: Tue, 26 May 2009 19:14:36 -0700
Message-ID: <54d4ec0f0905261914q4926f4amebf4363dd694a725@mail.gmail.com>
To: XProc Dev <xproc-dev@w3.org>
Concerning the section that reads:

> The p:pipeline element is just a simplified form of step declaration. A
> document that reads:
>
> <p:pipeline *some-attributes*>
>   *some-content*
> </p:pipeline>
>
> 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'>
>   *some-content*
> </p:declare-step>
>
> Where the 'parameters' input port says "kind='parameters'", it should say
"kind='parameter'" (no "s").
As-is Calabash reports on that example:

Error  : file:/home/leif/Pipes/TestPipes/out.xpl:6: Kind must be document or
> parameter
> Error  : Pipeline failed: err:XS0033: Kind must be document or parameter
> It is a static error to specify any kind of input other than “document” or
> “parameter”.


-Leif
Received on Wednesday, 27 May 2009 02:15:13 GMT

This archive was generated by hypermail 2.2.0+W3C-0.50 : Wednesday, 27 May 2009 02:15:15 GMT