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

Re: content type for XHTML fragments: reformulated

From: Christian Hujer <Christian.Hujer@itcqis.com>
Date: Tue, 17 Jan 2006 20:04:57 +0100
To: www-html@w3.org
Message-Id: <200601172004.57608.Christian.Hujer@itcqis.com>

Am Dienstag, 17. Januar 2006 03:03 schrieb HeroreV:
> --- Lachlan Hunt <lachlan.hunt@lachy.id.au> wrote:
> > No, you don't need to wrap it in an outer element if
> > you used that MIME type.
>
> But without a wrapping element, there is no easy way
> to declare the namespace. The XML fragment will have
> to be parsed and the elements that aren't contained in
> other elements will all need an xmlns attribute.
>
> If a wrapping element is used, it will be nonsemantic.
> Something like an <xml:fragment> element would be
> useful here.
Yes, but it should probably not be <xml:fragment/>. I doubt that declaring 
elements within the xml namespace is a good idea.

-- 
Christian Hujer
Free software developer
E-Mail: Christian.Hujer@itcqis.com
WWW: http://www.itcqis.com/ http://daimonin.sf.net/
Received on Tuesday, 17 January 2006 19:05:08 GMT

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