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

Re: Spurious <li> error in August Tidy Windows release

From: Dave Raggett <dsr@w3.org>
Date: Mon, 14 Aug 2000 10:51:03 +0100 (GMT Daylight Time)
To: Bob Boeri <bboeri@forefield.com>
cc: html-tidy@w3.org, gerald@w3.org
Message-ID: <Pine.WNT.4.10.10008141049450.-464735@hazel.hpl.hp.com>
On Mon, 7 Aug 2000, Bob Boeri wrote:

> I have started a small regression test of the August Tidy
> release. The May (and July) releases "tidied" up a test file
> fine, as did the August version (the August version now
> generates the Tidy log file). However, the August version now
> gives an error message I believe is spurious and am wondering if
> Tidy is really referring to some other error that I can't find.
> The spurious error is:
>  
>     line 24 column 1 - Warning: <li> isn't allowed in <body> elements
> 
> and the context, approximately lines 20-25, is:
> 
>    <body
>    onload='javascript:if (top.frames.length&gt;0) parent.docLoaded(window.location.href);'>
>       <span class="DocTitle">Cash Reserve (Overview)</span><br />
>       <span class="DocTitle">Discussion</span> 
>       <p>
>          <a id="h1_0" name="h1_0"><span class="HeadingNumber">1.0</span></a> <a
>          href="../fp/FP05-00-V000-SY.html#h1_0" class="HeadingText">What is a
>          cash reserve?</a><br />
>           A cash reserve is ...text omitted... </p>
>       <ul class="noindent">
>          <li class="CautionText">
>             <img src="../Caution.gif" class="CautionText" />Terminology is
>             important here because... 
> 
> 
> Comments-suggestions?

I regret I couldn't reproduce the problem you describe with the
above example. Tidy complained:

line 1 column 1 - Warning: inserting missing 'title' element
line 15 column 13 - Warning: img lacks "alt" attribute
line 19 column 2 - Warning: missing </ul>

Regards,

-- Dave Raggett <dsr@w3.org> http://www.w3.org/People/Raggett
tel/fax: +44 122 578 3011 (or 2521) +44 778 532 0444 (mobile)
World Wide Web Consortium (on assignment from HP Labs)
Received on Monday, 14 August 2000 05:51:11 GMT

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