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

Re: Default values for options

From: Innovimax SARL <innovimax@gmail.com>
Date: Thu, 16 Aug 2007 22:43:37 +0200
Message-ID: <546c6c1c0708161343o404afe74r32a32544438a61fa@mail.gmail.com>
To: "Norman Walsh" <ndw@nwalsh.com>
Cc: public-xml-processing-model-wg@w3.org

On 8/16/07, Norman Walsh <ndw@nwalsh.com> wrote:
> Consider:
>
> <p:declare-step type="foo:bar">
>   <p:input ...>
>   <p:output ...>
>   <p:option name="fribble"/>
> </p:declare-step>
>
> ...
>
> <foo:bar/>
>
> What is the value of the fribble option seen by the foo:bar step? Is it the
> empty string or is this an error (or is there some other choice)?
>
> My inclination is to say that it's the empty string.


Does it mean that for all boolean option that are not required, their
default value is false ?

Mohamed

-- 
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 Thursday, 16 August 2007 20:43:43 GMT

This archive was generated by hypermail 2.2.0+W3C-0.50 : Tuesday, 8 January 2008 14:21:54 GMT