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

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 UTC