Skip Menu |

This queue is for tickets about the Test-DBUnit CPAN distribution.

Report information
The Basics
Id: 40596
Status: resolved
Priority: 0/
Queue: Test-DBUnit

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

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



Subject: t/dbunit.t test fails (because of XML::LibXML?)
The t/dbunit.t test fails on my system: t/dbunit..........read() on unopened filehandle at /usr/perl5.8.8@34559/lib/site_perl/5.8.8/i386-freebsd/XML/LibXML.pm line 437. read error at /usr/perl5.8.8@34559/lib/site_perl/5.8.8/i386-freebsd/XML/LibXML.pm line 539. at /usr/perl5.8.8@34559/lib/site_perl/5.8.8/i386-freebsd/XML/LibXML/SAX.pm line 64 at /var/tmp/CPAN-build/Test-DBUnit-0.13-EPX9cA/blib/lib/DBUnit.pm line 949 # Looks like you planned 41 tests but ran 8. # Looks like your test exited with 9 just after 8. Dubious, test returned 9 (wstat 2304, 0x900) Failed 33/41 subtests I guess this is only the case if XML::LibXML registered itself as a SAX parser, and if it's the first one in XML/SAX/ParserDetails.ini, which means that it is the preferred SAX parser. Regards, Slaven
On Sob. 01 Lis. 2008, 17:09:37, SREZIC wrote: Show quoted text
> The t/dbunit.t test fails on my system: > > t/dbunit..........read() on unopened filehandle at > /usr/perl5.8.8@34559/lib/site_perl/5.8.8/i386-freebsd/XML/LibXML.pm
line Show quoted text
> 437. > read error at > /usr/perl5.8.8@34559/lib/site_perl/5.8.8/i386-freebsd/XML/LibXML.pm
line Show quoted text
> 539. at > /usr/perl5.8.8@34559/lib/site_perl/5.8.8/i386-
freebsd/XML/LibXML/SAX.pm Show quoted text
> line 64 > at /var/tmp/CPAN-build/Test-DBUnit-0.13-EPX9cA/blib/lib/DBUnit.pm
line 949 Show quoted text
> # Looks like you planned 41 tests but ran 8. > # Looks like your test exited with 9 just after 8. > Dubious, test returned 9 (wstat 2304, 0x900) > Failed 33/41 subtests > > I guess this is only the case if XML::LibXML registered itself as a
SAX Show quoted text
> parser, and if it's the first one in XML/SAX/ParserDetails.ini, which > means that it is the preferred SAX parser. > > Regards, > Slaven
You 're right XML:LibXML is prefered parser (and it's installation issue) additionally it looks like issue with the Simple::SAX::Serializer, that uses XML::SAX possible I should leave open options for that
On Sob. 01 Lis. 2008, 17:09:37, SREZIC wrote: Show quoted text
> The t/dbunit.t test fails on my system: > > t/dbunit..........read() on unopened filehandle at > /usr/perl5.8.8@34559/lib/site_perl/5.8.8/i386-freebsd/XML/LibXML.pm
line Show quoted text
> 437. > read error at > /usr/perl5.8.8@34559/lib/site_perl/5.8.8/i386-freebsd/XML/LibXML.pm
line Show quoted text
> 539. at > /usr/perl5.8.8@34559/lib/site_perl/5.8.8/i386-
freebsd/XML/LibXML/SAX.pm Show quoted text
> line 64 > at /var/tmp/CPAN-build/Test-DBUnit-0.13-EPX9cA/blib/lib/DBUnit.pm
line 949 Show quoted text
> # Looks like you planned 41 tests but ran 8. > # Looks like your test exited with 9 just after 8. > Dubious, test returned 9 (wstat 2304, 0x900) > Failed 33/41 subtests > > I guess this is only the case if XML::LibXML registered itself as a
SAX Show quoted text
> parser, and if it's the first one in XML/SAX/ParserDetails.ini, which > means that it is the preferred SAX parser. > > Regards, > Slaven
You 're right XML:LibXML is prefered parser (and it's installation issue) additionally it looks like issue with the Simple::SAX::Serializer, that uses XML::SAX possible I should leave open options for that
it's XML::LibXML issue rather then Test::DBUnit