Fix bug: the root name of a DTD must be a qname; it may not have an
authorChris Hanson <org/chris-hanson/cph>
Thu, 12 Aug 2004 06:31:01 +0000 (06:31 +0000)
committerChris Hanson <org/chris-hanson/cph>
Thu, 12 Aug 2004 06:31:01 +0000 (06:31 +0000)
associated IRI.

v7/src/xml/xml-struct.scm

index 2bc037d9abd886cc1f2073b4ae13bfe0f1cd53ca..2aca64af6cb8fe7a0593de78f56a54c86714fa17 100644 (file)
@@ -1,6 +1,6 @@
 #| -*-Scheme-*-
 
-$Id: xml-struct.scm,v 1.45 2004/08/10 01:09:41 cph Exp $
+$Id: xml-struct.scm,v 1.46 2004/08/12 06:31:01 cph Exp $
 
 Copyright 2001,2002,2003,2004 Massachusetts Institute of Technology
 
@@ -238,7 +238,7 @@ USA.
   (text canonicalize canonicalize-char-data))
 
 (define-xml-type dtd
-  (root xml-name?)
+  (root xml-qname?)
   (external (lambda (object)
              (or (not object)
                  (xml-external-id? object))))