[lxml-dev] Test failures on Windows

Sidnei da Silva sidnei at awkly.org
Sat Oct 28 23:06:06 CEST 2006


On Sat, Oct 28, 2006 at 09:55:55PM +0200, Stefan Behnel wrote:
| I think I was on the wrong track. It's a bug in libxml2, but not the right
| one. The crash appears somewhere in the long doctest in api.txt, most likely
| in a place where errors are tested when parsing from a string. That's not what
| we are looking for.

Ok... but that's no excuse for the check in HTMLparser to not be done
on parser.

| You said that your patch fixes the problem, are you certain about that?
| Because calling xmlCtxtReset() should do exactly that (and a lot more) and it
| doesn't seem to solve the problem - according to the buildbot.

Yes, it does solve the problem for me on Python 2.4, ie, OSError is
not raised after applying my patch.

-- 
-e Sidnei da Silva
-e Enfold Systems                http://enfoldsystems.com
-e Fax +1 832 201 8856     Office +1 713 942 2377 Ext 214


More information about the lxml-dev mailing list