Subject: | XML::Twig 3.12 make test fails on 5.8.0 and older |
Hello,
Running make test with XML::Twig runs fine with perl 5.8.2 and newer,
but with perl 5.8.0 I get this message on RedHat 9;
t/test5.............................ok
t/test_additional...................Tie::IxHash not available:
skipping 7 tests
your version of expat/XML::Parser has a broken xml_escape method
xml_escape( '<elt>toto</elt>') should be '<elt>toto</elt>'
but is '<elt>toto</elt>' instead
your version of expat/XML::Parser has a broken xml_escape method
xml_escape( '<elt>toto</elt>', 'o') should be '<elt>toto</elt>' but is '<elt>toto</elt>' instead
Malformed UTF-8 character (unexpected continuation byte 0xa9, with
no preceding start byte) in substitution iterator at /export/home1/blair/.cpan/XML-Twig-3.12/blib/lib/XML/Twig.pm line
3246.
Malformed UTF-8 character (unexpected continuation byte 0xa9, with no preceding start byte) in substitution iterator at /export/home1/blair/.cpan/XML-Twig-3.12/blib/lib/XML/Twig.pm line 3246.
Malformed UTF-8 character (unexpected continuation byte 0xa9, with no preceding start byte) in substitution iterator at /export/home1/blair/.cpan/XML-Twig-3.12/blib/lib/XML/Twig.pm line 3246.
safe:
expected: '<?xml version="1.0" encoding="UTF-8"?>
<doc>été</doc>'
got : '<?xml version="1.0" encoding="UTF-8"?>
<doc>été</doc>'
Malformed UTF-8 character (unexpected continuation byte 0xa9, with no preceding start byte) in substitution iterator at /export/home1/blair/.cpan/XML-Twig-3.12/blib/lib/XML/Twig.pm line 3253.
Malformed UTF-8 character (unexpected continuation byte 0xa9, with no preceding start byte) in substitution iterator at /export/home1/blair/.cpan/XML-Twig-3.12/blib/lib/XML/Twig.pm line 3253.
Malformed UTF-8 character (unexpected continuation byte 0xa9, with no preceding start byte) in substitution iterator at /export/home1/blair/.cpan/XML-Twig-3.12/blib/lib/XML/Twig.pm line 3253.
safe_hex:
expected: '<?xml version="1.0" encoding="UTF-8"?>
<doc>été</doc>'
got : '<?xml version="1.0" encoding="UTF-8"?>
<doc>été</doc>'
need Text::Iconv for those tests: skipping 3 tests
need Unicode::Map8 and Unicode::String for those tests: skipping 3 tests
require XML::Handler::YAWriter: skipping 3 tests
XML::SAX::Writer not available: skipping 3 tests
t/test_additional...................FAILED tests 326-327
Failed 2/441 tests, 99.55% okay
t/test_attregexp_cond...............ok
I even just recompiled and reinstalled my XML::Parser and I'm getting
the same failure.
Best,
Blair