[Python-bugs-list] [Bug #128223] Typo in saxutils.py

noreply@sourceforge.net noreply@sourceforge.net
Wed, 10 Jan 2001 07:13:29 -0800


Bug #128223, was updated on 2001-Jan-09 14:15
Here is a current snapshot of the bug.

Project: Python
Category: XML
Status: Closed
Resolution: Fixed
Bug Group: None
Priority: 5
Submitted by: malraux
Assigned to : larsga
Summary: Typo in saxutils.py

Details: Line 221 of saxutils.py in the Python 2.0 (#1, Oct 16 2000,
18:10:03) release is:

f.setSystemId(f.name)

It should be:

source.setSystemId(f.name)

If you pass an existing open file object into the parse routine, line 221
will throw "AttributeError: setSystemId".


Follow-Ups:

Date: 2001-Jan-10 07:13
By: fdrake

Comment:
Already fixed in Lib/xml/sax/saxutils.py revision 1.13, by Lars Garshol.
-------------------------------------------------------

For detailed info, follow this link:
http://sourceforge.net/bugs/?func=detailbug&bug_id=128223&group_id=5470