Re: Error recovery spec

On Mon, Dec 17, 2012 at 10:51 PM, John Cowan <cowan@mercury.ccil.org> wrote:

>
> TagSoup has three more wrinkles:
>
> 1) The "form" and "table" elements have the UnClosable property, which
> means that end-tags are never inserted for them except at EOF.
>

This raises a couple of interesting questions.

- The HTML5 parsing algorithm of this UnClosable property is hugely
complicated (and I don't claim to fully understand it). How much complexity
is it worth adding to replicate features of HTML(5) parsing?

- Is this going to be useful other than for HTML?  Are there any heuristics
that could be used to infer UnClosable properties from a schema in, say,
RELAX NG or XSD.

James

Received on Tuesday, 18 December 2012 08:54:09 UTC