Bug #4780
closedUntypedAtomic to xs:double conversion does not happen for a dynamic call to fn:abs#1
100%
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)
Updated by Michael Kay about 4 years ago
Function coerce()
at Expr.js#3034 is not handling a required type of xs:numeric
correctly.
This is probably a consequence of the recent changes to refactor handling of atomic types.
Updated by Michael Kay about 4 years ago
Fixed coerce() function, test now working.
Updated by Michael Kay about 4 years ago
- Status changed from New to Resolved
- Applies to JS Branch 2.0, Trunk added
- Fix Committed on JS Branch 2.0, Trunk added
Test case xs-numeric-019 was still failing in coerce() - not sure if this was a regression caused by this patch - but it's now fixed.
Updated by Community Admin almost 4 years ago
- Applies to JS Branch 2 added
- Applies to JS Branch deleted (
2.0, Trunk)
Updated by Community Admin almost 4 years ago
- Fix Committed on JS Branch 2 added
- Fix Committed on JS Branch deleted (
2.0, Trunk)
Updated by Debbie Lockett almost 4 years ago
- Status changed from Resolved to Closed
- % Done changed from 0 to 100
- Fixed in JS Release set to Saxon-JS 2.1
Bug fix applied in the Saxon-JS 2.1 maintenance release.
Please register to edit this issue
Also available in: Atom PDF Tracking page