merged back 0.71 branch into trunk
- fixes [ 1604320 ] xsi:nil on part accessor in argless message
This needs discussion: The removal of the xsi:nil="true" attribute on an empty method may break document/literal and rpc/encoded webservices.
- updated some use dependencies
- removed this code from SOAP::Serializer and added test
foreach my $this_ns (keys %{$self->{'_namespaces'}}) {
return $self->{'_namespaces'}->{$this_ns} if ($ns eq $this_ns);
}
I just don't understand why this isn't written as
return exists ($self->{'_namespaces'}->{$ns})
? $self->{'_namespaces'}->{$ns}
: ()
Fear of algorithm complexity attacks on hash keys? Why would one want to implement exists by iterating over the list of keys? I don't know, but now it should be a magnitude faster or so ;-)