[XML-SIG] gray areas in Python SAX API

Alexandre Fayolle Alexandre.Fayolle@logilab.fr
Mon, 19 Nov 2001 15:49:53 +0100 (CET)


On Fri, 16 Nov 2001, Alexandre Fayolle wrote:

> I agree that this may be caused by one of the parser being in namespace
> mode (and using startElementNS) and not the other one (which would be
> using startElement) in which case, the problem would be in the handler. 

I've fixed the handlers in dom/ext/reader/Sax2.py and PyExpat.py to work
properly. The startElement callback was wrong. I've also commited changes
that enable the xmlns='' attribute to work. 

All of this works if feature_namspace is false for now. I'll now check the
case where feature_namespace is true. 

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).