Actions
Bug #2213
closedComparing QName to untypedAtomic crashes
Start date:
2014-11-06
Due date:
% Done:
0%
Estimated time:
Legacy ID:
Applies to branch:
9.6
Fix Committed on Branch:
9.6
Fixed in Maintenance Release:
Platforms:
Description
According to the XPath 3.0 specification, given the expression ($p = $q) where $p is untypedAtomic and $q is a QName, the comparison should be done after casting $p to a QName using the namespaces present in the static context. Instead, Saxon crashes:
java.lang.UnsupportedOperationException: Cannot validate a QName without a namespace resolver
See QT3 test case -s:prod-GeneralComp.eq -t:GenCompEq-22 (contributed by Saxonica)
Related issues
Please register to edit this issue
Actions