Re: XHTML and Latest Standards

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

	http://w3.org/

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