Re: p:option not required without default value

On Fri, Aug 29, 2008 at 11:09 PM, Jeni Tennison <jeni@jenitennison.com> wrote:
> Mohamed,
>
> On 29 Aug 2008, at 22:02, Innovimax SARL wrote:
>
>> On Fri, Aug 29, 2008 at 10:23 PM, Jeni Tennison <jeni@jenitennison.com>
>> wrote:
>>>
>>> So what
>>> about:
>>>
>>> * in the declaration of an atomic step
>>>  * the required attribute is used to indicate whether the option is
>>> required or not
>>
>> ok
>>
>>>  * the select attribute may be used to declare a default value; if it's
>>> not specified the default is implementation-defined
>>
>> ok
>>
>>>
>>> * in the declaration of a pipeline
>>>  * if the select attribute is present, it's used as a default value (and
>>> required must be 'no')
>>
>> ok
>>
>>>  * if the select attribute is not present, required must be 'yes', and
>>> defaults to that value if it's not specified
>>
>> shouldn't this one be
>>
>> * if the select attribute is not present, required must be 'yes', so
>> there's no need for defaulting
>
>
> I was meaning that 'required' would default to 'no' (so if select was
> present you could specify required="no" and that's OK, or not specify the
> required attribute at all, but if you specified required="yes" then you'd
> get an error).
>

Ok you were speaking about the defaulting of the @required !
Sorry for the noise

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 Saturday, 30 August 2008 09:15:18 UTC