Gentoo Logo
Gentoo Spaceship

Note: Due to technical difficulties, the Archives are currently not up to date. GMANE provides an alternative service for most mailing lists.
c.f. bug 424647
List Archive: www-redesign
Lists: www-redesign: < Prev By Thread Next > < Prev By Date Next >
To: www-redesign@g.o
From: Xavier Neys <neysx@g.o>
Subject: Re: xhtml-1.1
Date: Sun, 08 Jan 2006 14:58:56 +0100
Curtis Napier wrote:
> While I'm waiting for Aaron to create a new logo I am taking the time to 
> upgrade the site to xhtml-1.1. I put this in a blog post yesterday and 
> already have received numerous reports that I am doing it incorrectly.
> I want everyone on the list to feel confident in this change:
> The specification for xhtml-1.1 says that the server *should* send 
> application/xml+xhtml in the HTTP header but that it *can* send 
> text/html in order to remain backwards compatible with older user 
> agents, IE for example. As long as the doctype is set correctly (and it 
> is) it is still valid xhtml-1.1.

It also says "should not" in black on red.

You've explained at greath lengths why you think it is acceptable to send 
text/html as content-type, but not why a user agent that accepts 
application/xhtml+xml and is sent application/xhtml+xml is not told the 
content is application/xhtml+xml
It's a minor issue with browsers, but I guess we'll get bugs or a questions 
about that regularly.

Anyway, you should stick to xhtml1, preferably strict, because libxml2 does 
not support 1.1.
Old stuff, but still valid.

If you stick to the XHTML 1.0 doctype, you'll notice magic stuff happening to 
your transforms such as the name space being added to <html>, or xml:lang="pl" 
automatically added if you only have lang="pl"...

<?xml version="1.0" encoding="UTF-8"?>
<xsl:stylesheet xmlns:xsl="" version="1.0"
                 extension-element-prefixes="exslt func str" >

<xsl:output     encoding="UTF-8"
                 doctype-public="-//W3C//DTD XHTML 1.0 Strict//EN"

/  Xavier Neys
\_ Gentoo Documentation Project
/  French & Internationalisation Lead

www-redesign@g.o mailing list

-- Curtis Napier
Lists: www-redesign: < Prev By Thread Next > < Prev By Date Next >
Previous by thread:
Next by thread:
heatmaps or what do visitors look at first?
Previous by date:
Next by date:
heatmaps or what do visitors look at first?

Updated Jun 17, 2009

Summary: Archive of the www-redesign mailing list.

Donate to support our development efforts.

Copyright 2001-2013 Gentoo Foundation, Inc. Questions, Comments? Contact us.