W3C home > Mailing lists > Public > xproc-dev@w3.org > April 2010

Re: EXProc step proposal: message

From: Norman Walsh <ndw@nwalsh.com>
Date: Thu, 22 Apr 2010 10:51:39 -0400
To: XProc Dev <xproc-dev@w3.org>
Message-ID: <m28w8f8rr8.fsf@nwalsh.com>
"Toman_Vojtech@emc.com" <Toman_Vojtech@emc.com> writes:
> This is how the step is declared in Calumet:
> <p:declare-step type="x:message" xmlns:x="...">
>   <p:option name="message" required="true"/> <!-- string -->
>   <p:option name="stderr" select="'true'"/> <!-- true/false -->
>   <p:option name="stdout" select="'false'"/> <!-- true/false -->
>   <p:input port="source" sequence="true"/>
>   <p:output port="result" sequence="true"/>
> </p:declare-step>
> The step behaves similar to p:identity, except that it has a required
> option "message" that specifies the message to be displayed on standard
> output and/or standard error output (controlled by the "stderr" and
> "stdout" options). (I believe the "message" step in Calabash behaves
> similarly.)

Looks good to me. My message step doesn't have stderr/stdout options, but
that's a good addition.

                                        Be seeing you,

Norman Walsh <ndw@nwalsh.com> | If you imagine that once you have
http://nwalsh.com/            | accomplished your ambitions you will
                              | have time to turn to the Way, you will
                              | discover that your ambitions never come
                              | to an end.--Yoshida Kenko

Received on Thursday, 22 April 2010 14:52:14 GMT

This archive was generated by hypermail 2.2.0+W3C-0.50 : Thursday, 22 April 2010 14:52:15 GMT