From b1e13d8c44f967737f6d130477f57af8d44c9e78 Mon Sep 17 00:00:00 2001 From: Chris Hanson Date: Tue, 15 Jul 2003 02:33:10 +0000 Subject: [PATCH] Generalize method to include . --- v7/src/xml/xml-output.scm | 5 +++-- 1 file changed, 3 insertions(+), 2 deletions(-) diff --git a/v7/src/xml/xml-output.scm b/v7/src/xml/xml-output.scm index 972cdcdd8..8b68d0eb5 100644 --- a/v7/src/xml/xml-output.scm +++ b/v7/src/xml/xml-output.scm @@ -1,6 +1,6 @@ #| -*-Scheme-*- -$Id: xml-output.scm,v 1.19 2003/07/03 16:47:49 cph Exp $ +$Id: xml-output.scm,v 1.20 2003/07/15 02:33:10 cph Exp $ Copyright 2001,2002,2003 Massachusetts Institute of Technology @@ -317,7 +317,8 @@ USA. (write-xml-external-id (xml-!notation-id decl) col ctx) (emit-string ">" ctx))) -(define-method %write-xml ((string ) ctx) +(define-method %write-xml + ((string (union-specializer )) ctx) (write-escaped-string string '((#\< . "<") (#\& . "&")) -- 2.25.1