added an error logger for unparsable xml.