Subject: | SEGV in XML-Parser |
I'm getting failures in "make test" from XML-Encoding, but I believe the actual problem may be in XML-Parser. Here's the stripped down test case:
####################################################################
use XML::Encoding;
$doc1 =<<'End_of_doc;';
<encmap name="foo" expat="yes">
<range byte='xa0' uni='x3000' len='200'/>
</encmap>
End_of_doc;
$p = new XML::Encoding();
eval { $p->parse($doc1); };
######################################################################
Running perl (5.6.1) on this program causes a core dump. It works if
the "eval" is removed from the last line.