#295 Extension function binding fails when tracing

v8.2
closed
5
2012-10-08
2005-01-28
Michael Kay
No

When the -T option is used on the command line, or when
a TraceListener is nominated using the Java API, the
static types of expressions are calculated less
precisely than when no trace listener is used. This can
have the effect that Java extension functions cannot be
bound, especially in the case where a Java class has
several methods with the same name, distunguished only
by the types of the arguments.

Source fix: add the following method to
net.sf.saxon.instruct.TraceWrapper:

public int getCardinality() {
    return child.getCardinality();
}

Michael Kay

Discussion

Get latest updates about Open Source Projects, Conferences and News.

Sign up for the SourceForge newsletter:





No, thanks