[whatwg] Still more comments and questions on Web Apps 1.0

Henri Sivonen hsivonen at iki.fi
Sun Jun 10 12:00:05 PDT 2007


On Jun 10, 2007, at 15:31, Michel Fortin wrote:

> Le 2007-06-10 à 7:05, Anne van Kesteren a écrit :
>
>> On Sat, 09 Jun 2007 23:03:54 +0200, Michel Fortin  
>> <michel.fortin at michelf.com> wrote:
>>>> I don't think XML does that, actually.
>>
>> See the first paragraph of http://www.w3.org/TR/xml/#syntax for  
>> the reason why this is so. White space outside the the root  
>> element is markup and not text.
>
> Yyou're right. I was indeed missing something. Thank you.
>
> In that case, I guess it'd make sense to do the same for HTML.

Yes, it makes sense to do the same. Otherwise there'd be particularly  
esoteric non-roundtrippable case when converting from HTML5 to XHTML5  
and back to HTML5.

-- 
Henri Sivonen
hsivonen at iki.fi
http://hsivonen.iki.fi/





More information about the whatwg mailing list