remove get_xml_comments method, because is not used