Re: EXProc step proposal: message

"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,
                                          norm

-- 
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 UTC