From ae856a67408c22f1c90d845cd621123fe26d960f Mon Sep 17 00:00:00 2001 From: Chris Hanson Date: Fri, 17 Aug 2007 03:41:48 +0000 Subject: [PATCH] When merging prefix registries, ignore ":" prefixes. --- v7/src/xml/rdf-struct.scm | 5 +++-- 1 file changed, 3 insertions(+), 2 deletions(-) diff --git a/v7/src/xml/rdf-struct.scm b/v7/src/xml/rdf-struct.scm index 17b5ce8fd..261e3e689 100644 --- a/v7/src/xml/rdf-struct.scm +++ b/v7/src/xml/rdf-struct.scm @@ -1,6 +1,6 @@ #| -*-Scheme-*- -$Id: rdf-struct.scm,v 1.33 2007/08/14 02:18:52 cph Exp $ +$Id: rdf-struct.scm,v 1.34 2007/08/17 03:41: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, @@ -264,7 +264,8 @@ USA. (guarantee-rdf-prefix-registry from-registry 'MERGE-RDF-PREFIX-REGISTRY!) (let ((to-registry (check-registry to-registry 'MERGE-RDF-PREFIX-REGISTRY!))) (for-each (lambda (p1) - (%register-rdf-prefix (car p1) (cdr p1) to-registry)) + (if (not (eq? (car p1) ':)) + (%register-rdf-prefix (car p1) (cdr p1) to-registry))) (registry-bindings from-registry)))) (define (%register-rdf-prefix prefix expansion registry) -- 2.25.1