[Zope3-checkins] CVS: Zope3/src/zope/tal - xmlparser.py:1.4

Fred L. Drake, Jr. fred at zope.com
Fri Mar 19 16:42:40 EST 2004


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

Modified Files:
	xmlparser.py 
Log Message:
pass the encoding along from the constructor


=== Zope3/src/zope/tal/xmlparser.py 1.3 => 1.4 ===
--- Zope3/src/zope/tal/xmlparser.py:1.3	Fri Oct 24 12:30:45 2003
+++ Zope3/src/zope/tal/xmlparser.py	Fri Mar 19 16:42:40 2004
@@ -47,7 +47,7 @@
         ]
 
     def __init__(self, encoding=None):
-        self.parser = p = self.createParser()
+        self.parser = p = self.createParser(encoding)
         if self.ordered_attributes:
             try:
                 self.parser.ordered_attributes = self.ordered_attributes




More information about the Zope3-Checkins mailing list