[Zope-Checkins] CVS: Zope/lib/python/TAL/tests - test_xmlparser.py:1.8

Fred Drake cvs-admin at zope.org
Thu Oct 23 09:39:48 EDT 2003


Update of /cvs-repository/Zope/lib/python/TAL/tests
In directory cvs.zope.org:/tmp/cvs-serv22622

Modified Files:
	test_xmlparser.py 
Log Message:
Fix error in test data:  A test document used an unbound namespace
prefix while using Expat in namespace mode; this violates the "Prefix
Declared" namespace constraint.  Expat 1.95.7 now checks this
constraint properly, so raises an exception.


=== Zope/lib/python/TAL/tests/test_xmlparser.py 1.7 => 1.8 ===
--- Zope/lib/python/TAL/tests/test_xmlparser.py:1.7	Thu Aug 22 15:43:08 2002
+++ Zope/lib/python/TAL/tests/test_xmlparser.py	Thu Oct 23 09:39:47 2003
@@ -185,8 +185,8 @@
             ])
 
     def check_attr_funky_names(self):
-        self._run_check("""<a a.b='v' c:d='v' e-f='v'/>""", [
-            ("starttag", "a", ["a.b", "v", "c:d", "v", "e-f", "v"]),
+        self._run_check("""<a a.b='v' e-f='v'/>""", [
+            ("starttag", "a", ["a.b", "v", "e-f", "v"]),
             ("endtag", "a"),
             ])
 




More information about the Zope-Checkins mailing list