W3C home > Mailing lists > Public > www-html@w3.org > December 2002

Re: Is this legal XHTML 1.1?

From: Ian Hickson <ian@hixie.ch>
Date: Mon, 9 Dec 2002 07:58:45 +0000 (GMT)
To: Christian Wolfgang Hujer <Christian.Hujer@itcqis.com>
Cc: Elliotte Rusty Harold <elharo@metalab.unc.edu>, "www-html@w3.org" <www-html@w3.org>
Message-ID: <Pine.LNX.4.21.0212090751190.21056-100000@dhalsim.dreamhost.com>

On Mon, 9 Dec 2002, Christian Wolfgang Hujer wrote:
> And the note http://www.w3.org/TR/xhtml-media-types/ says XHTML 1.1 should 
> not, but not must not, be sent as text/html.

If you read RFC2119, you'll find that SHOULD NOT is equivalent to MUST
NOT for most cases. I certainly can't see any amazingly important reason
to use XHTML 1.1 over HTML 4.01 (or XHTML 1.0) in this case, ESPECIALLY
if backwards compatability is important.

In any case that note is just that, a note. It is non-normative.

> RFC 2854 is not valid in this case, anyway, it is outdated because it
> does not know anything about XHTML 1.1 and is of no use here, I think.

RFC 2854 is the _only_ specification allowing you to use text/html at all.
It has the final word on the MIME type because it _is_ the MIME type.

> RFC2854 says nothing about XHTML 1.1 or the internal subset of a DTD. (at 
> least I could not find anything about that in there)

It refers (indirectly) to XHTML 1.0 section 3.1.1, of which items 1 and 5
make an internal subset illegal.

> The point is that using internal subsets is basically allowed to extend XHTML 
> 1.1, otherwise it would have been explicitely forbidden as it is in XHTML 
> Basic. (That's my personal interpretation, of course)

To extend it, yes. But extending XHTML 1.1 makes a document non-strictly-
conformant XHTML 1.1.

> If the document is served as text/html, it's tag soup anyway.

Exactly. So using an XML variant is pretty pointless.


> I have the feeling, that Mozilla and IE6 interpret at least entities from the 
> internal subset of the DTD, even when the document is served as text/html. 

Mozilla makes no attempt to parse the internal subset in HTML.

Ian Hickson                                      )\._.,--....,'``.    fL
"meow"                                          /,   _.. \   _\  ;`._ ,.
http://index.hixie.ch/                         `._.-(,_..'--(,_..'`-.;.'
Received on Monday, 9 December 2002 02:58:48 UTC

This archive was generated by hypermail 2.3.1 : Wednesday, 7 January 2015 15:06:01 UTC