Re: XHTML2 MIME type

-----BEGIN PGP SIGNED MESSAGE-----
Hash: SHA1

Hi Toby,

Am Dienstag, 8. April 2003 18:59 schrieb Toby A Inkster:
> On Tue, Apr 08, 2003 at 05:41:39PM +0100, Jim Dabell wrote:
> | Will there be a new MIME type for XHTML2, or are people expecting to use
> | application/xhtml+xml?  If there is not going to be an XHTML2-specific
> | MIME type, how are servers supposed to distinguish between user-agents
> | that can handle XHTML2 and those that cannot (for the purpose of content
> | negotiation in particular)?
>
> The world didn't end when we used the same MIME types for HTML 4 and
> HTML 3.2!
But HTML 4 was somewhat backwards compatible with HTML 3.2, while XHTML 2.0 is 
so incompatible with previous versions XHTML that it already received its own 
Namespace.

> Besides which, most browsers that handle application/xhtml+xml do so by
> pushing it through a generic XML+CSS/XSLT rendering engine after
> applying a default style, a technique that should still work with
> XHTML2.
That's not true.
With CSS it is not possible to add the form, inline style, style element, link 
element, script element etc. stuff. Only tables, lists, paragraphs, block and 
inline formatting can be done via CSS. CSS Level 3 will add some of the 
missing features, but no user agent is capable of CSS Level 3.

It's not a good idea to send XHTML 2 as application/xhtml+xml to a user agent 
that says it accepts application/xhtml+xml just to present the user with an 
error message that the document type and document namespace are unknown resp. 
no default stylesheet can be associated with them per default.


Bye
- -- 
ITCQIS GmbH
Christian Wolfgang Hujer
Geschäftsführender Gesellschafter
Telefon: +49  (0)89  27 37 04 37
Telefax: +49  (0)89  27 37 04 39
E-Mail: Christian.Hujer@itcqis.com
WWW: http://www.itcqis.com/
-----BEGIN PGP SIGNATURE-----
Version: GnuPG v1.0.7 (GNU/Linux)

iD8DBQE+kxh/zu6h7O/MKZkRAjoZAKCcvvpjzecCLi6Vw1+mH9CsDIOsUgCgvRo7
+hETVfMslEEgXrcQZmFJrjg=
=piKj
-----END PGP SIGNATURE-----

Received on Tuesday, 8 April 2003 14:45:46 UTC