#894 Saxon-SA with tracing: no slot for template params

v9.1
closed
Michael Kay
5
2012-10-08
2008-11-18
Michael Kay
No

When Saxon-SA is used with tracing enabled (-T), the body of an xsl:template may be wrongly moved into a newly created global variable, xsl:param elements and all. The likely outcome is a run-time error saying that no slot has been allocated for the xsl:param element: "Internal error: invalid slot number for local variable (0)". A patch will be placed in Subversion. Although the problem only affects Saxon-SA users, the fix is in Saxon-B code (XSLTemplate.java).

Discussion

  • Michael Kay
    Michael Kay
    2008-12-17

    Fixed in 9.1.0.5