Re: DTD in browsers
- From: "VK" <schools_ring@xxxxxxxxx>
- Date: 6 May 2006 05:10:27 -0700
Michael Winter wrote:
On 05/05/2006 21:02, VK wrote:
For the record, I have IE 6 with Service Pack 2 installed, as well asLook at you address bar: it is not
<http://www.nskom.com/external/tmp/xhtml/xhtml.html> anymore, [...]
Yes, it is.
all critical updates (and most of the optional ones, too).
Version: 6.0.2900.2180.xpsp_sp2_gdr.050301-1519
OK... as a summary... :-)
I checked the situation on different computers, and IE does *not*
recognize "application/xhtml+xml" (which is not a secret), though with
all updates installed it allows to view pages served with such
Content-Type in a round around way described earlier:- instead of
simply prompt you with Save As.
On your machine(s) you have application/xhtml+xml added as extra
content type for ".html" extension through the Folder Options > File
Types. Either you did it long ago yourselve, or it was added by some
XML/XHTML related software installation. Simply remove this association
temporarily to observe the default behavior.
As "application/xhtml+xml" is not one of MIME's for .html in any of
default Windows/IE installations, you cannot count on it in the WWW. So
application/xhtml+xml Content-Type is not currently usable unless for
an intranet, as it renders your content unvailable for the majority of
visitors.
XML Prolog in XHTML document indeed forces IE to stay in Quirk
(BackCompat) mode. This problem asknowledged by IE team and will be
fixed in IE7, see
<http://blogs.msdn.com/ie/archive/2005/09/15/467901.aspx>
The XHTML document still will be parsed as HTML Transitional tag soup
with extra trash inside tags, but it least it will be possible to trig
W3C Box Model for it.
<q>I've also been reading comments for some time in the IEBlog askingFrom the same blog as an epilog:
for support for the "application/xml+xhtml" MIME type in IE. I
should say that IE7 will not add support for this MIME type - we
will, of course, continue to read XHTML when served as "text/html",
presuming it follows the HTML compatibility recommendations.</q>
P.S. <!DOCTYPE HTML PUBLIC "-//W3C//DTD HTML 4.01//EN"> is the only
doctype where you can match content, DTD and content type together. Use
this - or use XML+XSL
.
- Follow-Ups:
- Re: DTD in browsers
- From: Michael Winter
- Re: DTD in browsers
- References:
- Re: DTD in browsers
- From: VK
- Re: DTD in browsers
- From: Michael Winter
- Re: DTD in browsers
- From: VK
- Re: DTD in browsers
- From: Michael Winter
- Re: DTD in browsers
- Prev by Date: Re: Valid XHTML 1.0 Strict without javascript shows an error on ie6/ie7
- Next by Date: Re: Valid XHTML 1.0 Strict without javascript shows an error on ie6/ie7
- Previous by thread: Re: DTD in browsers
- Next by thread: Re: DTD in browsers
- Index(es):
Relevant Pages
|