[widgets] Comments on LCWD #3

Dear all,

I made a review of the current specification [1] and I have some comments. I realize that I'm sending these comments quite late in the process but I couldn't make an earlier review. The purpose of these comments is not to delay the publication of the specification. The purpose is more to understand the rationale behind the technical choices that have been made and to facilitate implementation. 

Here are my comments:

1. The handling of localization is different between the <icon> element and the <content> element. The <icon> element does allow element-based localization using the xml:lang attribute and it also allows folder based localization, while the <content> element only allows folder-based localization. Is it an error or can you give the rationale? 

2. The use of media types. 

2.a The <content> element defines a "type" attribute. Why doesn't the <icon> element do the same? 

2.b Why is section "9.1.10 Rule for Identifying the Media Type of a File" needed? This seems akward to do type sniffing. Why not using a media type given in the configuration file?

2.c From 7.11.2, it seems that there can be several <icon> elements (zero or more) differing by their media types (SVG, PNG ...). Why is this not allowed for the <content> element (zero or one), e.g. HTML, SVG ...?

3. Unpackaged widgets. Have you envisaged delivery of unpackaged widgets? Is it in the roadmap of the group? For example, have you envisaged registering a media type for the XML configuration file?

Best regards,

Cyril

[1] Widgets 1.0: Packaging and Configuration, W3C Working Draft 22 October 2009, http://dev.w3.org/2006/waf/widgets/
-- 
Cyril Concolato
Maître de Conférences/Associate Professor
Groupe Mutimedia/Multimedia Group
Département Traitement du Signal et Images
/Dept. Signal and Image Processing
Ecole Nationale Supérieure des Télécommunications
46 rue Barrault
75 013 Paris, France
http://tsi.enst.fr/~concolat 

Received on Sunday, 25 October 2009 15:26:41 UTC