[Zpt] CVS: Packages/TAL - XMLParser.py:1.4

guido@digicool.com guido@digicool.com
Fri, 16 Mar 2001 10:51:19 -0500 (EST)


Update of /cvs-repository/Packages/TAL
In directory korak:/tmp/cvs-serv26335

Modified Files:
	XMLParser.py 
Log Message:
In parseString(), use expat's Parse() method rather than using
cStringIO.



--- Updated File XMLParser.py in package Packages/TAL --
--- XMLParser.py	2001/02/15 04:39:48	1.3
+++ XMLParser.py	2001/03/16 15:51:18	1.4
@@ -143,8 +143,7 @@
         self.parseStream(open(filename))
 
     def parseString(self, s):
-        from cStringIO import StringIO
-        self.parseStream(StringIO(s))
+        self.parser.Parse(s, 1)
 
     def parseURL(self, url):
         import urllib