[Home] [By Thread] [By Date] [Recent Entries]
On Tue, 14 Dec 2010 13:17:17 +0000, David Carlisle <davidc@n...> wrote: > On 14/12/2010 13:00, Elliotte Rusty Harold wrote: >> Really? Is that deliberate? I thought one of the goals of HTML 5 was >> to make sure parsers reported the same parse tree no matter what >> garbage you threw at it. > > same parse trees as other html5 parsers yes, but radically different > trees than an XML parser would produce from the same markup. > > I've no complaint with html5 having defined fixup rules to give > consistent error recovery from overlapping markup and other horrors, > but I think the fact that it parses well formed XML and produces > different trees is just wrong. That HTML5 may do strange things when presented with HTML/mathml/svg elements is rather par for the course! I was thinking about how it behaves with XML with names not in HTML/MATHML/SVG. Cheers Rick
[Date Prev] | [Thread Prev] | [Thread Next] | [Date Next] -- [Date Index] | [Thread Index] |

Cart



