[XML-SIG] handle drv_xmlproc_val SAXParseExceptions
Remy C. Cool
Fri, 6 Dec 2002 08:05:08 +0100
Thanks for the eye opener :)
Validation works perfectly now.
On Thursday 05 December 2002 22:32, Walter Dörwald wrote:
> 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.
> Walter Dörwald
> XML-SIG maillist - XML-SIG@python.org