RE: Serving XHTML as XML

 

    -----Original Message-----
Jesper Tverskov
    
    Thanks, Julian but I have already dealt with 'Quirks mode' 
    in IE in the article, and it's not a problem:
    
    http://www.smackthemouse.com/xhtmlxml#h29

at which you say,
<quote>When moving to XHTML served as XML, we still serve text/html to Internet Explorer 6.0. It is only natural not to use the XML declaration when XHTML 1.0 Strict is served as text/html. It is not XML.</quote>

What of the encoding issues possibly excluded by the encoding statement?
And if there is any embedded content from another namespace?

Quote from another list this morning... quite relevant.


 http://www.w3.org/TR/xhtml-media-types/ suggests application/xhtml+xml.


 "[T]he use of 'text/html' SHOULD be limited to HTML-compatible XHTML
  1.0 documents."

The discussion of HTML-compatible XHTML refers to the guidelines in XHTML itself 

The discussion also says

 "In particular, 'text/html' is NOT suitable for XHTML Family
  document types that adds elements and attributes from foreign
  namespaces, such as XHTML+MathML [XHTML+MathML]."


regards DaveP

** snip here **

-- 
DISCLAIMER:

NOTICE: The information contained in this email and any attachments is 
confidential and may be privileged.  If you are not the intended 
recipient you should not use, disclose, distribute or copy any of the 
content of it or of any attachment; you are requested to notify the 
sender immediately of your receipt of the email and then to delete it 
and any attachments from your system.

RNIB endeavours to ensure that emails and any attachments generated by
its staff are free from viruses or other contaminants.  However, it 
cannot accept any responsibility for any  such which are transmitted.
We therefore recommend you scan all attachments.

Please note that the statements and views expressed in this email and 
any attachments are those of the author and do not necessarily represent
those of RNIB.

RNIB Registered Charity Number: 226227

Website: http://www.rnib.org.uk

Received on Wednesday, 23 February 2005 15:11:36 UTC