Beefy Boxes and Bandwidth Generously Provided by pair Networks
No such thing as a small change
 
PerlMonks  

Re^2: LWP different protocols

by mordy7sh (Initiate)
on Oct 03, 2020 at 10:18 UTC ( [id://11122511]=note: print w/replies, xml ) Need Help??


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 (Bishop) 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.

Log In?
Username:
Password:

What's my password?
Create A New User
Domain Nodelet?
Node Status?
node history
Node Type: note [id://11122511]
help
Chatterbox?
and the web crawler heard nothing...

How do I use this?Last hourOther CB clients
Other Users?
Others meditating upon the Monastery: (5)
As of 2024-04-16 12:52 GMT
Sections?
Information?
Find Nodes?
Leftovers?
    Voting Booth?

    No recent polls found