Actions
Bug #3161
closed![Author: John Lumley](https://www.gravatar.com/avatar/a396403554bf8f2c9d1d59fd085d7d5f?rating=PG&size=50&default=https%3A%2F%2Fassets.plan.io%2Fimages%2Fdefault_avatar.png)
![Assignee: John Lumley](https://www.gravatar.com/avatar/a396403554bf8f2c9d1d59fd085d7d5f?rating=PG&size=22&default=https%3A%2F%2Fassets.plan.io%2Fimages%2Fdefault_avatar.png)
|| 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.)
Please register to edit this issue
Actions
Also available in: Atom PDF Tracking page