W3C home > Mailing lists > Public > w3c-dist-auth@w3.org > January to March 2006

Relative references and whether requires an authority

From: Lisa Dusseault <lisa@osafoundation.org>
Date: Fri, 27 Jan 2006 13:22:24 -0800
Message-Id: <A060A826-A961-43AE-9D04-F1E5DFB8A6CC@osafoundation.org>
Cc: webdav WG <w3c-dist-auth@w3.org>
To: Julian Reschke <julian.reschke@gmx.de>

I notice that the example you provided for relative references ("'/ 
example.com/sample/' and '/example.com/sample/a%20test'") included an  
authority part.   Two things surprised me about that:
  - I thought that the authority part was optional, so there are thus  
even more options for valid 'href' values than the ones you  
provided.  E.g. '/sample/' and '/sample/a%20test' would be valid as  
well as the URLs with authority but no scheme, and the complete  
URLs.  The example text suggested makes it look like the allowable  
WebDAV options are more limited the options RFC3986 offers as valid  
Relative References

  - When the authority part is provided, it looks like it has to  
begin with "//" so your example would be correct as ""'//example.com/ 
sample/' and '//example.com/sample/a%20test'"

I am looking at <http://rfc.net/rfc3986.html#s4.2.> for this.

Received on Friday, 27 January 2006 21:22:38 UTC

This archive was generated by hypermail 2.3.1 : Wednesday, 7 January 2015 15:01:35 UTC