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

Re: p:option not required without default value

From: Innovimax SARL <innovimax@gmail.com>
Date: Sat, 30 Aug 2008 11:14:43 +0200
Message-ID: <546c6c1c0808300214p342b5f6cj52bbcef0ab5b9dd0@mail.gmail.com>
To: "Jeni Tennison" <jeni@jenitennison.com>
Cc: "public-xml-processing-model-wg WG" <public-xml-processing-model-wg@w3.org>

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 GMT

This archive was generated by hypermail 2.2.0+W3C-0.50 : Saturday, 30 August 2008 09:15:20 GMT