I had a similar problem with the error: "The processing instruction target matching "[xX][mM][lL]" is not allowed." this means at my case that i had a space at the beginning from my XML file. Make sure that you have no space befor the beginning of the <?xml version="1.0" Tag
I Hope it helps you