[XML-SIG] handle drv_xmlproc_val SAXParseExceptions

Walter Dörwald walter@livinglogic.de
Thu, 05 Dec 2002 22:32:51 +0100


Remy C. Cool wrote:

> I've double checked that part, but it was a long day today so I could 
> have overlooked something.
> 
> This is my __init__ :
> 
> def __init__(self):
> 
>       # containers
>       self.warning = []
>       self.error = []
> 
>       # flags
>       self.is_inside_template_tag = 0
>       self.description = ''
>       self.is_inside_description_tag = 0
> 
> The self.warning and self.error lists are declared, so that's not the 
> problem.

It *is* the problem. By setting the warning attribute on the instance,
you're hiding the method.

Bye,
    Walter Dörwald