From: Chris Hanson Date: Thu, 2 Feb 2006 20:50:26 +0000 (+0000) Subject: Allow URIs as char-data. X-Git-Tag: 20090517-FFI~1106 X-Git-Url: https://birchwood-abbey.net/git?a=commitdiff_plain;h=2774e59e86e578ceaf533f43b49ac60239c3073d;p=mit-scheme.git Allow URIs as char-data. --- diff --git a/v7/src/xml/xml-struct.scm b/v7/src/xml/xml-struct.scm index 662698a65..d61dbe491 100644 --- a/v7/src/xml/xml-struct.scm +++ b/v7/src/xml/xml-struct.scm @@ -1,6 +1,6 @@ #| -*-Scheme-*- -$Id: xml-struct.scm,v 1.53 2006/01/31 06:14:29 cph Exp $ +$Id: xml-struct.scm,v 1.54 2006/02/02 20:50:26 cph Exp $ Copyright 2001,2002,2003,2004,2005,2006 Massachusetts Institute of Technology @@ -168,6 +168,8 @@ USA. ((and (string? object) (utf8-string-valid? object)) object) + ((uri? object) + (uri->string object)) (else (error:wrong-type-datum object "an XML char data")))) (define-xml-type element