GRDDL and relative URIs

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 UTC