W3C home > Mailing lists > Public > public-webapps@w3.org > July to September 2009

[widgets] BUG ALERT for P+C spec: Try to fallback to default start files when src path is invalid or not existing

From: Marcos Caceres <marcosc@opera.com>
Date: Fri, 31 Jul 2009 17:50:13 +0200
Message-ID: <b21a10670907310850t78af69f8o8a33fa6946589e6f@mail.gmail.com>
To: public-webapps <public-webapps@w3.org>
Opera QA has found the following bug in the Widgets 1.0: Packaging and
Configuration W3C Candidate Recommendation 23 July 2009 [1].

Description of bug:
In Step 7, when a content element's src attribute's values is not a
valid path, the UA treats the widget as an invalid widget. It should,
instead, skip the offending content element and try to recover by
using a default start file.

Proposed solution:
In Step 7, when a content element's src attribute's values is not a
valid path, the UA should try to fallback to default start files. This
would be achieved by changing the following text from:

[[
If path is a valid path, let file be the result of applying the rule
for finding a file within a widget package to path. If path is not a
valid path, then a user agent must treat the widget package as an
invalid Zip archive.
]]

To:
[[
If path is not a valid path, then the user agent must skip this element.
If path is a valid path, let file be the result of applying the rule
for finding a file within a widget package to path. If file is null or
in error, then the user agent must skip this element.
]]

[1] http://www.w3.org/TR/2009/CR-widgets-20090723/
-- 
Marcos Caceres
http://datadriven.com.au
Received on Friday, 31 July 2009 15:51:20 GMT

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