added .trim to remove the unwanted bytes at the end of xml

#pair[hba56, fw13, jjg64]
#story[782]
This commit is contained in:
hba56
2017-05-01 15:21:42 +12:00
parent 444a4432c6
commit 40a7ca808f
@@ -83,7 +83,7 @@ public class XMLMessageDecoder {
* @return xml string as inputsource
*/
public InputSource getXmlMessageInputSource() {
InputSource is = new InputSource(new StringReader(xmlMessage));
InputSource is = new InputSource(new StringReader(xmlMessage.trim()));
return is;
}