Subject: | Random test failures |
The test suite often fails with a test log like this:
...
# Failed test 'stripped attribute (XML::SAX::Expat)'
# at t/basic.t line 146.
# '<root attr='value' xmlns='urn:foo'>Text</root>'
# doesn't match '(?^:\<root\ xmlns\=\'urn\:foo\'\ attr\=\'value\'\>Text\<\/root\>)'
# Looks like you failed 1 test of 14.
t/basic.t ..
Dubious, test returned 1 (wstat 256, 0x100)
Failed 1/14 subtests
...
Or like this:
...
# Failed test 'removed attribute in alternative namespace (XML::SAX::Expat)'
# at t/basic.t line 146.
# '<root attr='value' xmlns='urn:foo'>Text</root>'
# doesn't match '(?^:\<root\ xmlns\=\'urn\:foo\'\ attr\=\'value\'\>Text\<\/root\>)'
# Looks like you failed 1 test of 14.
t/basic.t ..
Dubious, test returned 1 (wstat 256, 0x100)
Failed 1/14 subtests
...
It seems that this happens only if XML::SAX::Expat is available as a SAX parser.