in reply to Re: LWP different protocols
in thread LWP different protocols

Hi, Thanks for replaying. The issue is that it happens during xml::xpath findallnodes. The xml document have a dtd. None oh those have specific url embedded. So I don’t understand which url it’s tiring to access or why my college use the file and mine tries to use the http. Can it be connected to some environment variable? I noticed mine have https_proxy and his environment does not. If you know the source for xml library that actually select which protocol to use. Again, thanks a lot for replaying. I know it’s not that easy to read someone else problem... Mordy

Replies are listed 'Best First'.
Re^3: LWP different protocols
by hippo (Archbishop) on Oct 03, 2020 at 10:32 UTC
    I don’t understand which [URL] it’s [trying] to access

    LWP::ConsoleLogger can tell you that.


    🦛

Re^3: LWP different protocols
by choroba (Cardinal) on Oct 03, 2020 at 19:27 UTC
    If libxml2 is involved, note that it can consult external entities based on the XML Catalogues configured on the system.

    map{substr$_->[0],$_->[1]||0,1}[\*||{},3],[[]],[ref qr-1,-,-1],[{}],[sub{}^*ARGV,3]

      Does XML::LibXML use LWP, though?

      By the way, you can instruct XML::LibXML not to perform any fetches.