W3C home > Mailing lists > Public > www-html@w3.org > January 2007

Re: XHTML and Latest Standards

From: Philip TAYLOR <P.Taylor@Rhul.Ac.Uk>
Date: Wed, 10 Jan 2007 14:56:08 +0000
Message-ID: <45A4FE88.4060300@Rhul.Ac.Uk>
To: Vincent Van Pé <vincent_vanpe@yahoo.fr>
CC: www-html@w3.org

Vincent Van Pé wrote:
> Hi,
>     I agree.
>     Whatever it may be, the one use by the w3c.org site is XHTML 1.1. 

Interesting : when I do a "Lynx -head" for


I am told

	HTTP/1.1 301 Moved Permanently
	Date: Wed, 10 Jan 2007 14:39:59 GMT
	Server: Apache/1.3.37 (Unix) PHP/4.4.4
	Location: http://www.w3.org/
	Connection: close
	Content-Type: text/html; charset=iso-8859-1

the last line of which suggests that they are, in fact, serving
HTML.  The document itself (see below) claims to be XHTML 1.0,
but reinforces the apparent wish to be parsed as HTML by replicating
the "Content-type" in the META element at line 4.

This in turn means that the trailing "/>" at line 4 :

	<?xml version="1.0" encoding="utf-8"?>
	<!DOCTYPE html PUBLIC "-//W3C//DTD XHTML 1.0 Strict//EN" "http://www.w3.org/TR/xhtml1/DTD/xhtml1-strict.dtd">
	<html xmlns="http://www.w3.org/1999/xhtml" xml:lang="en-US" lang="en-US">
	<head profile="http://www.w3.org/2000/08/w3c-synd/#"><meta http-equiv="Content-Type" content="text/html; charset=utf-8" />
	<meta name="generator" content="HTML Tidy for Mac OS X (vers 1st March 2004), see www.w3.org" />

will terminate the HEAD region, causing all remaining HEAD material
(of which there  is a great deal) to be treated as BODY matter :-(((

All very strange/worrying ...

Philip Taylor
Received on Wednesday, 10 January 2007 15:32:23 UTC

This archive was generated by hypermail 2.3.1 : Wednesday, 7 January 2015 15:06:14 UTC