return undef;
}
+ # There is no XML header in the data, which makes XML::Simple unhappy
+ $content = '<?xml version="1.0" encoding="UTF-8"?>' . $content;
+
unless(defined($t = $p->XMLin($content, KeepRoot => 1))) {
$self->error('Could not parse XML metadata');
return undef;