[XML-SIG] [ pyxml-Bugs-542969 ] XMLFilterBase has wrong superclass.

noreply@sourceforge.net noreply@sourceforge.net
Fri, 12 Apr 2002 05:51:23 -0700


Bugs item #542969, was opened at 2002-04-12 05:51
You can respond by visiting: 
http://sourceforge.net/tracker/?func=detail&atid=106473&aid=542969&group_id=6473

Category: SAX
Group: None
Status: Open
Resolution: None
Priority: 5
Submitted By: Nobody/Anonymous (nobody)
Assigned to: Nobody/Anonymous (nobody)
Summary: XMLFilterBase has wrong superclass.

Initial Comment:
Hi,

The XMLFilterBase class in the saxutils module has the 
wrong superclass.

It should subclass XMLFilter, but instead subclasses 
XMLReader.

This means that it's constructor takes the wrong 
number of arguments. It's constructor should take a 
parameter of the parser which it wraps and filters the 
events of.

But trying to pass a parameter to the constructor as 
it is now causes an exception.

Changing the superclass from "XMLReader" 
to "XMLFilter" seems to fix the problem.

Cheers,

Alan Kennedy.


----------------------------------------------------------------------

You can respond by visiting: 
http://sourceforge.net/tracker/?func=detail&atid=106473&aid=542969&group_id=6473