[lxml-dev] custom resolver, why does system url start with XSLT:?

Brad Clements bkc at murkworks.com
Tue Oct 23 22:46:00 CEST 2007


Sorry I am not able to test the .pxi code, I don't have the tools needed 
to compile it.


Stefan Behnel wrote:
> 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
>   


-- 
Brad Clements,                bkc at murkworks.com    (315)268-1000
http://www.murkworks.com                          
AOL-IM: BKClements



More information about the lxml-dev mailing list