Actions
Bug #4225
closedImprecise type inference for xml-to-json() function
Start date:
2019-05-24
Due date:
% Done:
100%
Estimated time:
Legacy ID:
Applies to branch:
9.9, trunk
Fix Committed on Branch:
9.9, trunk
Fixed in Maintenance Release:
Platforms:
Description
The static type inferred for the result of the xml-to-json()
function is item()?
rather than xs:string()?
.
This is unnecessarily imprecise, which means that optimizations on the enclosing expression don't kick in.
Updated by Michael Kay almost 5 years ago
- Status changed from New to Resolved
- Fix Committed on Branch 9.9, trunk added
Fixed by a simple change to the table of function signatures.
Updated by O'Neil Delpratt almost 5 years ago
- Status changed from Resolved to Closed
- % Done changed from 0 to 100
- Fixed in Maintenance Release 9.9.1.4 added
Bug fix applied in the Saxon 9.9.1.4 maintenance release
Please register to edit this issue
Actions