This errors are created hourly on CentOS7 systems by: /etc/cron.hourly/0yum-hourly.cron

I fixed like this:

[root@name1 named]# yum check-update  | tail -2  
Updateinfo file is not valid XML: <open file '/var/cache/yum/x86_64/7/epel/gen/updateinfo.xml', mode 'rt' at 0x4bbe150>
util-linux.x86_64                         2.23.2-33.el7_3.2              updates
webmin.noarch                             1.840-1                        Webmin 

[root@name1 named]# yum clean all
...

[root@name1 named]# rm -rf /var/cache/yum/*

[root@name1 named]# yum makecache
...

[root@name1 named]# yum check-update  | tail -2  
util-linux.x86_64                         2.23.2-33.el7_3.2              updates
webmin.noarch                             1.840-1                        Webmin 

**** ERROR IS GONE ****