" "
|
" La la la "
" Le le le "
" "
" "
" "
--------------------------------------------------------
as you can see "Le le le" went to top level and then next table was
started.
The program I used to dump it:
--------------------------------------------------------
#!/usr/bin/perl
use HTML::TreeBuilder;
foreach (@ARGV) {
open FILE, "< $_";
my @contents = ;
my $t = new HTML::TreeBuilder;
$t->parse(join("", @contents));
$t->dump($_);
}
--------------------------------------------------------
I noticed that behaviour in packages I found in Debian hamm
distribution, so I got the newest one from CPAN - they behave
incorrectly too. The newest versions I used are HTML-Parser-2.22 and
HTML-Tree-0.51.
PS. I'm not member of libwww-perl mailing list. Please cc answers to me
- I'm interested whether it is really a bug or I'm wrong...
PS2. I tried to send this report to the package author. But his email
seems to be not working (I got "no such user").
-- Marcin Kasperski Marcin.Kasperskisoftax.com.pl
-- marckaspfriko6.onet.pl
-- Moje pogldy s moimi pogldami, nikogo poza mn nie reprezentuj.
-- (My opinions are just my opinions.)
| |