According to the latest editor's draft (20 may 2008), a conforming widget user agent needs to support zip/deflate, png, gif, xml, xmlns and DOM3CORE. However, a conforming widget resource can also include other kinds of contents (eg. SVG, SMIL, etc.) Thus there is no way in the current draft for a user agent to check beforehand if it will actually be able to run the widget. A solution could be to add in config.xml the list of additional mime types a user agent must process for a given resource :
<widget xmlns="http://www.w3.org/ns/widgets";
        id="http://datadriven.com.au/exampleWidget";
        version="2.0 Beta" height="200" width="200">
  <name>The example widget!</name>
  ...
  <requires mime="image/svg+xml"/>
  <requires mime="application/smil"/>
</widget>


Also, in §5.2 [1] it is said that support for text/html is required. Should this be added to §3 [2] ?

        Fabrice

[1] http://dev.w3.org/2006/waf/widgets/#default
[2] http://dev.w3.org/2006/waf/widgets/#widget
--
Fabrice Desré
France Télécom R&D/MAPS/AMS
Tél: +(33) (0)2 96 05 31 43
Fax: +(33) (0)2 96 05 39 45
http://www.francetelecom.com/rd


  • [widgets] User agent co... Fabrice Desré - France Telecom DR&D/MA PS/AMS

Reply via email to