Created attachment 775639 [details] And example xsd file to use with /usr/bin/xmllint to demo the problem When loading a xsd file for xml validation, I received the following message to STDERR. example.xsd:4: element complexType: Schemas parser error : local complex type: The content model is not determinist. WXS schema example.xsd failed to compile NOTE: "example.xsd" file is the name of my xsd file I am using. In the most recent RPM update to libxml2, I've encountered a new problem which I believe is a regression. RPM info I am using... rpm(cur) : libxml2-2.6.26-2.1.21.el5_9.2 from : https://rhn.redhat.com/errata/RHBA-2013-0591.html rel. date : 2013-03-05 If I downgrade to libxml2-2.6.26-2.1.21.el5_9.1 the problem goes away. I was seeing this in my libxml2 code, but can reproduce it with rpm provided /usr/bin/xmllint I can reproduce this with a stripped down xsd file, see attached xsd file. To reproduce, just run /usr/bin/xmllint --schema bad.xsd somefile.xml You can have somefile.xml just be an empty file, the contents are unimportant. The error happens when it is trying to process the xsd file. I see this on all RHEL 5.9 Server/Workstation machines that have the latest libxml2 RPM libxml2-2.6.26-2.1.21.el5_9.2 For our critical operation machines, I had to downgrade to libxml2-2.6.26-2.1.21.el5_9.1
I think it is a duplicate of https://bugzilla.redhat.com/show_bug.cgi?id=922450 could you double check with the provided tests rpms at ftp://xmlsoft.org/libxml2/test/ fix the issue you are seeing ? thanks, Daniel
I don't have access to see the other bug. But, yes, I tried the rpm (libxml2-2.6.26-2.1.24.x86_64.rpm) from the link and it does fix the problem. Thanks for the fix Daniel -grant
okidoc, it's a duplicate then ! thanks for reporting back ! Daniel *** This bug has been marked as a duplicate of bug 922450 ***