document nesting of tags and handle some common error conditions.

Errors like <ol> <li> item 1 <li> item 2 <li> item 3 </ol>
wherein the list items are not closed with </li>.
I have to start handling these properly, to prepare for
parentNode and childNodes.