[Zope3-checkins] CVS: Zope3/src/zope/tal/tests - test_xmlparser.py:1.3

Fred Drake cvs-admin at zope.org
Fri Oct 24 12:31:18 EDT 2003


Update of /cvs-repository/Zope3/src/zope/tal/tests
In directory cvs.zope.org:/tmp/cvs-serv8067

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.


=== Zope3/src/zope/tal/tests/test_xmlparser.py 1.2 => 1.3 ===
--- Zope3/src/zope/tal/tests/test_xmlparser.py:1.2	Wed Dec 25 09:15:31 2002
+++ Zope3/src/zope/tal/tests/test_xmlparser.py	Fri Oct 24 12:31:17 2003
@@ -193,8 +193,8 @@
             ])
 
     def test_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 Zope3-Checkins mailing list