[lxml-dev] Resolvers not passed on to sub-documents?

Sidnei da Silva sidnei at enfoldsystems.com
Mon May 21 16:08:13 CEST 2007


This might or might not have been fixed recently. I am using lxml 1.2.
I'm writing a self-contained test for this.

If you have a XSLT that includes another XSLT, which in turn includes
a third one, the resolvers doesn't seem to be passed on.

theme.xsl:
  xsl:import sub.xsl

sub.xsl:
  xsl:import common.xsl

The custom resolver I passed when parsing theme.xsl is used to resolve
'sub.xsl' but not to resolve 'common.xsl'. I remember discussing a
similar issue, maybe this is a problem with libxml2?

-- 
Sidnei da Silva
Enfold Systems                http://enfoldsystems.com
Fax +1 832 201 8856     Office +1 713 942 2377 Ext 214


More information about the lxml-dev mailing list