You are here: Re: Test pages served as html, xhtml, and xml « HTML « IT news, forums, messages
Re: Test pages served as html, xhtml, and xml

Posted by dorayme on 01/19/06 14:05

In article
<1137645801.740065.236050@f14g2000cwb.googlegroups.com>,
"cwdjrxyz" <spamtrap1@cwdjr.info> wrote:

> http://www.cwdjr.info/extensions/autoForceXhtml.php

This link displays in Mac browsers: Safari, the latest Mozilla
(for X) and latest Opera (for X) in the source:

<?xml version="1.0" encoding="iso-8859-1" ?>
<!DOCTYPE html PUBLIC "-//W3C//DTD XHTML 1.1//EN"
"http://www.w3.org/TR/xhtml1/DTD/xhtml11.dtd">
<html xmlns="http://www.w3.org/1999/xhtml" xml:lang="en">

while in the browser, your message (in white on blue):

This page is automatically forced to be served as
applicatiom/xhtml+xml no matter what the browser says it supports
are likes to support. Thus any browser that really will not
support true xhtml 1.1 properly served will not display the page.
A browser that is completely "xhtml ready" that really could
serve true xhtml but usually will not because it does not mention
application/xhtml +xml support in the header exchange between it
and the server may be smoked out by this approach. I would
greatly appreciate knowing if anyone finds a browser that gives
you only a html 4.01 strict page when you use the auto page and
gives you an xhtml 1.1 page when you use this page.

--
dorayme

 

Navigation:

[Reply to this message]


Удаленная работа для программистов  •  Как заработать на Google AdSense  •  England, UK  •  статьи на английском  •  PHP MySQL CMS Apache Oscommerce  •  Online Business Knowledge Base  •  DVD MP3 AVI MP4 players codecs conversion help
Home  •  Search  •  Site Map  •  Set as Homepage  •  Add to Favourites

Copyright © 2005-2006 Powered by Custom PHP Programming

Сайт изготовлен в Студии Валентина Петручека
изготовление и поддержка веб-сайтов, разработка программного обеспечения, поисковая оптимизация