From 6bc43e87eaf9d4617ec9326891ac2c4eac4ec798 Mon Sep 17 00:00:00 2001 From: Chris Hanson Date: Sun, 2 Mar 2003 03:48:47 +0000 Subject: [PATCH] Don't allow whitespace in DTD. --- v7/src/xml/xml-struct.scm | 5 ++--- 1 file changed, 2 insertions(+), 3 deletions(-) diff --git a/v7/src/xml/xml-struct.scm b/v7/src/xml/xml-struct.scm index e908e7f94..9d81688f3 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.10 2003/03/01 16:53:39 cph Exp $ +$Id: xml-struct.scm,v 1.11 2003/03/02 03:48:47 cph Exp $ Copyright 2001,2002,2003 Massachusetts Institute of Technology @@ -203,8 +203,7 @@ USA. (lambda (object) (list-of-type? object (lambda (object) - (or (xml-whitespace-string? object) - (xml-comment? object) + (or (xml-comment? object) (xml-!element? object) (xml-!attlist? object) (xml-!entity? object) -- 2.25.1