We have used groovy scripting in a mapfunction whose source profile is XML. There is a field called "currency_code" and it persists a value of "GBP". The input is set to character in the scripting. However, the script always reads it as null. when executing a string comparision, it gives a false value as a result of it.