Re: Error recovery spec

I like to think of these elements as specifying properties of individual
characters.

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

> Michael Sokolov scripsit:
>
> > John - for those of us not fully steeped in the mysteries of tag
> > soup, would you mind providing an example where the ReStartable
> > property is useful?
>
> Sure.  For example, the HTML "i" and "b" elements are ReStartable.
> If they were not, then the sequence <i>italic<b>bolditalic</i>bold</b>
> would be rectified as <i>italic<b>bolditalic</b></i>bold</b> which
> is well-formed but suboptimal: the text "bold" is not bold.  With
> ReStartability, the result is <i>italic<b>bolditalic</b></i><b>bold</b>
> because "b" is restarted as soon as the "i" element is closed.
>
> --
> Some people open all the Windows;       John Cowan
> wise wives welcome the spring           cowan@ccil.org
> by moving the Unix.                     http://www.ccil.org/~cowan
>   --ad for Unix Book Units (U.K.)
>         (see http://cm.bell-labs.com/cm/cs/who/dmr/unix3image.gif)
>

Received on Tuesday, 18 December 2012 08:24:52 UTC