diff options
-rwxr-xr-x | htdocs/docs/install.html | 15 | ||||
-rwxr-xr-x | httpd/cgi-bin/check | 14 | ||||
-rw-r--r-- | misc/bundle/META.yml | 2 | ||||
-rw-r--r-- | misc/bundle/Makefile.PL | 2 | ||||
-rw-r--r-- | misc/bundle/lib/Bundle/W3C/Validator.pm | 2 |
5 files changed, 16 insertions, 19 deletions
diff --git a/htdocs/docs/install.html b/htdocs/docs/install.html index 54c0a3e..f0a255b 100755 --- a/htdocs/docs/install.html +++ b/htdocs/docs/install.html @@ -1,5 +1,5 @@ -<!--#set var="revision" value="\$Id: install.html,v 1.48 2009-03-16 19:13:32 ot Exp $" ---><!--#set var="date" value="\$Date: 2009-03-16 19:13:32 $" +<!--#set var="revision" value="\$Id: install.html,v 1.49 2009-06-23 17:59:49 ville Exp $" +--><!--#set var="date" value="\$Date: 2009-06-23 17:59:49 $" --><!--#set var="title" value="Installation Documentation for The W3C Markup Validation Service" --><!--#set var="relroot" value="../" --><!--#include virtual="../header.html" --> @@ -150,15 +150,14 @@ install Bundle::W3C::Validator Template system which allows us to separate Validator's logic and presentation. </dd> - <dt><a href="http://search.cpan.org/dist/libwww-perl/">libwww-perl</a> >= 5.800</dt> + <dt><a href="http://search.cpan.org/dist/libwww-perl/">libwww-perl</a> >= 5.802</dt> <dd> Gisle Aas' most excellent WWW library for Perl. This is where our - support for downloading pages off the net comes from. Version 5.800 + support for downloading pages off the net comes from. Version 5.802 or newer is required, however we strongly suggest a (much) newer - version. Validator's support for compressed responses is available - with version 5.802 and later, and announced using the - <code>Accept-Encoding</code> HTTP header with version 5.816 and - later, depending on if the modules required for libwww-perl's + version. Validator's support for compressed responses is announced + using the <code>Accept-Encoding</code> HTTP header with version 5.816 + and later, depending on if the modules required for libwww-perl's compression facilities are installed. If you want your Validator to support <abbr title="Secure Sockets Layer">SSL</abbr>/<abbr title="Transport Layer Security">TLS</abbr>, see diff --git a/httpd/cgi-bin/check b/httpd/cgi-bin/check index 37706df..03d1f2b 100755 --- a/httpd/cgi-bin/check +++ b/httpd/cgi-bin/check @@ -14,7 +14,7 @@ # This source code is available under the license at: # http://www.w3.org/Consortium/Legal/copyright-software # -# $Id: check,v 1.656 2009-06-04 15:28:26 ville Exp $ +# $Id: check,v 1.657 2009-06-23 17:59:48 ville Exp $ # # Disable buffering on STDOUT! $| = 1; @@ -56,6 +56,7 @@ use HTML::Encoding 0.52 qw(); use HTML::Parser 3.24 qw(); # Need 3.24 for $p->parse($code_ref) use HTML::Template 2.6 qw(); # Need 2.6 for path param, other things. use HTTP::Headers::Util qw(); +use HTTP::Message 1.52 qw(); # Need 1.52 for decoded_content() use HTTP::Request qw(); use HTTP::Headers::Auth qw(); # Needs to be imported after other HTTP::*. use SGML::Parser::OpenSP qw(); @@ -198,7 +199,7 @@ Directory not readable (permission denied): @_r # # Strings - $VERSION = q$Revision: 1.656 $; + $VERSION = q$Revision: 1.657 $; $VERSION =~ s/Revision: ([\d\.]+) /$1/; # @@ -914,8 +915,7 @@ sub compoundxml_validate (\$) { $File->{Templates}->{Error}->param(fatal_missing_checker => "HTML5 Validator"); } else { - my $content = $res->can('decoded_content') ? - $res->decoded_content(charset => 'none') : $res->content; + my $content = $res->decoded_content(charset => 'none'); # and now we parse according to http://wiki.whatwg.org/wiki/Validator.nu_XML_Output # I wish we could use XML::LibXML::Reader here. but SHAME on those major # unix distributions still shipping with libxml2 2.6.16… 4 years after its release @@ -1046,8 +1046,7 @@ sub html5_validate (\$) { $File->{Templates}->{Error}->param(fatal_missing_checker => "HTML5 Validator"); } else { - my $content = $res->can('decoded_content') ? - $res->decoded_content(charset => 'none') : $res->content; + my $content = $res->decoded_content(charset => 'none'); # and now we parse according to http://wiki.whatwg.org/wiki/Validator.nu_XML_Output # I wish we could use XML::LibXML::Reader here. but SHAME on those major # unix distributions still shipping with libxml2 2.6.16… 4 years after its release @@ -1724,8 +1723,7 @@ sub handle_uri { scalar($res->request->uri), ); - my $content = $res->can('decoded_content') ? - $res->decoded_content(charset => 'none') : $res->content; + my $content = $res->decoded_content(charset => 'none'); $File->{Bytes} = $content; $File->{Mode} = $mode; diff --git a/misc/bundle/META.yml b/misc/bundle/META.yml index 6d8be11..dd9c9c9 100644 --- a/misc/bundle/META.yml +++ b/misc/bundle/META.yml @@ -22,7 +22,7 @@ requires: HTML::Tidy: 0 HTTP::Headers::Auth: 0 HTTP::Headers::Util: 0 - HTTP::Message: 0 + HTTP::Message: 1.52 HTTP::Negotiate: 0 HTTP::Request: 0 LWP::UserAgent: 2.032 diff --git a/misc/bundle/Makefile.PL b/misc/bundle/Makefile.PL index b4fb213..0e867ae 100644 --- a/misc/bundle/Makefile.PL +++ b/misc/bundle/Makefile.PL @@ -21,7 +21,7 @@ WriteMakefile( HTML::Template => 2.6, HTTP::Headers::Auth => 0, HTTP::Headers::Util => 0, - HTTP::Message => 0, + HTTP::Message => 1.52, HTTP::Negotiate => 0, HTTP::Request => 0, LWP::UserAgent => 2.032, diff --git a/misc/bundle/lib/Bundle/W3C/Validator.pm b/misc/bundle/lib/Bundle/W3C/Validator.pm index c5aa0d6..348fc66 100644 --- a/misc/bundle/lib/Bundle/W3C/Validator.pm +++ b/misc/bundle/lib/Bundle/W3C/Validator.pm @@ -34,7 +34,7 @@ C<perl -MCPAN -e "install Bundle::W3C::Validator"> HTML::Tidy - (optional) HTTP::Headers::Auth HTTP::Headers::Util - HTTP::Message + HTTP::Message 1.52 HTTP::Negotiate HTTP::Request LWP::UserAgent 2.032 |