2624a9 for #86142, adding the XML declaration to the output, broke another part of the system, so work around that.
I accidentally stopped doing "recursive" tests (tests in subdirs) at some point and missed some of this fun breakage.
This commit is contained in:
@@ -35,6 +35,7 @@ sub deserialize {
|
||||
})
|
||||
if not $parser_of{ ${ $self } };
|
||||
$parser_of{ ${ $self } }->class_resolver( $class_resolver_of{ ${ $self } } );
|
||||
$content =~ s{^<\?xml version="1.0" *\?>}{}; # XML::Parser::Expat apparently doesn't like this.
|
||||
eval { $parser_of{ ${ $self } }->parse_string( $content ) };
|
||||
if ($@) {
|
||||
return $self->generate_fault({
|
||||
|
||||
Reference in New Issue
Block a user