added .trim to remove the unwanted bytes at the end of xml
#pair[hba56, fw13, jjg64] #story[782]
This commit is contained in:
@@ -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;
|
||||||
}
|
}
|
||||||
|
|
||||||
|
|||||||
Reference in New Issue
Block a user