fix a hash randomization bug that was causing random failures in t/SOAP/WSDL/05_simpleType-list.t
This commit is contained in:
@@ -32,8 +32,9 @@ sub serialize {
|
||||
# envelope start with namespaces
|
||||
my $xml = qq|<?xml version="1.0" ?><$soap_prefix\:Envelope |;
|
||||
|
||||
while (my ($uri, $prefix) = each %{ $opt->{ namespace } })
|
||||
for my $uri ( sort { $a cmp $b } keys %{ $opt->{ namespace } } )
|
||||
{
|
||||
my $prefix = $opt->{ namespace }->{ $uri };
|
||||
$xml .= "xmlns:$prefix=\"$uri\" ";
|
||||
}
|
||||
#
|
||||
|
||||
Reference in New Issue
Block a user