Hi,
We've noticed that the CDN-served errata.xml is being reformatted which is breaking XML parsing in downstream applications (see wied03/centos-package-cron#24)
In the "raw" (still on GitHub) an entry is formatted as
<CEBA-2018--0330 description="Not available" from="centos-announce@centos.org" issue_date="2018-04-26 17:41:10" notes="Not available" product="CentOS Linux" references="https://access.redhat.com/errata/RHBA-2018:0330 https://lists.centos.org/pipermail/centos-cr-announce/2018-April/004796.html" release="1" solution="Not available" synopsis="CentOS fio BugFix Update" topic="Not available" type="Bug Fix Advisory">
<os_arch>x86_64</os_arch>
<os_release>7</os_release>
<packages>fio-3.1-2.el7.x86_64.rpm</packages>
</CEBA-2018--0330>
In the version served from the CDN
<CEBA-2018--0330 description="Not available" from="centos-announce@centos.org" issue_date="2018-04-26 17:41:10" notes="Not available" os_arch="x86_64" os_release="7" packages="fio-3.1-2.el7.x86_64.rpm" product="CentOS Linux" references="https://access.redhat.com/errata/RHBA-2018:0330 https://lists.centos.org/pipermail/centos-cr-announce/2018-April/004796.html" release="1" solution="Not available" synopsis="CentOS fio BugFix Update" topic="Not available" type="Bug Fix Advisory"/>
What we're observing is that single-instance properties e.g. os_release are pulled into the root node as properties rather than child XML elements.
Thanks,
@mrwilson and @tsetsova
Hi,
We've noticed that the CDN-served errata.xml is being reformatted which is breaking XML parsing in downstream applications (see wied03/centos-package-cron#24)
In the "raw" (still on GitHub) an entry is formatted as
In the version served from the CDN
What we're observing is that single-instance properties e.g.
os_releaseare pulled into the root node as properties rather than child XML elements.Thanks,
@mrwilson and @tsetsova