Gary Turner

Navigation

Skip navigation.

Search

Site navigation

Email conversation

FromGary Turner
ToMe
SubjectIE-wrong xhtml demo
Date2 December 2005 00:50
In your demo, http://www.howtocreate.co.uk/wrongWithIE/?chapter=XHTML, I
notice that IE6 renders the page.  Poorly, but it renders.  A check of
server response headers indicates a content type of 'text/html' rather than
the expected 'application/xhtml+xml'.  I notice too, that your xml
declaration calls for charset iso-8859-1, while the server header says
utf-8.  I seem to recall that the demo has worked as expected in the past,
so wonder if you've had a server reconfiguration.

cheers,

gary

--
Anyone can build a usable web site.  It takes a graphics designer to
make it slow, confusing, and painful to use.

[Ed. normally I do not leave signatures in, but this one has an important
message that is worth retaining]
FromMe
ToGary Turner
SubjectRe: IE-wrong xhtml demo
Date2 December 2005 01:30
Gary,

> In your demo, http://www.howtocreate.co.uk/wrongWithIE/?chapter=XHTML, I
> notice that IE6 renders the page.  Poorly, but it renders.

The link on the left does not give the header. The link at the bottom does
(as does the one on the page itself telling you to click it if you did not
see the prompt the first time):
http://www.howtocreate.co.uk/wrongWithIE/?chapter=XHTML&withHeader=1

adding &withHeader=1 to any of the chapters in the article will cause it to
serve it with the XHTML content-type header.

> I notice too, that your xml declaration calls for charset iso-8859-1

The page uses 8859-1. There was indeed a recent change to the server
configuration made by my hosting service, so it sends the wrong encoding for
my site. I will see if I can get it changed back for my site. The XML prolog
and meta tag are being used to correct this (when the server used to send it
with the correct encoding header, I still had to include them, since the
prolog is required for anything except utf-8 and utf-16).

Mark 'Tarquin' Wilton-Jones - author of http://www.howtocreate.co.uk/
This site was created by Mark "Tarquin" Wilton-Jones.
Don't click this link unless you want to be banned from our site.