W3C home > Mailing lists > Public > www-html@w3.org > December 2002

Forcing IE to Show Application/xhtml+xml pages

From: Richard Norman <normri@samc.com>
Date: Mon, 30 Dec 2002 12:10:31 -0800
Message-Id: <se1037c2.062@samc.com>
To: <www-html@w3.org>
Cc: <chipple@chipple.net>

To all,
I found something interesting.
With the new W3 pages, I kept getting a download prompt for trying to
view the Markup directory.  I found the key in the WIndows Registry that
tells all HTML browsers what MIME types are available.
This is a workaround until browsers fully support XHTML, but it seems
to work out well for me cause the prompt went away.
[HKEY_CLASSES_ROOT\MIME\Database\Content Type\application/xhtml+xml]
That is what I entered into my registry.  What this does is register
the .xhtm extension to the application/xhtml+xml MIME type (Copied the
text/html MIME entry and modified it).  While this only treats it as
html, it will get those with IE to be able to view the pages without
that annoying download prompt I was getting.  The application/xml or
text/xml MIME type did not display the page properly.  I'm assuming  the
XML parser in Windows does not understand the HTML properly and does on
present the transforms the way it should be.
[HKEY_CLASSES_ROOT\MIME\Database\Content Type\application/xhtml+xml]
The Registry entries here are just for reference if you want to try it
(the above sample is for setting the MIME type to be the same as
Here is a link to the Microsoft article explaining the registry
Also if you are having the problem check this link as well..
Anyway, I just wanted to throw it out there as a solution if you are
having the same problems I was having with the W3C site and viewing
pages with the "application/xhtml+xml" MIME type.
Again let me state that this does not fix the issue that IE does not
natively understand XHTML fully.  Just gets it to recognize the
"application/xhtml+xml" MIME Type as a web page that can be displayed.
Richard K. Norman II
Web/Application Developer
Saint Agnes Medical Center
Email: Richard.Norman@samc.com <mailto:Richard.Norman@samc.com>
P.S. - Thanks Patrick...
The contents of this email and any attachments are confidential.
It is intended for the named recipient(s) only.
If you have received this email in error please notify the system manager or  the 
sender immediately and do not disclose the contents to any one or make copies.

Received on Monday, 30 December 2002 15:11:37 UTC

This archive was generated by hypermail 2.3.1 : Wednesday, 7 January 2015 15:06:01 UTC