Hi,
When i try to convert a following malformed XML String into IS Document using pub.xml:xmlNodeToDocument the server is getting hanged.
<abc:HandlerEvents xmlns: xsi="http:/
but when i try the following xml string it is converting to Document.
<abc:HandlerEvents xmlns: xsi=“http://www.w3schools.com/furniture”
inputs provide for pub.xml:xmlNodeToDocument service is:
node–xml node
makeArrays–>false
documentTypeName
Can anybody suggest me what is the root cause for this issue and how it can be overcome.
This is as part of my unit testing,where i need to test a incomplete XML and check how the code behaves.
xmlNodeToDocument is not able to parse this incomplete XML, infact the server is getting hanged because of this issue.
<abc:HandlerEvents xmlns: xsi="http:/
if i remove the '/ 'at last and process xmlNodeToDocument it will convert it to document without any issue.
no matter what you feed into the service, Hanging is not acceptable. Pls open a ticket with SAG, so they can look into it.
it should fail at the xmlStringToXMLNode step, IMO.