Work at SourceForge, help us to make it a better place! We have an immediate need for a Support Technician in our San Francisco or Denver office.

Close

#143 Unable to debug application written with SOAP::Lite

0.71
closed-invalid
Martin Kutter
5
2008-06-09
2008-04-06
Shachar
No

It seems like the problem resides in the "tag" method of the SOAP::Serializer (lines 1378-1379 in SOAP/Lite.pm)
The pattern should be defines as lookback and not lookahead:

The lines:
die "Element '$tag' can't be allowed in valid XML message. Died."
if $tag !~ /^(?![xX][mM][lL])$SOAP::Constants::NSMASK$/o;

should be changed to:
die "Element '$tag' can't be allowed in valid XML message. Died."
if $tag !~ /^(?<![xX][mM][lL])$SOAP::Constants::NSMASK$/o;

Discussion

<< < 1 2 (Page 2 of 2)
  • Shachar
    Shachar
    2008-06-10

    Logged In: YES
    user_id=1439680
    Originator: YES

    I have tried changing the $SOAP::Constants::NSMASK in the relevant line to [a-zA-Z_:][\w.\-:]* and I still get the same error message. So it does not forget about $SOAP::Constants::NSMASK.

    The example you submitted works well with the EPIC as well.
    See the attached test.pl file for example & output
    File Added: test.pl

     
<< < 1 2 (Page 2 of 2)