From: Chris Hanson Date: Tue, 15 Jul 2003 02:33:10 +0000 (+0000) Subject: Generalize method to include . X-Git-Tag: 20090517-FFI~1871 X-Git-Url: https://birchwood-abbey.net/git?a=commitdiff_plain;h=b1e13d8c44f967737f6d130477f57af8d44c9e78;p=mit-scheme.git Generalize method to include . --- 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 '((#\< . "<") (#\& . "&"))