GNOME Bugzilla – Bug 400425
xmllint does not support https dtd
Last modified: 2017-12-11 20:28:03 UTC
we have an xml document which has a dtd hosted at an https url. xmllint cannot pull the dtd and complains. $ xmllint test.xml --noout --valid test.xml:2: I/O error : failed to load external entity "https://host.example.com/dtd/test.dtd" YPE test SYSTEM "https://host.example.com/dtd/test.dtd" ^ test.xml:2: warning: failed to load external entity "https://host.example.com/dtd/test.dtd" YPE test SYSTEM "https://host.example.com/dtd/test.dtd" ^ test.xml:3: validity error : Validation failed: no DTD found ! <test version="4"> ^ please update nanohttp (which xmllint uses to fetch the dtd) to support https, or have some way to build xmllint with libcurl. thanks.
Sorry, rejected, I can't make libxml2 package depend on libcurl, and I don't want to add https (or authentication in general) support to libxml2 access. If you want to have an easy way to make those checks use HTTP. Daniel
*** Bug 791491 has been marked as a duplicate of this bug. ***
Nick, thanks for finding the earlier bug report. That said...: not supporting https in 2007 may have worked, today it does not.