W3C home > Mailing lists > Public > html-tidy@w3.org > October to December 1999

Re: Bug: Access violation in ParseList()

From: Dave Raggett <dsr@w3.org>
Date: Mon, 13 Dec 1999 18:12:12 +0000 (GMT Standard Time)
To: Kenichi Numata <Kenichi.Numata@fujixerox.co.jp>
cc: "html-tidy@w3.org" <html-tidy@w3.org>
Message-ID: <Pine.WNT.4.10.9912131810290.304-100000@OEMCOMPUTER>
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 GMT

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