From: Chris Hanson Date: Tue, 16 Jan 2007 21:16:46 +0000 (+0000) Subject: Allow the local part of an RDF qname to be an arbitrary UTF-8 string. X-Git-Tag: 20090517-FFI~783 X-Git-Url: https://birchwood-abbey.net/git?a=commitdiff_plain;h=b051121bdf683b0de5a9cec2f278861a98d0072e;p=mit-scheme.git Allow the local part of an RDF qname to be an arbitrary UTF-8 string. --- diff --git a/v7/src/xml/rdf-struct.scm b/v7/src/xml/rdf-struct.scm index 45373810c..5e2791a64 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.24 2007/01/05 21:19:29 cph Exp $ +$Id: rdf-struct.scm,v 1.25 2007/01/16 21:16:46 cph Exp $ Copyright (C) 1986, 1987, 1988, 1989, 1990, 1991, 1992, 1993, 1994, 1995, 1996, 1997, 1998, 1999, 2000, 2001, 2002, 2003, 2004, 2005, @@ -303,7 +303,7 @@ USA. (define (rdf-qname? object) (and (interned-symbol? object) - (complete-match match-qname (symbol-name object)))) + (match-prefix (string->parser-buffer (symbol-name object))))) (define-guarantee rdf-qname "RDF QName") @@ -313,9 +313,6 @@ USA. (define-guarantee rdf-prefix "RDF prefix") -(define match-qname - (*matcher (seq match-prefix match:name))) - (define match-prefix (*matcher (seq (? match:prefix-name) ":")))