[XML-SIG] Re: [XML-checkins]CVS: xml/xml/xpath __init__.py,1.4,1.5

Alexandre Fayolle Alexandre.Fayolle@logilab.fr
Tue, 27 Nov 2001 09:46:15 +0100 (CET)


On Mon, 26 Nov 2001, Martin v. Loewis wrote:

> > added missing exception
> 
> Can you please elaborate why this is necessary? SyntaxException cannot
> occur in PyXML, since XPathParser isn't used.

In a number of files in xml.xslt, xpath.SyntaxException is used. Importing
these files without the patch will cause an ImportError or a NameError.

Maybe the patch is not the most adapted fix to the problem, in which case
I'll be glad to revert it and fix the bug differently. See also
http://mail.python.org/pipermail/xml-sig/2001-November/006643.html for my
original post about the bug.

Alexandre Fayolle
-- 
LOGILAB, Paris (France).
http://www.logilab.com   http://www.logilab.fr  http://www.logilab.org
Narval, the first software agent available as free software (GPL).