Added log message in case of XML parsing error