From 5f4a93da9629efe85220037dc7f4a7d4d788028f Mon Sep 17 00:00:00 2001 From: Johann Rolschewski Date: Thu, 24 Jun 2021 18:08:31 +0200 Subject: [PATCH] fix parsing of external XML entitities --- marc-xml/lib/MARC/File/XML.pm | 1 + 1 file changed, 1 insertion(+) diff --git a/marc-xml/lib/MARC/File/XML.pm b/marc-xml/lib/MARC/File/XML.pm index d24096e..0a02178 100644 --- a/marc-xml/lib/MARC/File/XML.pm +++ b/marc-xml/lib/MARC/File/XML.pm @@ -414,6 +414,7 @@ sub _next { sub _parser { $parser ||= XML::LibXML->new( + expand_entities => 1, ext_ent_handler => sub { die "External entities are not supported\n"; }