[XML-SIG] pyexpatreader default namespace feature setting
Alexandre Fayolle
Alexandre.Fayolle@logilab.fr
Fri, 16 Nov 2001 12:30:17 +0100 (CET)
On 16 Nov 2001, Lars Marius Garshol wrote:
>
> * Alexandre Fayolle
> |
> | I've given a look at the code, and it looks like the fix for the bug
> | is trivial: [...]
>
> Sorry, Alexandre, but there is no bug. The default is supposed to be
> 'false'. And since this is the parser applications get (and use) in
> most of the cases, this will also break lots of applications. We
> should change the other drivers instead.
I should add that the current Python documentation says
(http://python.org/doc/current/lib/module-xml.sax.handler.html):
'''feature_namespaces
Value: "http://xml.org/sax/features/namespaces"
true: Perform Namespace processing (default). '''
Now if lots of application break because they do not take the
documentation into account, these applications should be fixed. And the
buggy parser implementation that came in the the first place should be
fixed too.
I note that your implementation of SAX for xmlproc has the feature enabled
by default.
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).