W3C home > Mailing lists > Public > public-webapps@w3.org > April to June 2011

[widgets] P&C conformance requirement

From: Marcos Caceres <marcosscaceres@gmail.com>
Date: Thu, 2 Jun 2011 09:02:26 +0200
Message-ID: <BANLkTi=4wiK7bNQBdhnW1OUP787tLoCAxA@mail.gmail.com>
To: public-webapps <public-webapps@w3.org>
IMO, the following conformance requirement needs to be relaxed to a SHOULD.

When acquiring a potential Zip archive that has not been labeled with
a media type (e.g., from a file system), a user agent must attempt to
process the resource regardless of the file extension (including
situations when the file extension is absent) by applying the rule for
determining if a potential Zip archive is a Zip archive. If the rule
for determining if a potential Zip archive is a Zip archive return
true, proceed to Step 2. Otherwise, if an error was returned, the user
agent must treat the potential Zip archive as an invalid widget

In practice widget managers generally just scan the SD card for
'*.wgt' files. Imposing a MUST here is overzealous as we should not
expect applications or file systems to be checking file type
associations at the byte level (unless they really want to). The
requirement was originally written to cover the drag-and-drop use case
on a desktop computer, and didn't really take into consideration the
user experience on a mobile device. No user agents are harmed by
relaxing this requirement to a SHOULD; and relaxing it means that a
larger number of mobile-device-based user agents can become compliant
to P&C.

I have made the change in the spec. If anyone has an objection, please
let me know by the before the 07 June.

Kind regards,

Marcos Caceres
Received on Thursday, 2 June 2011 07:03:13 UTC

This archive was generated by hypermail 2.4.0 : Friday, 17 January 2020 18:13:19 UTC