W3C home > Mailing lists > Public > public-html@w3.org > January 2009

Re: ISSUE-54: doctype-legacy-compat

From: Karl Dubost <karl@la-grange.net>
Date: Tue, 20 Jan 2009 12:46:41 -0500
Cc: HTML WG <public-html@w3.org>
Message-Id: <EB5A1A5C-284C-4FD5-905E-2D48DF5E0927@la-grange.net>
To: Boris Zbarsky <bzbarsky@MIT.EDU>


Le 20 janv. 2009 à 12:41, Boris Zbarsky a écrit :
> Karl Dubost wrote:
>> How do I know what was the intent of the author when the file is on  
>> the desktop and mimetype less? html 5 (text/html) or html 5  
>> (application/xhtml+xml)
>
> Note that we already have this problem with XHTML 1 too.  It's  
> usually resolved by looking at the extension...  One could also look  
> for xmlns on the root, though there's nothing preventing the text/ 
> html version from having that, of course.


for browsers only…
for authoring tools they look at the doctype or tidy in the case of my  
email.


-- 
Karl Dubost
Montréal, QC, Canada
Received on Tuesday, 20 January 2009 17:47:11 UTC

This archive was generated by hypermail 2.3.1 : Monday, 29 September 2014 09:39:00 UTC