Re: XHTML 1.0 Content-Negotiation

(Continuation)

The W3C Tutorial relating to content negotiation http://www.w3.org/2003/01/xhtml-mimetype/content-negotiation mostly relates to Apache. I am working on content-negotiation for my Zeus/3.4 Server. My interim goal is to serve XHTML 1.0 documents as 
Content-Type application/xhtml+xml to Firefox browsers and as text/html to MSIE browsers.

I have constructed a test page http://www.jp29.org/indexbak.php (a replication of my de-facto Home page http://www.jp29.org/ 
which is served as html 4.01) that I am attempting to serve as application/xhtml+xml in my Firefox 1.0.6 browser and as Content-Type: text/html in my MSIE 6.0 browser. 

Checks of my test page served as XHTML 1.0 (strict) Content-Type application/xhtml+xml in my Firefox 1.0.6 browser:

Firefox Tools/Web Developer/Information/Vew Page Information/View Response Headers

W3C Validator in Verbose mode -- http://validator.w3.org/check?verbose=1&uri=http%3A//www.jp29.org/indexbak.php 

Web Caching -- http://www.web-caching.com/showheaders.html

(Added: O'Reilly RUWF facility at http://www.xml.com/pub/a/tools/ruwf/check.html -- for XML being "well formed"). 


The test page renders as HTML 4.01 (strict) Content-Type text/html for me in my MSIE 6.0 browser.


I solicit comments on the validity of my exercise -- and comments in general.

-- 
James Pickering

 

Received on Tuesday, 16 August 2005 15:47:05 UTC