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>
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 10:21:55 GMT

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