This queue is for tickets about the HTML-Parser CPAN distribution.

Report information
The Basics
Id:
16164
Status:
resolved
Priority:
Low/Low
Queue:

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

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



Subject: HTML-Parser v3.47 causes test failure in libwww-perl
HTML-Parser v3.47 causes a test failure in libwww-perl:
Show quoted text
> 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.
From: paul.bijnens@xplanation.com
This is due to the default parser options in HTML::TokeParser empty_element_tags => 1 that was added in this release.
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).


This service runs on Request Tracker, is sponsored by The Perl Foundation, and maintained by Best Practical Solutions.

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