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

GRDDL and relative URIs

From: Dominique HazaŽl-Massieux <dom@w3.org>
Date: Fri, 05 Nov 2004 11:21:53 +0100
To: public-rdf-in-xhtml-tf@w3.org
Message-Id: <1099650113.31358.465.camel@stratustier>

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" />

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


1. http://www.w3.org/2004/01/rdxh/grddl-xml-demo
Dominique HazaŽl-Massieux - http://www.w3.org/People/Dom/

Received on Friday, 5 November 2004 10:21:55 UTC

This archive was generated by hypermail 2.3.1 : Tuesday, 6 January 2015 21:50:18 UTC