This is an archived snapshot of W3C's public bugzilla bug tracker, decommissioned in April 2019. Please see the home page for more details.
Test evaluate-006 uses xsl:evaluate to evaluate an expression containing a reference to f:square, which is a function declared in the containing stylesheet. But it has no visibility attribute, which means it is implicitly private, and xsl:evaluate says that the static context for the dynamic expression includes: all user-defined functions present in the containing package provided their visibility is not hidden or private;
I have changed tests (including evaluate-006 and others) that call stylesheet functions from within xsl:evaluate to make the functions public, and have added a new test evaluate-045 testing that such a call fails if the function is private.