[widgets] features: default value for required

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 UTC