XML parser error: XML declaration not finished