Fix bug in handling of namespace declarations.
authorChris Hanson <org/chris-hanson/cph>
Mon, 15 Sep 2003 20:22:49 +0000 (20:22 +0000)
committerChris Hanson <org/chris-hanson/cph>
Mon, 15 Sep 2003 20:22:49 +0000 (20:22 +0000)
v7/src/xml/xml-parser.scm

index 57f5cf9f8e50c754ecfd705a6855e78bf1c52b61..fb795104faf7e5607d87cc37f246da9112549cad 100644 (file)
@@ -1,6 +1,6 @@
 #| -*-Scheme-*-
 
-$Id: xml-parser.scm,v 1.38 2003/09/11 18:38:13 cph Exp $
+$Id: xml-parser.scm,v 1.39 2003/09/15 20:22:49 cph Exp $
 
 Copyright 2001,2002,2003 Massachusetts Institute of Technology
 
@@ -507,7 +507,9 @@ USA.
                                   (if (not (and uri (string=? uri xml-uri)))
                                       (forbidden-uri uri))
                                   (guarantee-legal-uri uri))
-                              (cons (cons (string-tail s 6) uri) tail)))
+                              (cons (cons (string->symbol (string-tail s 6))
+                                          uri)
+                                    tail)))
                            (else tail))))))
              *prefix-bindings*)))
   unspecific)