From 2774e59e86e578ceaf533f43b49ac60239c3073d Mon Sep 17 00:00:00 2001 From: Chris Hanson Date: Thu, 2 Feb 2006 20:50:26 +0000 Subject: [PATCH] Allow URIs as char-data. --- v7/src/xml/xml-struct.scm | 4 +++- 1 file changed, 3 insertions(+), 1 deletion(-) 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 -- 2.25.1