XDV does not seem to compile "descendant" axis
Affects | Status | Importance | Assigned to | Milestone | |
---|---|---|---|---|---|
xdv |
Won't Fix
|
Undecided
|
Unassigned |
Bug Description
Found that XDV does not seem to compile "descendant" axis.
In order to remove images from the Plone menu portlet in my rules.xml I added:
<drop content=
This produced the following in debug mode:
2011-01-07 12:37:09 ERROR plone.transform
Traceback (most recent call last):
File "/usr/local/
newResult = handler.
File "/usr/local/
transform = self.setupTrans
File "/usr/local/
transform = etree.XSLT(
File "xslt.pxi", line 399, in lxml.etree.
XSLTParseError: xsltCompilePattern : failed to compile '//li[@
Conversley the child axis compiles fine:
<drop content=
This needs better documentation.
<drop theme="..."/> compiles to an <xsl:template match="...">. This restricts it to a location path selector, see https:/ /bugs.launchpad .net/xdv/ +bug/657968 for the full details.
Laurence