in reply to XML::LibXML https

If you do not have LWP::Protocol::https, the useragent get will fail to retrieve the file over https.

Another problem: if the file contains an import that refers to yet another https file, you could pass it as a string to libxml. That works. But if you would parse it with LibXSLT as a next step, libxslt will give you a error "failed to load external entity" on the import href.