This is an archived snapshot of W3C's public bugzilla bug tracker, decommissioned in April 2019. Please see the home page for more details.

Bug 30411 - [xslt30ts] current-output-uri() while evaluating dynamic function calls
Summary: [xslt30ts] current-output-uri() while evaluating dynamic function calls
Status: ASSIGNED
Alias: None
Product: XPath / XQuery / XSLT
Classification: Unclassified
Component: XSLT 3.0 Test Suite (show other bugs)
Version: Recommendation
Hardware: PC All
: P2 normal
Target Milestone: ---
Assignee: Abel Braaksma
QA Contact: Mailing list for public feedback on specs from XSL and XML Query WGs
URL:
Whiteboard:
Keywords:
Depends on:
Blocks:
 
Reported: 2019-03-06 21:26 UTC by Michael Kay
Modified: 2019-03-08 15:59 UTC (History)
0 users

See Also:


Attachments

Description Michael Kay 2019-03-06 21:26:18 UTC
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.
Comment 1 Abel Braaksma 2019-03-08 15:37:37 UTC
I agree, both tests are wrong and should return the empty sequence because the current output URI is absent. I will fix the tests.
Comment 2 Abel Braaksma 2019-03-08 15:59:18 UTC
I've committed the changes, bug can be closed.