Re: Bug: Access violation in ParseList()

On Thu, 9 Dec 1999, Kenichi Numata wrote:

> The latest version of tidy causes access violation when parsing
> the example I have reported previously (though it's not an
> infinite loop).
> 
> Here's the excerpt from release notes(September 1999).
> (http://www.w3.org/People/Raggett/tidy/release-notes.html)
> 
> "Kenichi Numata discovered that Tidy looped indefinitely for examples
> similar to the following:
> 
> <font size=+2>Title
> <ol>
> </font>Text
> </ol>
> 
> I have now cured this problem which used to occur when a </font>
> tag was placed at the beginning of a list element. ..."
> 
> Access violation occurred at line 1422 in parser.c
> ----
> if ((node->tag->model & CM_BLOCK) && lexer->excludeBlocks)
> ----

Thanks, I will fix this in the December release. The cure is to
check for unknown tags prior to reaching this code. I am working
through a long list of example files and currently struggling 
with misplaced form tags in tables.

Regards,

-- Dave Raggett <dsr@w3.org> http://www.w3.org/People/Raggett
tel/fax: +44 122 578 3011 (or 2521) +44 385 320 444 (mobile)
World Wide Web Consortium (on assignment from HP Labs)

Received on Monday, 13 December 1999 13:12:19 UTC