<name>name & surname</name>
XML is not valid. It should be:
<name>name & surname</name>
All relevant XML tools should create this - you usually don't need to worry. If you create a string with the parameter '&' character, then the XML tool will output an escaped version. If you create the line manually, it is your responsibility to ensure that it escapes. If you are using an XML editor, you should avoid it for you.
If the file was provided to you by someone else, send it and inform that it is not correctly formed. If they no longer exist, you will have to use a simple text editor. It is fragile and dirty, but there is no other way. If the file has ampersands in another place that are used for escaping, then the file is garbage.
See 10 year post here and later here .
peter.murray.rust
source share