Skip Menu |

This queue is for tickets about the SOAP-WSDL CPAN distribution.

Report information
The Basics
Id: 66297
Status: new
Priority: 0/
Queue: SOAP-WSDL

People
Owner: Nobody in particular
Requestors: perlcream [...] gmail.com
Cc:
AdminCc:

Bug Information
Severity: Important
Broken in: 2.00_10
Fixed in: (no value)



Subject: Invalid XML generated (multiple namespaces prepended)
Invalid XML is generated in some circumstances. Specifically a prefix with multiple namespaces, eg 'ns:ns:'. Proposed fix: --- XSD.pm 2011-02-10 14:51:37.000000000 -0800 +++ XSD.pm.orig 2011-02-10 11:34:11.000000000 -0800 @@ -66,7 +66,7 @@ # TODO This one wipes out the old class' XML name globally # Fix in some more appropriate place... - $data->__set_name("$opt->{prefix}:" . $data->__get_name() ) if $opt->{prefix} && $data->__get_name() !~ /:/; + $data->__set_name("$opt->{prefix}:" . $data->__get_name() ) if $opt->{prefix}; # Body is NOT optional. Serialize to empty body # if we have no data.