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

Re: [widgets] Rule for dealing with an invalid Zip archive

From: Thomas Roessler <tlr@w3.org>
Date: Mon, 6 Jul 2009 20:45:47 +1000
To: marcosc@opera.com
Message-Id: <CDF81039-C007-4E90-8FB5-E03982D56A16@w3.org>
Cc: Anne van Kesteren <annevk@opera.com>, WebApps WG <public-webapps@w3.org>
This text assumes that widget installation is always an interactive  
process.  It might very well be part of batch processing, in which  
case an interactive, localized error message might simply be the wrong  
thing to do.

I'd suggest to simply say that an invalid zip archive is a reason for  
the user agent to abort all processing, full stop.  (One could add  
some wishy-washy language about appropriate error reporting, or  
something, but I don't see how that adds much value here.)

Thanks,
--
Thomas Roessler, W3C  <tlr@w3.org>






On 1 Jul 2009, at 19:01, Marcos Caceres wrote:

> On Wed, Jun 10, 2009 at 4:51 PM, Anne van Kesteren<annevk@opera.com>  
> wrote:
>> There's no need to recommend something twice so everything after  
>> the last semicolon can be dropped.
>>
>
> Editorial: Agreed, dropped.
>
>> The usage of "inform" here assumes the user agent in question is a  
>> conformance checker. However, it is far more likely that this is a  
>> normal user agent that can run widgets. As such, the usage of  
>> inform here is inappropriate for that class of products.
>>
>
> Editorial: Good point. I changed it to:
> [[
> "In the event that an implementation encounters an invalid Zip archive
> during the steps for processing a widget package, the user agent must
> abort all processing of the steps for processing a widget package. In
> addition, the user agent should notify the end-user that the zip
> archive is an invalid Zip archive via an appropriate localized error
> message. The means of notifying the end-user, and the wording of the
> localized error message, is left to the discretion of implementers.
>
> In the case the UA is a CC, it must inform the author that the Zip
> archive is an invalid Zip archive.
> ]]
>
> Is that any better?
>
> -- 
> Marcos Caceres
> http://datadriven.com.au
>
Received on Monday, 6 July 2009 14:59:59 GMT

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