Project

Profile

Help

Bug #4780

closed

UntypedAtomic to xs:double conversion does not happen for a dynamic call to fn:abs#1

Added by Michael Kay over 3 years ago. Updated about 3 years ago.

Status:
Closed
Priority:
Normal
Assignee:
Category:
XPath Conformance
Sprint/Milestone:
-
Start date:
2020-10-04
Due date:
% Done:

100%

Estimated time:
Applies to JS Branch:
2
Fix Committed on JS Branch:
2
Fixed in JS Release:
SEF Generated with:
Platforms:
Company:
-
Contact person:
-
Additional contact persons:
-

Description

XSLT3 Test case higher-order-functions-038 fails. The test makes a dynamic call on fn:abs#1 supplying an xs:untypedAtomic value that should be converted to a double. It appears that no conversion is attempted. The call fails:

Supplied value atomic:AZ('123.456') does not match required type xs:numeric? in dynamic call of Q{http://www.w3.org/2005/xpath-functions}abs#1

(Incidentally, should fix "atomic:AZ" in the error message)

Please register to edit this issue

Also available in: Atom PDF Tracking page