W3C home > Mailing lists > Public > www-validator-css@w3.org > February 2004

Ignoring <base href>?

From: Jay Goldman <jgoldman@radiantcore.com>
Date: Wed, 25 Feb 2004 11:59:00 -0500
To: www-validator-css@w3.org
Message-Id: <E85D6EC1-67B3-11D8-873B-000A95C732E6@radiantcore.com>
Hello -

We are trying to validate an XHTML page's CSS files using the 
Validator. The page can be found here:

http://216.83.161.105/series2004/signup.jsp

The page is valid XHTML according to the W3's validator. The CSS 
Validator returns a no style sheets found error. The <head> of the 
document contains (among other things):

<!DOCTYPE html PUBLIC "-//W3C//DTD XHTML 1.0 Transitional//EN"
	"http://www.w3.org/TR/xhtml1/DTD/xhtml1-transitional.dtd">

<html xmlns="http://www.w3.org/1999/xhtml" lang="en">

<head>
	<title>The Glenn Group Inc.</title>
	<base href="http://216.83.161.105/" />

	<!-- Links to external CSS files. The first one is to overcome a bug in
	IE6 that causes a page flicker before the real one loads. -->
	<link rel="stylesheet" href="resources/empty.css" type="text/css" />
	<style type="text/css" media="screen">@import 
"resources/css/screen.css";</style>
	<style type="text/css" media="screen">@import 
"resources/css/forms.css";</style>
	<style type="text/css" media="screen">@import 
"resources/css/tables.css";</style>
	<style type="text/css" media="screen">@import 
"resources/css/series2004.css";</style>
</head>

This works in all the browsers we've tested (IE 5.x and 6 PC, IE 5 Mac, 
Mozilla PC, Mozilla Mac, Safari) and correctly formats the page using 
those CSS files. The CSS Validator appears to be ignoring the <base 
href> declaration as it reports:

File not 
foundhttp://216.83.161.105/series2004/resources/css/screen.css: Not 
Found

Though it should be looking for 
http://216.83.161.105/resources/css/screen.css.

Is it us or the validator?

Thanks,

Radiant Core, Inc.
Per: Jay Goldman, President
-----------------------------------------------
t: 416.941.1551 f: 416.941.9316 c: 416.704.4283
Received on Wednesday, 25 February 2004 12:04:47 UTC

This archive was generated by hypermail 2.3.1 : Wednesday, 5 February 2014 07:19:07 UTC