- From: Anne van Kesteren <fora@annevankesteren.nl>
- Date: Mon, 08 Nov 2004 19:53:24 +0100
- To: James Cerra <jfcst24_public@yahoo.com>
- CC: www-html@w3.org
> Now HTML was origionally designed for transport over > the web via HTTP and identification via MIME types. > However, there are cases where (X)HTML may be > transmitted with no MIME type information available. > e.g. Reading a file from a FAT disk or though standard > io. I'm writing a program where this type of > situation may come up. The specs are silent on the > issue, so: What are the recommendations for > identifying the document's type when MIME or HTTP is > not available? Mozilla uses the file extension. '.xhtml' (and maybe '.xht') means XHTML and '.html', '.htm' means HTML. I guess that is the only safe way to do such a thing. -- Anne van Kesteren <http://annevankesteren.nl/>
Received on Monday, 8 November 2004 18:53:42 UTC