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

2032Re: Diesignal and Expath.pm

Expand Messages
  • trond_straume
    Nov 11, 2002
    • 0 Attachment
      But with:

      $SOAP::Constants::DO_NOT_USE_XML_PARSER=1;

      I'm not able to run Perl in Tainted mode. The script "stops
      processing" after recieving the response from the server (just
      waiting to timeout)...

      Why?

      Regards
      Trond Straume

      --- In soaplite@y..., "trond_straume" <trond.straume@o...> wrote:
      > When I included:
      >
      > $SOAP::Constants::DO_NOT_USE_XML_PARSER=1;
      >
      > to my code, everything seems to work fine (though it runs a bit
      > slower).
      >
      > Is it possible that the problem is due to my installation of
      > XML::Parser?
      >
      > (I'm using perl 5.6.1)
      >
      > Regards
      >
      > Trond Straume
      >
      > --- In soaplite@y..., "trond_straume" <trond.straume@o...> wrote:
      > > Hi!
      > >
      > > when I'm including this code to mye Soap::Lite client:
      > >
      > > sub BEGIN {
      > > $diehandler = $SIG{'__DIE__'};
      > > $SIG{'__DIE__'} = \&print_error;
      > > }
      > >
      > > sub END {
      > > $SIG{'__DIE__'} = $diehandler;
      > > }
      > >
      > > it produces this strange errormessage:
      > >
      > > Can't use string ("<?xml version='1.0' encoding='UT") as a symbol
      > ref
      > > while "strict refs" in use
      > > at /local/perl/5.6.1/lib/site_perl/5.6.1/sun4-solaris-
      > > ld/XML/Parser/Expat.pm line 456.
      > >
      > > The thing is that the response from the soap-server, includes
      this
      > > declaration:
      > >
      > > <?xml version='1.0' encoding='UTF-8'?>
      > > blah blah
      > > blah
      > > .
      > > .
      > >
      > > Are there any known problems, when using single quotes (')
      instead
      > of
      > > double ("), or is the error due to other problems?
      > >
      > > Regards
      > >
      > > Trond Straume
    • Show all 11 messages in this topic