empty XML causes error

If we have an empty XML passed we get errors.



Shouldn’t it just not display if no data/nodes are in the XML?



For instance we pass:

to the tree and it shows…



Error type: LoadXML

Description: Incorrect XML



Then

Error type:Datastructure

Description :XML reffers to not existing parent

In common case such response must be processed without error, but in your case, the first error message
>>Description: Incorrect XML
means that incoming XML data can’t be parsed correctly.

Please be sure that XML data sent with correct content type ( text/xml ) and has not any unnecessary whitespaces before <?xml definition.

1220260220.zip (46.7 KB)