W3C home > Mailing lists > Public > public-webapps@w3.org > October to December 2009

[widgets] features: default value for required

From: Cyril Concolato <cyril.concolato@enst.fr>
Date: Wed, 16 Dec 2009 09:50:02 +0100
Message-ID: <4B289F3A.1010504@enst.fr>
To: public-webapps <public-webapps@w3.org>
Hi all,

The algorithm for processing the 'required' attribute is unclear. It says:
"If a required attribute is used, then let required-feature be the result of applying the rule for getting a single attribute value to the required attribute. If required-feature is not a valid boolean value, then let the value of required-feature be the value 'true'."

I think it misses the case when the required attribute is not used. According to the 'Authoring Guideline', it should say:
"If a required attribute is used, then let required-feature be the result of applying the rule for getting a single attribute value to the required attribute. *If the required attribute is not used or *if required-feature is not a valid boolean value, then let the value of required-feature be the value 'true'."

Cyril

-- 
Cyril Concolato
Maître de Conférences/Associate Professor
Groupe Mutimedia/Multimedia Group
Telecom ParisTech
46 rue Barrault
75 013 Paris, France
http://concolato.blog.telecom-paristech.fr/
Received on Wednesday, 16 December 2009 08:50:26 GMT

This archive was generated by hypermail 2.3.1 : Tuesday, 26 March 2013 18:49:35 GMT