https://bugzilla.redhat.com/show_bug.cgi?id=1473368 --- Comment #15 from Petr Pisar <ppisar@xxxxxxxxxx> --- Minimal reproduced is feeding the test file to stdin of this script: #!/usr/bin/perl use XML::XPath; use open ':std', ':encoding(UTF-8)'; my $xpath = XML::XPath->new(ioref => \*STDIN); $xpath->find('/'); The "use open ':std', ':encoding(UTF-8)';" pragma is important. It looks like there is some issue if PerlIO layer is employed together with IO reference in Expat parser. -- You are receiving this mail because: You are on the CC list for the bug. _______________________________________________ perl-devel mailing list -- perl-devel@xxxxxxxxxxxxxxxxxxxxxxx To unsubscribe send an email to perl-devel-leave@xxxxxxxxxxxxxxxxxxxxxxx