Fix few compiler warnings + test for xml_parser_repomd