W3C home > Mailing lists > Public > public-html@w3.org > May 2008

Re: Subdocument fragments in a compound document (part of detailed review of documents and document framegents)

From: Ian Hickson <ian@hixie.ch>
Date: Fri, 9 May 2008 06:08:25 +0000 (UTC)
To: Geoffrey Sneddon <foolistbar@googlemail.com>
Cc: public-html@w3.org
Message-ID: <Pine.LNX.4.62.0805090607400.23610@hixie.dreamhostps.com>

On Tue, 17 Jul 2007, Geoffrey Sneddon wrote:
> XHTML5 currently allows a single element in a subdocument fragment: 
> <html>. This thereby makes every Atom document that uses @type=xhtml 
> invalid, as RFC4287 requires a single xhtml:div element. Is there any 
> reason to disallow this? The logical thing would be to allow <html> for 
> full document fragments, and <div> for body fragments.

Right now the spec allows <div> anywhere that flow content is expected.

I don't really understand why this conflicts with Atom.

Ian Hickson               U+1047E                )\._.,--....,'``.    fL
http://ln.hixie.ch/       U+263A                /,   _.. \   _\  ;`._ ,.
Things that are impossible just take longer.   `._.-(,_..'--(,_..'`-.;.'
Received on Friday, 9 May 2008 06:09:04 UTC

This archive was generated by hypermail 2.4.0 : Saturday, 9 October 2021 18:44:30 UTC