Learn how easy it is to sync an existing GitHub or Google Code repo to a SourceForge project! See Demo

Close

#29 Intensional node-set dependency problem

v6.4
closed
Michael Kay
5
2014-02-17
2001-09-07
Michael Kay
No

Transformation fails with the error
message: "java.lang.UnsupportedOperationException:
Cannot create intensional node-set with context
dependencies: class
com.icl.saxon.expr.AxisExpression:8"

It's difficult to be precise about the circumstances;
it happens when an axis expression (that is, a simple
path expression) is reduced more than once. This will
be because it occurs nested in more than one construct
that binds the expression to the context node. The
particular example reported was:

<xsl:for-each select="*[count(. | key('c', g)[1]) =
1]">

Reported by Joerg Pietschmann
[joerg.pietschmann@zkb.ch] on 21 Aug 2001

Source code fixed by MHK 7 Sept 2001: the fix is in
AxisExpression.reduce: the code should do nothing if
the context node has already been bound.

Discussion