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

Re: clarification on 9.1.3

From: Marcos Caceres <marcosscaceres@gmail.com>
Date: Wed, 04 May 2011 18:43:49 +0200
Message-ID: <4DC18245.8090701@gmail.com>
To: "Phillips, Addison" <addison@lab126.com>
CC: public-webapps@w3.org
> In section 9.1.3 of the Widget P&C, the first step of the algorithm to find a file says:
>
> Let path be the valid path to the file entry being sought by the user agent.
>
> "valid path" is defined by a rather strict grammar  paths that have a double slash aren't matched by the grammar e.g. "path//to/file".
>
> What the spec doesn't say is what to do if step one fails, i.e. the path is not valid. Should null be returned? An error? Or is that implementation defined?

Spec now says:

[[
1.  Let path be the path to the file entry being sought by the user agent.

2. If path is not a valid path, return an error and terminate this 
algorithm.

]]
Received on Wednesday, 4 May 2011 16:48:10 GMT

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