Actions
Bug #6160
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)
Key type in a MapTest cannot be a union type
Start date:
2023-08-08
Due date:
% Done:
100%
Estimated time:
Legacy ID:
Applies to branch:
11, 12, trunk
Fix Committed on Branch:
11, 12, trunk
Description
In XPath 3.1 the rules for a MapTest
(syntax map(K, V)
) allow K
to be either an atomic type or a pure union type. Saxon is allowing only atomic types. For example, it rejects xs:numeric
, as well as schema-defined union types.
I have added tests to the qt4 prod-MapTest test set to demonstrate the problem (which isn't specific to 4.0 extensions).
Please register to edit this issue
Actions