Closed jmacdotorg closed 4 years ago
In fact, libxml2 supports only ftp://
and http://
network protocols. Plus it supports gz and xz compressed files (see xmlIO.c
file in libxml2 source code). Maybe you could update documentation to be more explicit?
But via xmlRegisterInputCallbacks
function provided by libxml2 you can register also your own plugins for other (network) protocols. So adding https support in perl's XML::LibXML is possible. Any volunteer for implementing https support? :-)
merged, thanks!
It seems that the underlying libxml2 library does not support loading files (whether XML document or schema) over HTTPS. For evidence, see recent comments here, from myself and others: https://rt.cpan.org/Ticket/Display.html?id=98024
Since HTTPS is an increasingly common URL schema (especially compared to circa-2000, when libxml was first developed), I feel that this lack is worth noting in XML::LibXML's documentation. (And that's probably all that this Perl module can hope to do about it, really...)