Created attachment 871890 [details] Minimal reproducer Description of problem: I'm loading yum groups XML and then saving it with python bindings. DTD Formal Public Identifier in generated XML file always starts with -//Red Hat, Inc.// regardless of source XML. Version-Release number of selected component (if applicable): libcomps-0.1.6-3.fc21.x86_64 python-libcomps-0.1.6-3.fc21.x86_64 python-2.7.5-11.fc20.x86_64 How reproducible: Always Steps to Reproduce: 1. Download attached p.py and centosdtd.xml 2. Run python p.py 3. Run diff -u centosdtd.xml generated.xml Actual results: Diff output shows: -<!DOCTYPE comps PUBLIC "-//CentOS//DTD Comps info//EN" "comps.dtd"> +<!DOCTYPE comps PUBLIC "-//Red Hat, Inc.//DTD Comps info//EN" "comps.dtd"> Expected results: Original DTD Public identifier should be used. Additional info:
Created attachment 871891 [details] Input yum groups file
Cant reproduce. Generated xml contains "-//Red Hat, Inc.//DTD Comps info//EN" "comps.dtd" in DOCTYPE. I'm not sure I did something that could fixed wrong dtd path during I fixed other bugs (most probably not). But this bug will be fixed in next release for sure.
Sorry for misleading conclusion. I read "should always start". So it's really the bug.
fixed in libcomps-0.1.6-10.fc21.x86_64
libcomps-0.1.6-10.fc20 has been submitted as an update for Fedora 20. https://admin.fedoraproject.org/updates/libcomps-0.1.6-10.fc20
libcomps-0.1.6-10.fc20 has been pushed to the Fedora 20 stable repository. If problems still persist, please make note of it in this bug report.