W3C home > Mailing lists > Public > public-html-xml@w3.org > January 2011

Re: Detecting XHTML

From: Anne van Kesteren <annevk@opera.com>
Date: Wed, 05 Jan 2011 11:50:10 +0100
To: "Henri Sivonen" <hsivonen@iki.fi>, "John Cowan" <cowan@mercury.ccil.org>
Cc: public-html-xml@w3.org
Message-ID: <op.vot0dvx264w2qv@anne-van-kesterens-macbook-pro.local>
On Wed, 05 Jan 2011 10:10:33 +0100, John Cowan <cowan@mercury.ccil.org>  
wrote:
> Henri Sivonen scripsit:
>> Or if you use a file: URL, the file must have a .xhtml file name  
>> extension.
>
> Hopefully that works for all schemes other than http?

That or some other form of metadata relevant to the protocol the scheme  
implies. E.g. with data: URLs you explicitly set a type and with  
javascript: URLs it depends on the context (iirc).


-- 
Anne van Kesteren
http://annevankesteren.nl/
Received on Wednesday, 5 January 2011 10:58:12 GMT

This archive was generated by hypermail 2.2.0+W3C-0.50 : Wednesday, 5 January 2011 10:58:13 GMT