Re: Detecting XHTML

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 UTC