Created attachment 636016 [details] Test Case Description of problem: When parsing an XML file with a DTD an DTD validation enabled, parsing breaks with error "No declaration for attribute id of element platform". Same parsing works on previous versions. Version-Release number of selected component (if applicable): Works with libxml2-2.7.8-7. Broken with 2.7.8-8 and 2.7.8-9 How reproducible: Always Steps to Reproduce: 1. Compile xmltest.c with 'gcc -o xmltest xmltest.c -I/usr/include/libxml2 -lxml2' 2. Put x86.xml and myDTD.dtd into the same directory 3. Run ./xmltest Actual results: element platform: validity error : No declaration for attribute id of element platform rkstation" execution_type="hypervised" ignore_constraints="1" default_type="x86" Expected results: Parsing should be OK Additional info: Running xmllint --valid on the same file produces no error message
Created attachment 636017 [details] XML Sample file
Created attachment 636018 [details] Sample DTD
Tiens un ensimag ! Bonjour de Chine ! You're hitting that bug: https://bugzilla.gnome.org/show_bug.cgi?id=684774 fix is there: http://git.gnome.org/browse/libxml2/commit/?id=6c91aa384f48ff6d406553a6dd47fd556c1ef2e6 I didn't make a build for Fedora yet, probably once 2.9.1 is out within 1-2 weeks, Daniel
Bonjour la Chine ;) Thanks for the info, I'll wait till a new package is out and try it out then.
This message is a reminder that Fedora 17 is nearing its end of life. Approximately 4 (four) weeks from now Fedora will stop maintaining and issuing updates for Fedora 17. It is Fedora's policy to close all bug reports from releases that are no longer maintained. At that time this bug will be closed as WONTFIX if it remains open with a Fedora 'version' of '17'. Package Maintainer: If you wish for this bug to remain open because you plan to fix it in a currently maintained version, simply change the 'version' to a later Fedora version prior to Fedora 17's end of life. Bug Reporter: Thank you for reporting this issue and we are sorry that we may not be able to fix it before Fedora 17 is end of life. If you would still like to see this bug fixed and are able to reproduce it against a later version of Fedora, you are encouraged change the 'version' to a later Fedora version prior to Fedora 17's end of life. Although we aim to fix as many bugs as possible during every release's lifetime, sometimes those efforts are overtaken by events. Often a more recent Fedora release includes newer upstream software that fixes bugs or makes them obsolete.
This seems fixed in FC19. I haven't check it on FC18
Yeah sorry it wasn't too critical, so i didn't pushed on F17, Daniel
Fedora 17 changed to end-of-life (EOL) status on 2013-07-30. Fedora 17 is no longer maintained, which means that it will not receive any further security or bug fix updates. As a result we are closing this bug. If you can reproduce this bug against a currently maintained version of Fedora please feel free to reopen this bug against that version. Thank you for reporting this bug and we are sorry it could not be fixed.