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

#pair[hba56, fw13, jjg64]
#story[782]
main
hba56 9 years ago
parent 444a4432c6
commit 40a7ca808f

@ -83,7 +83,7 @@ public class XMLMessageDecoder {
* @return xml string as inputsource * @return xml string as inputsource
*/ */
public InputSource getXmlMessageInputSource() { public InputSource getXmlMessageInputSource() {
InputSource is = new InputSource(new StringReader(xmlMessage)); InputSource is = new InputSource(new StringReader(xmlMessage.trim()));
return is; return is;
} }

Loading…
Cancel
Save