[lxml-dev] Possible 'freeing null pointer' problem with 'document()' function

Stefan Behnel stefan_ml at behnel.de
Thu Aug 23 15:43:22 CEST 2007


Sidnei da Silva wrote:
> I wrote a script that performs the same transformation outside of
> Apache, and surprisingly it works just fine. The only difference being
> that the script resolves to a file in the filesystem, and the filter
> in Apache uses urlopen().

Hmm, are you passing the file name straight into etree in the script? Because
the code for parsing from a file-like object is very different from the code
that parses from a filename.

You're using Python resolvers?

Stefan



More information about the lxml-dev mailing list