From: Chris Hanson Date: Mon, 6 Mar 2006 02:32:15 +0000 (+0000) Subject: Change unparser for bnodes so that is shows the name. X-Git-Tag: 20090517-FFI~1081 X-Git-Url: https://birchwood-abbey.net/git?a=commitdiff_plain;h=9d218252022d5663626443fff9f672e880808b9f;p=mit-scheme.git Change unparser for bnodes so that is shows the name. --- diff --git a/v7/src/xml/rdf-struct.scm b/v7/src/xml/rdf-struct.scm index 26ca943de..9131b7019 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.2 2006/03/06 02:29:33 cph Exp $ +$Id: rdf-struct.scm,v 1.3 2006/03/06 02:32:15 cph Exp $ Copyright 2006 Massachusetts Institute of Technology @@ -53,6 +53,12 @@ USA. (define-guarantee rdf-bnode "RDF bnode") +(set-record-type-unparser-method! + (standard-unparser-method 'RDF-BNODE + (lambda (bnode port) + (write-char #\space port) + (write (rdf-bnode-name bnode))))) + (define (make-rdf-bnode #!optional name) (%make-rdf-bnode (cond ((default-object? name)