[lxml-dev] custom resolver, why does system url start with XSLT:?
Stefan Behnel
stefan_ml at behnel.de
Sat Oct 20 18:37:59 CEST 2007
Hi,
Stefan Behnel wrote:
> Brad Clements wrote:
>> Maybe the etree.Resolver.resolve_string needs to pass the URI back into
>> libxml2 when loading the string?
>
> Ah, sure, if you do everything through Python resolvers, then a "base_url"
> keyword on the resolve_string() method totally makes sense. I will also look
> through the resolver code in general to see if anything else is missing here.
I did some cleanup of the XSLT resolver code, here is revision 47637 of the
current trunk. It should apply nicely against 2.0alpha4. Could you give it a try?
Stefan
-------------- next part --------------
A non-text attachment was scrubbed...
Name: resolvers+XSLT.patch
Type: text/x-patch
Size: 5890 bytes
Desc: not available
Url : http://codespeak.net/pipermail/lxml-dev/attachments/20071020/d49db3d1/attachment.bin
More information about the lxml-dev
mailing list