Implement type conversion checking when rr:datatype is used in the
mapping document.