[XML-SIG] sax parsing and namespaces

Sylvain Thenault Sylvain.Thenault@logilab.fr
Fri, 16 Nov 2001 11:55:57 +0100 (CET)


On Fri, 16 Nov 2001, Juergen Hermann wrote:

> On Fri, 16 Nov 2001 11:35:04 +0100 (CET), Alexandre Fayolle wrote:
> 
> >In other words, does, for instance, setting the
> >http://xml.org/sax/features/namespaces feature to TRUE guarantee that
> >startElementNS will be called (and not startElement). Is it a bug for an
> >instance of XmlReader to do otherwise?
> 
> AFAIK, yes. If the setFeature would not work for the parser, it's supposed
> to raise a not-supported or not-recognized exception. Besides, isn't the
> documented SAX2 default for this "true"?
> 
It is.

See my recent post 'bug in pyexpat'

-- 
Sylvain Thenault

  LOGILAB           http://www.logilab.org