W3C home > Mailing lists > Public > www-validator@w3.org > March 2007

Re: Validation being kinda wierd...

From: Sierk Bornemann <sierkb@gmx.de>
Date: Thu, 8 Mar 2007 20:30:41 +0100
Message-Id: <3303AC8E-EFCC-4F46-B63F-5B113FD0D6A4@gmx.de>
Cc: www-validator@w3.org
To: David Dorward <david@dorward.me.uk>

Am 08.03.2007 um 19:53 schrieb David Dorward:

> Sierk Bornemann wrote:
>> Nevertheless, anybody prevents you from making your document well- 
>> formed in HTML 4.01
> Other then "well formedness" being a meaningless term when applied  
> to HTML

Technically spoken, yes. Aesthetically spoken and having a later  
transition to XHTML in mind, no. :-)

>> Or, if nothing speaks against it, switch to a XHTML Document Type
> * Internet Explorer doesn't support XHTML.

It supports it, if you follow the HTML Compatibility Guidelines of  
the XHTML 1.0 Spec on http://www.w3.org/TR/xhtml1/#guidelines.
For Internet Explorer lower/equal v6, this mainly means:

* XHTML 1.0 Doctype,
* no Processing Instruction (<?xml version="1.0"?>),
* a space before the trailing / and > of empty elements,
* document served as text/html

The bug of Internet Explorer lower v7 to switch into Quirks-Mode,  
when the Processing Instruction (PI) occurs, is fixed in Internet  
Explorer 7.

> * Pretending XHTML is HTML by serving it as text/html is an ugly  
> hack that depends on browser bugs.


XHTML Media Types

Serving XHTML 1.0

XHTML oder HTML? (german)

Sierk Bornemann | Germany
email:            sierkb@gmx.de
WWW:              http://sierkbornemann.de/
Received on Thursday, 8 March 2007 19:30:57 UTC

This archive was generated by hypermail 2.3.1 : Tuesday, 1 March 2016 14:17:51 UTC