W3C home > Mailing lists > Public > www-html@w3.org > January 2006

Re: content type for XHTML fragments

From: Spartanicus <spartanicus.3@ntlworld.ie>
Date: Mon, 16 Jan 2006 16:55:51 +0000
Message-ID: <n2m-g.tfjns1hc19ef2ffp5n02hd9ieu5bh9kumh@news.spartanicus.utvinternet.ie>
To: www-html@w3.org

Garret Wilson <garret@globalmentor.com> wrote:

>Content-Type: text/html; charset=ISO-8859-1

Don't post in HTML, plain text only please. Corrected this once.

Please also note that people on a mailing list can be assumed to read
the actual mailing list, hence it's rather irritating to get replies
once in one's inbox, and again via the list.

>>>What content type should we use for XHTML fragments?

>>As long as the application that processes the fragments handles it
>>properly it shouldn't matter, as these fragments should never be
>>accessible in other ways.
>>
>>I'd use text/plain

>Thanks, but that's not a full solution---how does the application (the
>Wiki, the newsfeed---whatever) know whether to process and interpret
>tags?

I assumed that the application *includes* the fragments, not parse them.
You need to explain further if that isn't the case.

-- 
Spartanicus
Received on Monday, 16 January 2006 16:55:54 GMT

This archive was generated by hypermail 2.2.0+W3C-0.50 : Tuesday, 27 March 2012 18:16:05 GMT