Description
Bug: should not overwrite the value with truncated value. the fn:string-length function should always return the same value which is the un-truncated length.
We'll need a separate slot for the truncated value which is generally unused, but when actually outputting data is checked and preferred to the un-truncated value.