Skip Menu |
 

This queue is for tickets about the W3C-LogValidator CPAN distribution.

Report information
The Basics
Id: 59930
Status: new
Priority: 0/
Queue: W3C-LogValidator

People
Owner: Nobody in particular
Requestors: SREZIC [...] cpan.org
Cc:
AdminCc:

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



Subject: CSSValidator reports !valid for obviously valid documents
MIME-Version: 1.0
Content-Type: text/plain; charset="UTF-8"
X-Mailer: MIME-tools 5.427 (Entity 5.427)
Content-Disposition: inline
Content-Transfer-Encoding: binary
X-RT-Original-Encoding: utf-8
Content-Length: 1338
Download (untitled) / with headers
text/plain 1.3k
The test script below checking for search.cpan.org's main page reports an invalid document. But the detailed report does not show any errors. #!/usr/bin/perl -w use Test::More 'no_plan'; use Data::Dumper; use W3C::LogValidator::CSSValidator; #my $rooturl = "http://www.example.com"; my $rooturl = "http://search.cpan.org/"; my $validator = W3C::LogValidator::CSSValidator->new ({verbose => 1, rooturl => $rooturl, AuthorizedExtensions => ".html .xhtml .phtml .htm .shtml .php .svg .xml / .cgi", }); $validator->uris($rooturl); my %results = $validator->process_list; ok($validator->valid, "CSS validation") or diag Dumper(\%results); __END__ Output is: perl /tmp/a.pl Now Using the CSS Validation module... Done! not ok 1 - CSS validation # Failed test 'CSS validation' # at /tmp/a.pl line 17. # $VAR1 = { # 'thead' => [ # 'Rank', # 'Hits', # '#Error(s)', # 'Address' # ], # 'trows' => [], # 'intro' => 'Here are the most popular invalid document(s) that I could find in the # logs for .', # 'name' => 'CSSValidator', # 'outro' => 'I couldn\'t find any invalid document in this log.' # }; 1..1 # Looks like you failed 1 test of 1.


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.