Re: clarification on 9.1.3

> 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 UTC