W3C home > Mailing lists > Public > public-rdf-in-xhtml-tf@w3.org > October 2009

Re: Empty span/div tags in RDFa pages

From: Julian Reschke <julian.reschke@gmx.de>
Date: Tue, 27 Oct 2009 15:11:54 +0100
Message-ID: <4AE6FFAA.3060907@gmx.de>
To: Ian Hickson <ian@hixie.ch>
CC: Toby Inkster <tai@g5n.co.uk>, RDFa mailing list <public-rdf-in-xhtml-tf@w3.org>
Ian Hickson wrote:
> On Mon, 26 Oct 2009, Toby Inkster wrote:
>> On Mon, 2009-10-26 at 18:40 +0100, Julian Reschke wrote:
>>> Which of course is caused by the fact that you simply can't serve 
>>> XHTML as text/html. The media type is authoritative, so recipients 
>>> will treat it as HTML.
>> I think this is something that is often overstated.
>>
>> RFC 2854 notes that "different versions [of HTML] are distinguishable by 
>> the DOCTYPE declaration contained within them", so -- assuming that 
>> XHTML is a "version" of HTML, whatever that means -- it is not incorrect 
>> behaviour to detect an XHTML DOCTYPE and perform version-specific 
>> parsing on the content.
>>
>> I realise that many popular user agents (especially desktop browsers) do 
>> not do this, but that doesn't make it wrong to do so.
> 
> This is one of the main things that HTML5 fixes in its updated text/html 
> registration:
> 
>   http://www.whatwg.org/specs/web-apps/current-work/multipage/iana.html#text/html

I don't think this is a "fix", in that RFC 2854 never said you can 
deliver XHTML as text/html and expect it to be treated as XHTML.

BR, Julian
Received on Tuesday, 27 October 2009 14:12:29 GMT

This archive was generated by hypermail 2.2.0+W3C-0.50 : Tuesday, 27 October 2009 14:12:30 GMT