this is wrong. It is not always an array, as ``parseXmlValue`` is not always an array, and you return it on line 247