W3C home > Mailing lists > Public > public-grddl-wg@w3.org > November 2006

Re: Issue-base-param: do we need the parameter?

From: Dan Connolly <connolly@w3.org>
Date: Thu, 30 Nov 2006 09:19:32 -0600
To: Chimezie Ogbuji <ogbujic@bio.ri.ccf.org>
Cc: GRDDL Working Group <public-grddl-wg@w3.org>
Message-Id: <1164899972.3997.1394.camel@dirk>

I agree with the main points in Chime's message.
One nit...

On Thu, 2006-11-30 at 09:43 -0500, Chimezie Ogbuji wrote:
[...]
> >  <rdf:Description rdf:about=".">
> >
> > Will be a reference to the resource identified by the base URI of the
> > source document.
> 
> Yes, though the '.' is redundant with regards to URI base resolution.

Well, actually '.' refers to the base URI with any final path
segment stripped, a la 'cwd' in unix:

connolly@dirk:~/w3ccvs/WWW/2000/10/swap$ python
Python 2.4.4 (#2, Oct 20 2006, 00:23:25)
[GCC 4.1.2 20061015 (prerelease) (Debian 4.1.1-16.1)] on linux2
Type "help", "copyright", "credits" or "license" for more information.
>>> import uripath
>>> uripath.join("http://example/a/b/c/d", "")
'http://example/a/b/c/d'
>>> uripath.join("http://example/a/b/c/d", ".")
'http://example/a/b/c/'


-- 
Dan Connolly, W3C http://www.w3.org/People/Connolly/
D3C2 887B 0F92 6005 C541  0875 0F91 96DE 6E52 C29E
Received on Thursday, 30 November 2006 15:19:44 GMT

This archive was generated by hypermail 2.2.0+W3C-0.50 : Tuesday, 8 January 2008 14:11:46 GMT