Your XML file is not a so-called well-formed one.
It should be like this
<customer>
<companyname>Testing & Testing Pvtltd</companyname>
</customer>
Each beginning tag must have a corresponding ending tag.
e.g.
<MyData>...</MyData>
You can verify XML files online here:
Validate XML files[
^]