From 9e0dfe64d7bc45ba3eb112bc2a13a234641807bc Mon Sep 17 00:00:00 2001 From: Chris Hanson Date: Sat, 11 Oct 2008 00:31:48 +0000 Subject: [PATCH] Make sure absolute URIs are correctly resolved. --- v7/src/xml/turtle.scm | 7 +++---- 1 file changed, 3 insertions(+), 4 deletions(-) diff --git a/v7/src/xml/turtle.scm b/v7/src/xml/turtle.scm index eb5898c72..b510550fb 100644 --- a/v7/src/xml/turtle.scm +++ b/v7/src/xml/turtle.scm @@ -1,6 +1,6 @@ #| -*-Scheme-*- -$Id: turtle.scm,v 1.44 2008/07/19 01:41:17 cph Exp $ +$Id: turtle.scm,v 1.45 2008/10/11 00:31:48 cph Exp $ Copyright (C) 1986, 1987, 1988, 1989, 1990, 1991, 1992, 1993, 1994, 1995, 1996, 1997, 1998, 1999, 2000, 2001, 2002, 2003, 2004, 2005, @@ -510,11 +510,10 @@ USA. pols)) (define (post-process-resource resource prefixes base-uri) - (cond ((or (absolute-uri? resource) - (rdf-bnode? resource) + (cond ((or (rdf-bnode? resource) (rdf-literal? resource)) (values resource '())) - ((relative-uri? resource) + ((uri? resource) (values (merge-uris resource base-uri) '())) ((pair? resource) (case (car resource) -- 2.25.1