Actions
Bug #5068
closedsaxon:assign doesn't check that the value is of the required type
Start date:
2021-08-25
Due date:
% Done:
100%
Estimated time:
Legacy ID:
Applies to branch:
10, trunk
Fix Committed on Branch:
10, trunk
Fixed in Maintenance Release:
Platforms:
Description
See https://saxonica.plan.io/boards/3/topics/8278?pn=1&r=8284#message-8284
It appears that we aren't checking that the assigned value is compatible with the declared type of the variable.
Updated by Michael Kay about 3 years ago
- Status changed from New to Resolved
- Applies to branch 10, trunk added
- Fix Committed on Branch 10, trunk added
Problem reproduced. Test cases added - assign-005/006 in xslt3-extra. Fixed by adding typeCheck method to assign.java.
Updated by O'Neil Delpratt about 3 years ago
- Status changed from Resolved to Closed
- % Done changed from 0 to 100
- Fixed in Maintenance Release 10.6 added
Bug fix applied in the Saxon 10.6 maintenance release
Please register to edit this issue
Actions