From: Chris Hanson Date: Sat, 8 Jul 2006 00:24:09 +0000 (+0000) Subject: Make sure that base URI is absolute. X-Git-Tag: 20090517-FFI~983 X-Git-Url: https://birchwood-abbey.net/git?a=commitdiff_plain;h=da33b8eeea27d55a00e5407baad6964ab6612ab7;p=mit-scheme.git Make sure that base URI is absolute. --- diff --git a/v7/src/xml/turtle.scm b/v7/src/xml/turtle.scm index 4a5625bcd..ea194c040 100644 --- a/v7/src/xml/turtle.scm +++ b/v7/src/xml/turtle.scm @@ -1,6 +1,6 @@ #| -*-Scheme-*- -$Id: turtle.scm,v 1.3 2006/06/23 18:50:03 cph Exp $ +$Id: turtle.scm,v 1.4 2006/07/08 00:24:09 cph Exp $ Copyright 2006 Massachusetts Institute of Technology @@ -34,7 +34,7 @@ USA. (post-process-parser-output (parse-turtle-doc (input-port->parser-buffer port)) (if (default-object? base-uri) - (pathname->uri pathname) + (pathname->uri (merge-pathnames pathname)) (merge-uris (file-namestring pathname) (->absolute-uri base-uri 'read-turtle-file))))))))