On 5 January 2011 15:43, Mikkel Kamstrup Erlandsen
<mikkel.kamst...@gmail.com> wrote:
> On 5 January 2011 12:38, Michal Hruby <michal....@gmail.com> wrote:
>>>  file:///home/mikkel/myproject/trunk#27
>>
>> This is a perfectly valid file (directory) name, with one little problem
>> that it doesn't exist.
>
> This is *not* a file name. It is a URI. Let's keep the terminology
> correct here. It has path member being /home/mikkel/myproject/trunk
> and has a URI fragment of 27. Please see
> http://labs.apache.org/webarch/uri/rfc/rfc3986.html#components.
>
> Fragments should be definition point to some resource inside the
> resource specified by the path element. If we consider the path
> element as a bzr repo, and not just a file, then I think that a revno
> fragment is perfectly reasonable.

BTW - and if an app instructed to open file:///foo.txt#27 fails with
"Can not open /foo.txt#27. No such file or directory." Then that's a
bug in the app. Because the fragment should not be taken into account
when resolving the path.

_______________________________________________
Mailing list: https://launchpad.net/~zeitgeist
Post to     : zeitgeist@lists.launchpad.net
Unsubscribe : https://launchpad.net/~zeitgeist
More help   : https://help.launchpad.net/ListHelp

Reply via email to