XML client class: error parsing XML data