xmlvalidate() supports the ncr option:
ncr={non_ascii | non_server | no}
At runtime, the ncr option applies only if the datatype of the result clause is a string or Unicode datatype. For example, the option does not apply to numeric, datetime, or money datatypes.
The default NCR option value is ncr=no if the returns datatype is a Unicode datatype: unichar, univarchar, unitext, or java.lang.String.
The default NCR option value is ncr=non_server if the returns datatype is a string datatype: char, varchar, or text.