Actions
Bug #6253
closed![Author: Michael Kay](https://www.gravatar.com/avatar/db6526d63053f09b62e52c2da8b2230a?rating=PG&size=50&default=https%3A%2F%2Fassets.plan.io%2Fimages%2Fdefault_avatar.png)
![Assignee: Michael Kay](https://www.gravatar.com/avatar/db6526d63053f09b62e52c2da8b2230a?rating=PG&size=22&default=https%3A%2F%2Fassets.plan.io%2Fimages%2Fdefault_avatar.png)
Atomized item type for an array (test CastableAs667)
Start date:
2023-11-15
Due date:
% Done:
100%
Estimated time:
Legacy ID:
Applies to branch:
12, trunk
Fix Committed on Branch:
12, trunk
Fixed in Maintenance Release:
Platforms:
.NET, Java
Description
We're seeing a test failure on the 12.4 branch in QT3 test case CastableAs667; although the test passed in earlier releases, the underlying problem in the code seems to have been present for some time (and it could have other symptoms).
The code in Atomizer.getAtomizedItemType()
is supposed to return the item type of the items that will result from atomizing a given expression. The expression in this case is [[], (), [[3, ()]]]
and the atomised item type should be xs:integer
. However the method (both on the 12.4 branch and earlier) is incorrectly returning xs:error
. This causes the candidate 12.4 code to fall over saying xs:error
cannot be converted to the required type.
Please register to edit this issue
Actions