Re: Default values for options

Norman Walsh wrote:
> / Innovimax SARL <innovimax@gmail.com> was heard to say:
> | Does it mean that for all boolean option that are not required, their
> | default value is false ?
> 
> I think that happens to be the case, but not because there's a global
> rule about it.

I think that it means that options that are expected to have boolean 
values will raise an error if no value is supplied (because an empty 
string is not a legal xs:boolean value -- it's not 'true', 'false', '0' 
or '1'). So boolean options should either be explicitly required or have 
a default value specified.

Cheers,

Jeni
-- 
Jeni Tennison
http://www.jenitennison.com

Received on Friday, 17 August 2007 18:30:53 UTC