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

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