[lxml-dev] Using EXSLT extensions on Windows with standard lxml binaries
Stefan Behnel
stefan_ml at behnel.de
Tue Feb 26 21:56:28 CET 2008
Hi,
Alexander Kozlovsky wrote:
>> Alexander Kozlovsky wrote:
>>> I'm trying to use EXSLT extension functions on Windows
>>> with standard lxml binary distribution (lxml-1.3.6.win32-py2.4.exe)
>>>
>>> I'm trying to do the next, but it is not work as expected:
>> What result do you get?
>
> This exception:
>
> XSLTApplyError: Internal error: Failed to evaluate the AVT of attribute 'class'
>
>> Try removing the following line (except for the '>', obviously):
>>
>>> extension-element-prefixes="str">
>
> I got the same error
Interesting. Could you run the test suite from the source distribution? There
are a couple of EXSLT tests in there.
Just unpack the source tar.gz from PyPI and (having lxml installed) run
"python test.py".
>>> Is it possible to use EXSLT extensions on Windows without rebuilding
>>> of standard binaries?
>> Never tried, but I wouldn't know a reason why this should fail.
>
> Probably I misread this old message:
> http://codespeak.net/pipermail/lxml-dev/2006-April/001098.html
>
> "However, this requires linking against libexslt"
>
> So, I have supposed (maybe incorrectly) standard widows binaries
> does not linked against libexslt
That shouldn't have anything to do with it.
Stefan
More information about the lxml-dev
mailing list