Actions
Bug #6160
closedKey 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