Loading ...
Sorry, an error occurred while loading the content.

Re: Soap::Lite provoking XML::Parser error

Expand Messages
  • Paul Kulchenko
    It has been discussed recently on this list. Look at this message and the related thread: http://groups.yahoo.com/group/soaplite/message/2047 Hope it helps.
    Message 1 of 1 , Dec 12, 2002
    • 0 Attachment
      It has been discussed recently on this list. Look at this message and
      the related thread:
      http://groups.yahoo.com/group/soaplite/message/2047
      Hope it helps.

      Best wishes, Paul.

      --- PaulM <pmacad@...> wrote:
      > Hi,
      >
      > Sorry to bother you, but I haven't gotten any response from the
      > XML::Parser folks.
      >
      > I'm seeing an error in my SOAP logs from XML/Parser/Expat.pm at
      > line 456.
      >
      > I'm using Perl 5.6.1 on a stock RedHat 7.3 box,
      > with XML::Parser 2.31 and SOAP::Lite 0.55.
      >
      > Here's the error:
      >
      > Can't use string ("<?xml version="1.0" encoding="UT") as a symbol
      > ref
      > while "strict refs" in use at
      > /usr/lib/perl5/site_perl/5.6.1/i386-linux/XML/Parser/Expat.pm line
      > 456.
      >
      > Not doing anything special with my SOAP::Lite client -- just
      > defining
      > URI and PROXY and
      > calling the service I wrote.
      >
      > Have you ever encountered this error?
      >
      > I'm surprised that any code using XML::Parser doesn't run into it.
      >
      > Adding no strict 'refs' at the offending line seems to fix it, but,
      > of
      > course, I don't want to patch every Expat.pm on my network:
      >
      > Line: 456
      > eval {
      > no strict 'refs';
      > $ioref = *{$arg}{IO};
      > };
      >
      > Your thoughts?
      >
      > PaulM
      >
      >
      >


      __________________________________________________
      Do you Yahoo!?
      Yahoo! Mail Plus - Powerful. Affordable. Sign up now.
      http://mailplus.yahoo.com
    Your message has been successfully submitted and would be delivered to recipients shortly.