[lxml-dev] broken document('') in xslt ..
Stefan Behnel
stefan_ml at behnel.de
Mon Dec 3 13:02:22 CET 2007
Hi,
Brad Clements wrote:
> I am having trouble with a transform on 2.0alpha5 (and 2.0alpha3). It
> works on a system with a newer libxml2/libxslt,
> but fails on a slightly older libxml2/libxslt. However when using
> xsltproc on the "older" system, the transform works.
We actually do have test cases for "document('')" in XSLT and my last test
didn't show any problems here. Maybe it's only an issue when custom resolvers
come into play.
I'll look into this.
> Can anyone suggest something? (upgrading libxslt on this system will be
> difficult)
It looks like you have a sane build environment available. You can try to
build a recent libxml2 and libxslt by hand (without installing them) and link
them statically into lxml to work around this. It will add some 4-5 megs to
the size of the lxml install, though.
This should get you going:
http://codespeak.net/lxml/dev/build.html#static-linking-on-windows
Stefan
More information about the lxml-dev
mailing list