Click here to get back home

Web page served as application/xhtml+xml

 HomeNewsGroups | Search

comp.infosystems.www.authoring.html - discuss HTML authoring here 

get this group's latest topics as an RSS feed add this group's latest topics to your My MSN content add this group's latest topics to your My Yahoo content
Subject Author Date
Web page served as application/xhtml+xml Eric Lindsay 11-24-2008
Posted by Eric Lindsay on November 24, 2008, 11:55 pm
Please log in for more thread options

show/hide quoted text

Viewing correctly served XHTML with Internet Explorer seems even more
peculiar than I expected. What I have been told is that Internet
Explorer will not show correctly served XHTML.

It is true with a URL like http://carlylegardensgnome.com/ that IE will
not display it, and offer to download. However in my tests with IE6 and
IE7, it appears each of these will display the page if the URL is in the
form http://carlylegardensgnome.com/index.html

IE also showed any pages linked from my Index page, since these also had
a complete URL. I think I have eliminated cached copies as as a cause.
However if someone could try one of the pages with a complete URL, such
as http://carlylegardensgnome.com/error.html it would be very nice to
get independent confirmation that IE actually does work with (some)
XHTML pages.

--
http://www.ericlindsay.com

Posted by Jonathan N. Little on November 25, 2008, 12:16 am
Please log in for more thread options
Eric Lindsay wrote:

show/hide quoted text

You are just witnessing how IE incorrectly uses file extension rather
than content type to identify content. It won't if your page include
XHTML features. Insert a SVG or some MathXML and see what happens. Just
don't go beyond the HTML subset...



--
Take care,

Jonathan
-------------------
LITTLE WORKS STUDIO
http://www.LittleWorksStudio.com

Posted by Ben Bacarisse on November 25, 2008, 7:00 am
Please log in for more thread options

show/hide quoted text

Just a data point, but I don't see this behaviour. In IE6 I get an
offer to download even when the URL ends with .html. Now, I an using
an emulated windows environment, so there may be some differences but
this one would surprise me if it were cause by the emulation.

Of course, changing the file extension can cause the server to send a
different content type, but I assume that you've checked that.

--
Ben.

Posted by Andreas Prilop on November 25, 2008, 10:38 am
Please log in for more thread options
On Tue, 25 Nov 2008, Ben Bacarisse wrote:

show/hide quoted text

Internet Explorer 6 on Windows XP/2003 and above ignores the
content-type as long as the "extension" is .html.

Internet Explorer 6 on Windows 2000 asks to download whenever
the content-type is application/xhtml+xml.

Your emulation is probably Windows-2000-like.

Posted by Eric Lindsay on November 25, 2008, 8:23 pm
Please log in for more thread options
In article

show/hide quoted text

Thanks for this comment. The only Windows computers I could test on both
use Windows XP, and both ignored content-type. Seems to explain why
others in this thread get the download behaviour.

--
http://www.ericlindsay.com

Similar ThreadsPosted
XHTML served as text/html considered harmless? July 6, 2005, 3:04 pm
Web-page that *BOTH* changes current page + displays a Pop-up page from JavaScript May 15, 2009, 1:53 pm
Need help creating a "Click absolutely ANYWHERE on this page" link for an HTML page with no content February 7, 2007, 5:40 pm
Activating parent page link from 'child page' - revised June 3, 2005, 11:30 am
referencing the index.html page from another page in the same directory July 26, 2004, 12:48 am
extract page structure from page source? September 19, 2006, 1:46 pm
how to make a link to an old page go to a new page without displaying anything August 20, 2007, 3:08 am
Update a web page with contents from another web page. January 8, 2005, 1:59 pm
I would like to sell my web page - You can run your own business with this web page! June 6, 2007, 4:24 pm
I would like to sell my web page - You can run your own business with this web page! June 8, 2007, 5:22 am

Our other projects:

Art Dolls, Fairies and Mermaids - Sunnyfaces.net

Driving a better car - Fuelzilla.com

Cabling site for homeowners and pros alike - Cabling-Design.com

Friends:

Roy's Linux, Programming and Search Engines messages

1-Script XML SitemapXML Sitemap
Privacy Policy