From: Chris Hanson Date: Sun, 12 Oct 2008 06:31:05 +0000 (+0000) Subject: Allow white space in empty blank node. X-Git-Tag: 20090517-FFI~99 X-Git-Url: https://birchwood-abbey.net/git?a=commitdiff_plain;h=50c53e074be4f0380aa413b8cbdc64c7c710f84f;p=mit-scheme.git Allow white space in empty blank node. --- diff --git a/v7/src/xml/turtle.scm b/v7/src/xml/turtle.scm index b510550fb..e90a04109 100644 --- a/v7/src/xml/turtle.scm +++ b/v7/src/xml/turtle.scm @@ -1,6 +1,6 @@ #| -*-Scheme-*- -$Id: turtle.scm,v 1.45 2008/10/11 00:31:48 cph Exp $ +$Id: turtle.scm,v 1.46 2008/10/12 06:31:05 cph Exp $ Copyright (C) 1986, 1987, 1988, 1989, 1990, 1991, 1992, 1993, 1994, 1995, 1996, 1997, 1998, 1999, 2000, 2001, 2002, 2003, 2004, 2005, @@ -132,7 +132,9 @@ USA. ;; This notation should probably accept whitespace between the ;; brackets, but the spec is written like this: (encapsulate (lambda (v) v (make-rdf-bnode)) - "[]") + (seq "[" + parse:ws* + (alt "]" (error p "Malformed blank node")))) (map (lambda (pols) (cons 'BLANK-NODE pols)) (seq "[" parse:ws*