[XML-SIG] handle drv_xmlproc_val SAXParseExceptions

Remy C. Cool dev-xml@smartology.nl
Fri, 6 Dec 2002 08:05:08 +0100


Thanks for the eye opener :)
Validation works perfectly now. 

Regards,
Remy

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.
>
> Bye,
>     Walter Dörwald
>
>
> _______________________________________________
> XML-SIG maillist  -  XML-SIG@python.org
> http://mail.python.org/mailman/listinfo/xml-sig