W3C home > Mailing lists > Public > www-html@w3.org > January 2003

RE: HTML or XHTML - why do you use it?

From: Peter Foti (PeterF) <PeterF@SystolicNetworks.com>
Date: Tue, 7 Jan 2003 14:21:26 -0500
Message-ID: <A10A983C9DFBD4119F0300104B2EA6B725FF35@ZIPPY>
To: "'www-html@w3.org'" <www-html@w3.org>

> > <Ian>
> >  * If a user saves an XHTML-as-text/html document to disk and later
> >    reopens it locally, triggering the content type sniffing 
> code since
> >    filesystems typically do not include file type information, the
> >    document could be reopened as XML, potentially resulting in
> >    validation errors, parsing differences, or styling differences.
> > </Ian>
> > 
> > 
> > It depends on what application the user has associated with the file
> > extension, does it not?  If the user saves the file with a 
> .htm extension,
> > then his/her HTML User Agent will most likely be the one to 
> open the file.  
> 
> Extension?  What extension?  On Windows, perhaps, but not on 
> other OSes.  Magic
> number detection is a lot more likely on Unix, eg (especially 
> since there is
> really no good reason to give the file a ".htm" extension 
> when saving it, since
> almost all software I know of will deal with a filename 
> without an extension
> (again, on Unix)).


Yes, I was referring to Windows (or more precisely, GUI OSes where you would
open a file by (double)clicking the icon of the file).  Hadn't really
thought about purely text-based OSes.

-Pete
Received on Tuesday, 7 January 2003 14:11:30 GMT

This archive was generated by hypermail 2.2.0+W3C-0.50 : Tuesday, 27 March 2012 18:15:53 GMT