Fixed some errors in XML result file.