- From: Henri Sivonen <hsivonen@iki.fi>
- Date: Wed, 2 Apr 2008 14:59:14 +0300
- To: "Ben Boyle" <benjamins.boyle@gmail.com>
- Cc: "HTML WG" <public-html@w3.org>
On Apr 2, 2008, at 14:49, Ben Boyle wrote: > I am not quite sure where the line between the two is... there is (for > me) a blurry grey area around well-formed xhtml source code, which > could be parsed - successfully - as either xhtml OR html (assumably > producing the same dom?). How will a UA decide whether to use html > parsing? Is it triggered by doctype, mime type, xmlns or something > else? The trigger is the MIME type. > And it does beg the question: could the work undertaken to define > "html to dom" parsing be applicable to parsing all xml That would be XML5. Anne has done some work on it. -- Henri Sivonen hsivonen@iki.fi http://hsivonen.iki.fi/
Received on Wednesday, 2 April 2008 11:59:53 UTC