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

Re: content type for XHTML fragments

From: Garret Wilson <garret@globalmentor.com>
Date: Mon, 16 Jan 2006 09:17:27 -0800
Message-ID: <43CBD527.3070903@globalmentor.com>
To: www-html@w3.org

Spartanicus wrote:
> Don't post in HTML, plain text only please. Corrected this once.
>   
My apologies---I was running on habit.

> I assumed that the application *includes* the fragments, not parse them.
> You need to explain further if that isn't the case.
>
>   
My original post indicated, "A common use nowadays, especially with 
wikis and newsfeeds, is to store XHTML fragments (such as 'this is 
<em>really</em> cool') to be later integrated into a larger XHTML 
document." By "store" I mean "store in some external file". By 
"integrated" I mean "gathered together and combined".

I never indicated that the application would parse the fragments 
(although in my particular application this occurs)---even if no parsing 
takes places and simply inclusion is to occur, the application still 
needs to know whether it should render characters such as '<' verbatim 
or whether it should encode them.

Garret
Received on Monday, 16 January 2006 17:17:48 GMT

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