W3C home > Mailing lists > Public > public-rdf-in-xhtml-tf@w3.org > November 2004

Re: GRDDL and relative URIs

From: Ben Adida <ben@mit.edu>
Date: Fri, 5 Nov 2004 09:34:54 -0500
Message-Id: <DC3C749A-2F37-11D9-B9E8-0003939247DC@mit.edu>
Cc: public-rdf-in-xhtml-tf@w3.org
To: Dominique HazaŽl-Massieux <dom@w3.org>


Dom,

I think your current approach makes sense.

-Ben

On Nov 5, 2004, at 5:21 AM, Dominique HazaŽl-Massieux wrote:

> Hello,
>
> DanC and I were chatting yesterday about relative URIs resolutions in
> the RDF/XML output of a GRDDL transformation; for instance, if a GRDDL
> transformation applied on http://example.net/foo/bar outputs
> <rdf:Description rdf:about="../">
>   <rdf:type rdf:resource="http://example.net/aCoolResource" />
> </rdf:Description>
>
> how should the relative URI "../" be interpreted?
>
> We agreed that the most logical answer was to assume that base URI for
> the resulting RDF/XML should be by default the URI of the input
> document; this needs to be captured in the next revision of the
> specification (or discussed if people disagree with this approach).
>
> FWIW, that's the current behavior of the GRDDL demonstrator [1]: it 
> adds
> an xml:base attribute on the root rdf:RDF element set to the URI of the
> input.
>
> Dom
>
> 1. http://www.w3.org/2004/01/rdxh/grddl-xml-demo
> -- 
> Dominique HazaŽl-Massieux - http://www.w3.org/People/Dom/
> W3C/ERCIM
> mailto:dom@w3.org
>
Received on Friday, 5 November 2004 14:34:56 GMT

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