Re: Relative URLs, // and ;

Chris Newman <Chris.Newman@innosoft.com> Mon, 27 January 1997 23:43 UTC

Received: from cnri by ietf.org id aa17762; 27 Jan 97 18:43 EST
Received: from services.Bunyip.Com by CNRI.Reston.VA.US id aa28831; 27 Jan 97 18:43 EST
Received: (from daemon@localhost) by services.bunyip.com (8.6.10/8.6.9) id QAA27131 for uri-out; Mon, 27 Jan 1997 16:33:41 -0500
Received: from mocha.bunyip.com (mocha.Bunyip.Com [192.197.208.1]) by services.bunyip.com (8.6.10/8.6.9) with SMTP id QAA27126 for <uri@services.bunyip.com>; Mon, 27 Jan 1997 16:33:39 -0500
Received: from THOR.INNOSOFT.COM by mocha.bunyip.com with SMTP (5.65a/IDA-1.4.2b/CC-Guru-2b) id AA07782 (mail destined for uri@services.bunyip.com); Mon, 27 Jan 97 16:33:37 -0500
Received: from eleanor.innosoft.com by INNOSOFT.COM (PMDF V5.1-6 #8694) with SMTP id <01IEPJR9F6TGA8DM2S@INNOSOFT.COM> for uri@bunyip.com; Mon, 27 Jan 1997 13:33:20 PST
Date: Mon, 27 Jan 1997 13:34:24 -0800
From: Chris Newman <Chris.Newman@innosoft.com>
Subject: Re: Relative URLs, // and ;
In-Reply-To: <3.0.32.19970127133440.007dcc20@hq.lcs.mit.edu>
To: Tim Berners-Lee <timbl@w3.org>
Cc: IETF URI list <uri@bunyip.com>
Message-Id: <Pine.SOL.3.95.970127132934.28359Q-100000@eleanor.innosoft.com>
Mime-Version: 1.0
Content-Type: TEXT/PLAIN; charset="US-ASCII"
Sender: owner-uri@bunyip.com
Precedence: bulk

On Mon, 27 Jan 1997, Tim Berners-Lee wrote:
> > > How is ';' involved in relative URLs?
> 
> Semicolons were introduced to allow elements to be specified by name rather
> than
> position, for spaces which were best seen as matrices rather than trees.
> In this case it is only sensible for relative URls which start with ";" to
> take a
> set of attribute values which are different.  This implies
> 	1. attributes can only occur once (unless you have a syntax for removing a
> 	   particular occurrence) and
> 	2. a missed value is equivalent to an unspecified value
> 	(so you can remove an occurrence by setting its value to empty)
> 	3. attributes are unordered
> 
> So relative to
> 	//moremaps.com/us/ma/cambridge;scale=50000;roads=main
> or the equivalent
> 	//moremaps.com/us/ma/cambridge;roads=main;scale=50000
> 
> URI	;scale=25000
> gives	//moremaps.com/us/ma/cambridge;scale=25000;roads=main
> 
> and	;roads
> gives	//moremaps.com/us/ma/cambridge;scale=50000
> 
> and	;roads=
> gives	//moremaps.com/us/ma/cambridge;scale=50000;roads=
> 
> and	;rivers=all
> gives	//moremaps.com/us/ma/cambridge;scale=50000;roads=main;rivers=all

I very much like this model.  Unfortunately, RFC 1808 seems to contradict
this model.  It seems to say that if the relative URL includes any
parameter, it replaces *all* the parameters of the base URL.  This is
certainly a problem for the IMAP URL scheme.