W3C home > Mailing lists > Public > site-comments@w3.org > June 2011

HTML Validator and link checker error on websites which use a base-Tag

From: Dennis Becker <mail.dennisbecker@gmail.com>
Date: Wed, 08 Jun 2011 17:19:38 +0000
Message-Id: <BANLkTinfPpWcCYg_94wgYyW5m7YJn9cVLA@mail.gmail.com>
To: site-comments@w3.org
Hi W3C participant,

there is a huge error in the W3C Validator and Link Checker tool. I have tested the website http://www.sipgate.de with both tools, and both tools result on 404 Response Code for every stylesheet, javascript and image file!

The base tag is defined as following: <base href="http://www.sipgate.de/beta/public/">

Every href for stylesheet, ajavascript and image files is relative to the base path. Every web browser displays the website correct, so I guess these validation tools are "lying" in this case.

Is this a wrong usage of the base-tag or is the base-tag not well supported in the W3C Validator & Link Checker? The same error occurs on the new MobileOK validator, so I guess there is a flaw in the main validation engine.

Kind Regards,
Dennis Becker
Received on Thursday, 9 June 2011 06:08:17 UTC

This archive was generated by hypermail 2.3.1 : Tuesday, 6 January 2015 21:15:43 UTC