Skip Menu |
 

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

Report information
The Basics
Id: 75403
Status: resolved
Priority: 0/
Queue: XML-LibXML

People
Owner: Nobody in particular
Requestors: vcizek [...] suse.cz
Cc:
AdminCc:

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



Subject: 03doc.t test fails with libxml2 from git
Download (untitled) / with headers
text/plain 398b
Hi, The 03doc.t test fails with libxml2 from current git repo. # Failed test '3 As' # at t/03doc.t line 592. # got: '0' # expected: '3' # the test: my $string4 = '<C:A><C:A><C:B/></C:A><C:A><C:B/></C:A></C:A>'; my $doc2 = $parser2->parse_string($string4); # Fails right now _count_local_name( $doc2, 'A', 3, q{3 As}); # this works _count_local_name( $doc2, 'C:A', 3, q{3 As});
Download (untitled) / with headers
text/plain 854b
On Wed Feb 29 05:53:25 2012, civ wrote: Show quoted text
> Hi, > The 03doc.t test fails with libxml2 from current git repo. > > # Failed test '3 As' > # at t/03doc.t line 592. > # got: '0' > # expected: '3' > > # the test: > my $string4 = '<C:A><C:A><C:B/></C:A><C:A><C:B/></C:A></C:A>'; > > my $doc2 = $parser2->parse_string($string4); > # Fails right now > _count_local_name( $doc2, 'A', 3, q{3 As}); > # this works > _count_local_name( $doc2, 'C:A', 3, q{3 As});
Thanks for the report and the suggested fix. However, since the "C:" namespace is introduced here without being defined using an xmlns: test (which doesn't seem like a legal thing to do), I simply commented out the test. It's in XML-LibXML-1.95 which was just uploaded to CPAN and is available from: https://bitbucket.org/shlomif/perl-xml-libxml/overview Regards, -- Shlomi Fish
Should be resolved now. Please comment (and reopen this report) if there are more problems.


This service is sponsored and maintained by Best Practical Solutions and runs on Perl.org infrastructure.

Please report any issues with rt.cpan.org to rt-cpan-admin@bestpractical.com.