W3C home > Mailing lists > Public > uri@w3.org > February 1997

Re: Relative URLs, // and ;

From: Erik Guttman <eguttman@ns.incog.com>
Date: Thu, 06 Feb 1997 16:25:11 -0800
Message-Id: <>
To: uri@bunyip.com
Cc: Tim Berners-Lee <timbl@w3.org>

How could one express an attribute which has multiple values?
say we have:

//moremaps.com/us/ma/cambridge;features=roads<some syntax>schools<some

Could the <some syntax> be a "+", say?

I am working on the Service Location Protocol (SLP).  
We associate attributes with services.  The services are 
identified using a service: URL scheme.  Since these 
attributes have multiple values and may be quite extensive 
in number and size we include a mechanism in SLP to register
and transfer them in replies outside of the URL. It may be
useful to include SLP attributes in the service: URL, 
for small numbers of reasonably sized attributes.

The discussion makes it clear that attributes can be used
quite effectively in URLs, but only discusses single valued


Erik Guttman
Sun Microsystems

>> >Daniel LaLiberte wrote:

>> > How is ';' involved in relative URLs?

>Tim Berners-Lee wrote:
>Semicolons were introduced to allow elements to be specified by name rather
>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
Received on Thursday, 6 February 1997 11:17:30 UTC

This archive was generated by hypermail 2.4.0 : Sunday, 10 October 2021 22:17:33 UTC