W3C home > Mailing lists > Public > html-tidy@w3.org > July to September 1999

Bug: Unclosed nested List Tags causes infinite loop

From: Bjoern Hoehrmann <bjoern@hoehrmann.de>
Date: Tue, 17 Aug 1999 00:44:52 +0200
Message-ID: <014301bee83f$94de8fb0$3b47fd91@de>
To: <html-tidy@w3.org>
Hi,

Given is the code: <UL><OL></UL>

Tidy's output:

<UL>
line 1 column 1 - Warning: inserting missing 'title' element
<OL>
line 2 column 1 - Warning: <ol> isn't allowed in <ul> elements
</ul>
line 3 column 1 - Warning: discarding unexpected </ul>
line 3 column 1 - Warning: discarding unexpected </ul>
line 3 column 1 - Warning: discarding unexpected </ul>
line 3 column 1 - Warning: discarding unexpected </ul>
line 3 column 1 - Warning: discarding unexpected </ul>
.
.
.


I could not figure out, where exactly the bug is (ParseList is a candidate),
but i think this problem is related to the bug reported by Kenichi Numata when
parsing his "<FONT size=+2>Title<OL></FONT>Text</OL>".

Same with: <OL><UL></OL>.

regards,
 Björn Höhrmann
Received on Monday, 16 August 1999 19:33:13 GMT

This archive was generated by hypermail 2.2.0+W3C-0.50 : Tuesday, 3 April 2012 06:13:42 GMT