It is an xml parser problem. It is not able to parse your & character. It is a special character issue. Need to use encoding and decoding special characters. Check if encoding input parameter set to UTF-8 helps. you can aslo use CDATA to ignore the content in tags. check other posts in the forum regarding special character issue.
The escape characters like <, >, & etc… are changed to entity reference like <, >, & etc… when being parsed. So you are getting the correct value in MS9501-&. Just assign UTF-8 to ‘encoding’ and true to ‘isXML’ Service-in parameters of pub:xml:xmlStringToXMLNode.
I am facing the similar issue with pub.xml:queryXMLNode service, Tried even assigning UTF-8 to ‘encoding’ and true to ‘isXML’ Service-in parameters of pub.xml:xmlStringToXMLNode but still could not resolve the issue.
Below is the sample XML:
Sr. Manager, System Eng. & Data Center
com.wm.lang.flow.WattEvaluationException: com.wm.lang.xml.WMDocumentException: [ISC.0042.9332] Malformed entity reference: & Data Center