This is an archived snapshot of W3C's public bugzilla bug tracker, decommissioned in April 2019. Please see the home page for more details.
Tests current-output-uri-016 and -017 should have a dependency on higher-order-functions. I believe that -017 is incorrect because the current output URI is absent while evaluating a dynamic function call. I believe that -016 is incorrect because the last paragraph of ยง5.3.4 applies: If a dynamic function call is made that depends on the XSLT part of the dynamic context (for example, regex-group#1(2)), then the relevant components of the context are cleared as described in the table above.
I agree, both tests are wrong and should return the empty sequence because the current output URI is absent. I will fix the tests.
I've committed the changes, bug can be closed.