Skip Menu |

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

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

People
Owner: Nobody in particular
Requestors: plate [...] patterner.de
Cc:
AdminCc:

Bug Information
Severity: Normal
Broken in: 0.95
Fixed in: (no value)



Subject: Bogus check for libxml2 age
Line 40 of t/01use.t my @xv = split /\./, $xml2_version; if($xv[0] < 2 || $xv[1] < 6 || $xv[2] < 23) { "too old" } Current version is 2.7.1 and the test "fails". Use something like if ($major < 2) fail() if ($major ==2 && $minor < 6) fail() if ($major == 2 && $minor == 6 && $revision < 23) fail()
Subject: Re: [rt.cpan.org #39807] Bogus check for libxml2 age
Date: Fri, 3 Oct 2008 23:58:20 +0200
To: Joerg Plate via RT <bug-XML-Compile [...] rt.cpan.org>
From: Mark Overmeer <mark [...] overmeer.net>
* Joerg Plate via RT (bug-XML-Compile@rt.cpan.org) [081003 20:49]: Show quoted text
> Fri Oct 03 16:49:36 2008: Request 39807 was acted upon. > Transaction: Ticket created by PATTERNER > Queue: XML-Compile > Subject: Bogus check for libxml2 age
Show quoted text
> Line 40 of t/01use.t > my @xv = split /\./, $xml2_version; > if($xv[0] < 2 || $xv[1] < 6 || $xv[2] < 23) { > "too old" > }
I think I copied it from somewhere else. But yes: horribly broken. Thanks for the report. -- Regards, MarkOv ------------------------------------------------------------------------ Mark Overmeer MSc MARKOV Solutions Mark@Overmeer.net solutions@overmeer.net http://Mark.Overmeer.net http://solutions.overmeer.net
was fixed in 0.96