[XML-SIG] xmlproc bug ?

Alexandre Fayolle Alexandre.Fayolle@logilab.fr
Thu, 6 Sep 2001 12:13:44 +0200 (CEST)


On Wed, 5 Sep 2001, Roman Suzi wrote:

> On Wed, 5 Sep 2001, Alexandre Fayolle wrote:
> 
> >Is the following behaviour a well known feature or a bug (or me deeply
> >misunderstanding SAX)? It looks like xmlproc's Sax2 driver won't produce
> >UTF-8 encoded text when parsing a iso-8859-1 encoded file.
> >
> >The attached file demonstrates this. I tested it on python 1.5.2 and
> >2.1.1, using PyXML 0.6.6.
> >
> >I'll register this in the bugtracker if it turns out to be a bug.
> 
> I thought make_parser needs a list, not string:
> 
> p = make_parser(["xml.sax.drivers2.drv_xmlproc"])

Well, both appear to be working. The code I posted did not cause an
exception and even got me the right parser.

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