Skip Menu | You are currently an anonymous guest. | Login | Return to Main | About rt.cpan.org
 

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

X Report information
Id: 16164
Status: resolved
Left: 0 min
Priority: 0/0
Queue: HTML-Parser

Owner: Nobody
Requestors: jdhedden [...] 1979.usna.com
Cc:
AdminCc:

Severity: Important
Broken in: 3.47
Fixed in: (no value)



X History Display mode: Brief headersFull headers
#   Mon Nov 28 13:43:25 2005 JDHEDDEN - Ticket created  
Subject: HTML-Parser v3.47 causes test failure in libwww-perl
[text/plain 2.9k]
HTML-Parser v3.47 causes a test failure in libwww-perl:

> make test
/usr/local/bin/perl.exe t/TEST 0
base/common-req.......ok
base/cookies..........ok
base/date.............ok
base/headers-auth.....ok
base/headers-etag.....ok
base/headers-util.....ok
base/headers..........ok
base/http.............ok
base/listing..........ok
base/mediatypes.......ok
base/message-old......ok
base/message-parts....ok
base/message..........ok
base/negotiate........ok
base/protocols........ok
base/response.........ok
base/status...........ok
base/ua...............ok
html/form-param.......ok
html/form.............# Test 99 got: "" (html/form.t at line 476)
# Expected: "zero"
# html/form.t line 476 is: ok(join(":", $f->find_input("r0")->value_names), "zero");
html/form.............FAILED test 99
Failed 1/103 tests, 99.03% okay
robot/rules-dbm.......ok
robot/rules...........ok
robot/ua-get..........ok
robot/ua..............ok
local/autoload-get....ok
local/autoload........ok
local/get.............ok
local/http-get........ok
local/http............ok
local/protosub........ok
Failed Test Stat Wstat Total Fail Failed List of Failed
-------------------------------------------------------------------------------
html/form.t 103 1 0.97% 99
Failed 1/30 test scripts, 96.67% okay. 1/759 subtests failed, 99.87% okay.
make: *** [test] Error 255

HTML-Parser v.3.46 does not cause any problems.
#   Wed Nov 30 06:41:25 2005 guest - Correspondence added  
From: paul.bijnens[...]xplanation.com
[text/plain 122b]

This is due to the default parser options in HTML::TokeParser
empty_element_tags => 1
that was added in this release.


#   Fri Dec 02 12:42:40 2005 GAAS - Correspondence added  
[text/plain 141b]
I reverted this change in HTML-Parser-3.48 that I just uploaded.
The empty_element_tags is now off by default (even for
HTML::TokeParser).
#   Fri Dec 02 12:42:41 2005 GAAS - Status changed from 'new' to 'resolved'