Preferred bug tracker

Please visit the preferred bug tracker to report your issue.

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

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

People
Owner:
Nobody in particular
Requestors:
marius.tolzmann [...] 42hosting.de
Cc:
AdminCc:

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



Subject: [PATCH] for failing test with newest libtidy..
Date: Tue, 05 Feb 2008 15:09:15 +0100
To: bug-HTML-Tidy@rt.cpan.org
From: Marius Tolzmann - 42 Hosting <marius.tolzmann@42hosting.de>
Hi there.. I don't know how to reply to a previous bug-report so is just start my own.. attached is a patch for the test failures when building HTML::tidy with current CVS-Version of libtidy. the patch just ignores the newly formatted "Info: ..." lines and the tests don't fail anymore.. the error messages: <cut> t/simple.............ok 1/4Unknown error type: line 2 column 5 - Info: <body> previously mentioned at t/simple.t line 17 Unknown error type: line 2 column 5 - Info: <body> previously mentioned at t/simple.t line 17 Unknown error type: line 2 column 5 - Info: <body> previously mentioned at t/simple.t line 17 t/simple.............ok t/too-many-titles....ok 1/3Unknown error type: line 4 column 9 - Info: <head> previously mentioned at t/too-many-titles.t line 22 t/too-many-titles....ok t/unicode............dubious Test returned status 0 (wstat 11, 0xb) DIED. FAILED test 7 Failed 1/7 tests, 85.71% okay t/venus..............ok 1/3Unknown error type: line 8 column 2 - Info: <h1> previously mentioned at t/venus.t line 21 Unknown error type: line 10 column 2 - Info: <h1> previously mentioned at t/venus.t line 21 Unknown error type: line 11 column 2 - Info: <h1> previously mentioned at t/venus.t line 21 Unknown error type: line 12 column 2 - Info: <h1> previously mentioned at t/venus.t line 21 Unknown error type: line 15 column 2 - Info: <h2> previously mentioned at t/venus.t line 21 Unknown error type: line 17 column 2 - Info: <h4> previously mentioned at t/venus.t line 21 Unknown error type: line 18 column 2 - Info: <h4> previously mentioned at t/venus.t line 21 Unknown error type: line 20 column 2 - Info: <h4> previously mentioned at t/venus.t line 21 Unknown error type: line 25 column 3 - Info: <h4> previously mentioned at t/venus.t line 21 <cut> regards, marius tolzmann - FortyTwo Hosting - Schoene und Tolzmann GbR - Berlin - germany..
Subject: Re: [rt.cpan.org #32944]
Date: Tue, 05 Feb 2008 15:12:38 +0100
To: bug-HTML-Tidy@rt.cpan.org
From: Marius Tolzmann - 42 Hosting <marius.tolzmann@42hosting.de>
it seems that attachmenst don't work here? here is the patch 8).. bye .. marius.. diff -u -r1.1 ./lib/HTML/Tidy.pm --- ./lib/HTML/Tidy.pm 2008/02/05 13:47:14 1.1 +++ ./lib/HTML/Tidy.pm 2008/02/05 13:47:55 @@ -269,6 +269,10 @@ # Info line we don't want } + elsif ( $line =~ m/^line (\d+) column (\d+) - Info:/ ) { + # Info line we don't want + + } elsif ( $line =~ m/^\s*$/ ) { # Blank line we don't want
HTML::Tidy now uses libtidyp. Please try a newer version, 1.52 or higher.


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.