No HTML5 validator

Bug #996117 reported by Pierre Rudloff
28
This bug affects 5 people
Affects Status Importance Assigned to Milestone
w3c-markup-validator (Ubuntu)
Confirmed
Undecided
Unassigned

Bug Description

When trying to validate HTML5, the validator says "External Checker not available", but there is no package for the HTML5 validator.

ProblemType: Bug
DistroRelease: Ubuntu 12.04
Package: w3c-markup-validator 1.2+dfsg-2
ProcVersionSignature: Ubuntu 3.2.0-24.37-generic 3.2.14
Uname: Linux 3.2.0-24-generic i686
ApportVersion: 2.0.1-0ubuntu7
Architecture: i386
Date: Mon May 7 20:29:29 2012
PackageArchitecture: all
ProcEnviron:
 LANGUAGE=fr_FR:en
 TERM=xterm
 PATH=(custom, no user)
 LANG=fr_FR.UTF-8
 SHELL=/bin/bash
SourcePackage: w3c-markup-validator
UpgradeStatus: Upgraded to precise on 2012-04-27 (10 days ago)
mtime.conffile..etc.w3c.validator.conf: 2012-05-07T20:28:55.497452

Revision history for this message
Pierre Rudloff (rudloff) wrote :
Revision history for this message
Launchpad Janitor (janitor) wrote :

Status changed to 'Confirmed' because the bug affects multiple users.

Changed in w3c-markup-validator (Ubuntu):
status: New → Confirmed
Revision history for this message
Drasla (78luphr0rnk2nuqimstywepozxn9kl19tqh0tx66b5dki1xxsh5mkz9gl21a5rlwfnr8jn6-lvdfjr0or-a811i2i3ytqlsztthjth0svbccw8inm65tmkqp9sarr553jq53in4xm1m8wn3o4rlwaer06) wrote :

Currently, w3c-markup-validator is running the W3C's validator v1.2. I was able to get HTML5 validation working by simply installing the HTML and CGI-BIN files from their most recent release, v1.3.

The code is available here:
http://validator.w3.org/validator.tar.gz

After download, you can upgrade your install by running the following commands:

tar -xvzf validator-1.3.tar.gz
sudo cp -R validator-1.3/htdocs/* /usr/share/w3c-markup-validator/html/
sudo cp validator-1.3/httpd/cgi-bin/* /usr/lib/cgi-bin/w3c-markup-validator/

Revision history for this message
Drasla (78luphr0rnk2nuqimstywepozxn9kl19tqh0tx66b5dki1xxsh5mkz9gl21a5rlwfnr8jn6-lvdfjr0or-a811i2i3ytqlsztthjth0svbccw8inm65tmkqp9sarr553jq53in4xm1m8wn3o4rlwaer06) wrote :

My previous comment was a bit premature. In addition to upgrading the validator itself, you need to get an external HTML5 validator running. This entails two changes: building/installing the HTML5 validator, and referencing it.

Build instructions are here, however, I have had some difficulties getting this to work:
http://about.validator.nu/#src

Afterward, it should just be a matter of adding the following to the bottom of /etc/w3c/validator.conf:

<External>
  HTML5 = http://localhost:8888/html5/
</External>

To post a comment you must log in.
This report contains Public information  
Everyone can see this information.

Other bug subscribers

Remote bug watches

Bug watches keep track of this bug in other bug trackers.