Actions
Bug #3161
closed|| operator in dynamic XPath does no type checking
Start date:
2017-03-13
Due date:
% Done:
100%
Estimated time:
SEF Generated with:
Platforms:
Company:
-
Contact person:
-
Additional contact persons:
-
Description
In https://saxonica.plan.io/boards/5/topics/6712 Martin Honnen discovered cities/city!(@country || ', ' || @name)
produced a mixture of nodes and strings.
Investigation shows that the dynamic compilation of the ||
operator merely creates a concat()
call around the (compiled) arguments, with no type checking/coercion. (A specific concat()
function call does carry out type checking.)
Updated by John Lumley over 7 years ago
- Status changed from New to Resolved
Changes committed in rev 6322
Updated by Debbie Lockett over 7 years ago
- Applies to branch deleted (
9.8) - Applies to JS Branch 1.0 added
- Fix Committed on JS Branch 1.0 added
Updated by Debbie Lockett over 7 years ago
- Status changed from Resolved to Closed
- % Done changed from 0 to 100
- Fixed in JS Release set to Saxon-JS 1.0.1
Bug fix applied in Saxon-JS 1.0.1 maintenance release.
Please register to edit this issue
Actions
Also available in: Atom PDF Tracking page