def METHOD_NAME(self, validate_list):
    """
    Run Fast DDS XML configuration files validation.
    :param validate_list: List with the directories and files to validate.
    :return: False if failed parsing, otherwise True.
    """
    valid = True
    self.__visited_dirs.clear()
    for element in validate_list:
        element = os.path.abspath(element)
        if os.path.isdir(element):
            valid = valid and self.__validate_xml_from_dir(element)
        elif os.path.isfile(element):
            if self.__is_xml(element):
                valid = valid and self.__validate_xml_file(element)
            else:
                print(f'The file is not an XML file: {element}')
                valid = False
        else:
            print(f'{element} path not found')
            valid = False
    return valid