some bug with the constructor of the ArrayToXml class