Skip Menu |

This queue is for tickets about the XML-Compile-C14N CPAN distribution.

Report information
The Basics
Id: 131477
Status: resolved
Priority: 0/
Queue: XML-Compile-C14N

People
Owner: Nobody in particular
Requestors: SREZIC [...] cpan.org
Cc:
AdminCc:

Bug Information
Severity: (no value)
Broken in: 0.94
Fixed in: (no value)



Subject: t/10strip.t started to fail (with newest XML::LibXML?)
The test suite started to fail: ... panic: C14N error : Node XML_ENTITY_REF_NODE is invalid here : processing node C14N error : Internal error : processing childrens list C14N error : Internal error : processing docs children list C14N error : Internal error : saving doc to output buffer at /home/cpansand/.cpan/build/2020011506/XML-Compile-C14N-0.94-0/blib/lib/XML/Compile/C14N.pm line 89 Log::Report::panic("XML::LibXML::Error=HASH(0x561745600b18)") at /home/cpansand/.cpan/build/2020011506/XML-Compile-C14N-0.94-0/blib/lib/XML/Compile/C14N.pm line 89 XML::Compile::C14N::normalize("XML::Compile::C14N=HASH(0x561747140fe0)", "http://www.w3.org/2006/12/xml-c14n11", "XML::LibXML::Document=SCALAR(0x561745600758)") at t/10strip.t line 174 # Looks like you planned 8 tests but ran 5. t/10strip.t .. Dubious, test returned 255 (wstat 65280, 0xff00) Failed 3/8 subtests ... Possibly this is caused by this change in XML::LibXML 2.0202: https://metacpan.org/source/SHLOMIF/XML-LibXML-2.0202/Changes#L4-5 Statistical analysis also suggests that XML::LibXML 2.0202 is causing the problem: **************************************************************** Regression 'mod:XML::LibXML' **************************************************************** Name Theta StdErr T-stat [0='const'] 1.0000 0.0000 83972542406720720.00 [1='eq_2.0108'] 0.0000 0.0000 6.12 [2='eq_2.0110'] 0.0000 0.0000 11.06 [3='eq_2.0116'] 0.0000 0.0000 11.76 [4='eq_2.0117'] 0.0000 0.0000 9.21 [5='eq_2.0118'] 0.0000 0.0000 6.41 [6='eq_2.0119'] 0.0000 0.0000 5.83 [7='eq_2.0121'] 0.0000 0.0000 8.11 [8='eq_2.0122'] 0.0000 0.0000 11.10 [9='eq_2.0123'] 0.0000 0.0000 12.20 [10='eq_2.0124'] 0.0000 0.0000 10.09 [11='eq_2.0125'] 0.0000 0.0000 10.64 [12='eq_2.0126'] 0.0000 0.0000 8.56 [13='eq_2.0128'] 0.0000 0.0000 13.46 [14='eq_2.0129'] 0.0000 0.0000 13.71 [15='eq_2.0131'] 0.0000 0.0000 8.84 [16='eq_2.0132'] 0.0000 0.0000 8.69 [17='eq_2.0133'] 0.0000 0.0000 9.32 [18='eq_2.0200'] 0.0000 0.0000 7.61 [19='eq_2.0201'] 0.0000 0.0000 13.98 [20='eq_2.0202'] -1.0000 0.0000 -77058489764858816.00 R^2= 1.000, N= 261, K= 21 ****************************************************************
Well... I do not know how to get the example to work in a test environment, so simply disabled the test. (And put the module on GitHUB) Thanks Slaven!