After an evaluation, GNOME has moved from Bugzilla to GitLab. Learn more about GitLab.
No new issues can be reported in GNOME Bugzilla anymore.
To report an issue in a GNOME project, go to GNOME GitLab.
Do not go to GNOME Gitlab for: Bluefish, Doxygen, GnuCash, GStreamer, java-gnome, LDTP, NetworkManager, Tomboy.
Bug 400425 - xmllint does not support https dtd
xmllint does not support https dtd
Status: VERIFIED WONTFIX
Product: libxml2
Classification: Platform
Component: general
2.6.26
Other Linux
: Normal normal
: ---
Assigned To: Daniel Veillard
libxml QA maintainers
: 791491 (view as bug list)
Depends on:
Blocks:
 
 
Reported: 2007-01-24 23:07 UTC by Rajiv Aaron Manglani
Modified: 2017-12-11 20:28 UTC
See Also:
GNOME target: ---
GNOME version: ---



Description Rajiv Aaron Manglani 2007-01-24 23:07:43 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.
Comment 1 Daniel Veillard 2007-01-24 23:28:09 UTC
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
Comment 2 Nick Wellnhofer 2017-12-11 20:23:23 UTC
*** Bug 791491 has been marked as a duplicate of this bug. ***
Comment 3 Julian Reschke 2017-12-11 20:28:03 UTC
Nick, thanks for finding the earlier bug report.

That said...: not supporting https in 2007 may have worked, today it does not.