Hi Ally,
You need to replace the XML invalid characters (using UDF or standard function in message mapping within SAP-PI). The list of these invalid characters can be found in this link in "entity references" section
http://www.w3schools.com/xml/xml_syntax.asp .
Regards
Anupam