1. Shlomi Fish
  2. perl-XML-LibXML

Commits

pa...@9ae0c189-cd1f-4510-a509-f4891f5cf20d  committed fbafd7c

fixed double overloading of _prev structured error causing major
slowdown serializing huge amount of messages produced eg. by
recovering HTML parser

  • Participants
  • Parent commits 4f04c32
  • Branches structerror

Comments (0)

Files changed (1)

File lib/XML/LibXML/Error.pm

View file
  • Ignore whitespace
   my ($self)=@_;
   my $msg = "";
   my $level;
-  if ($self->{_prev}) {
+
+  if (defined($self->{_prev})) {
     $msg = $self->{_prev}->as_string;
   }