W3C home > Mailing lists > Public > uri@w3.org > May 2003

Re: draft-fielding-uri-rfc2396bis-02

From: Graham Klyne <GK@ninebynine.org>
Date: Mon, 26 May 2003 08:52:26 +0100
Message-Id: <>
To: Rob Cameron <cameron@cs.sfu.ca>, uri@w3.org

At 12:00 24/05/03 -0700, Rob Cameron wrote:
>4.  I have been working on the  inverse of the algorithm
>     of section 5.2 for resolving relative references.
>     I thought an algorithm for that might appear in this draft.

I assume you mean for constructing relative references?

A problem with this is that there's no single correct implementation.  I 
did a relative path computation [1] when I implemented this stuff, and 
realized that some equally legitimate choices are available in come cases 
for the fairly minimal requirements I was working from.


[1] My code, in Haskell, including a fairly extensive range of test cases, 
is at:

Graham Klyne
PGP: 0FAA 69FF C083 000B A2E9  A131 01B9 1C7A DBCA CB5E
Received on Monday, 26 May 2003 04:18:58 UTC

This archive was generated by hypermail 2.3.1 : Tuesday, 6 January 2015 21:25:05 UTC