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

Re: bug in tidy

From: Terry Teague <teague@mailandnews.com>
Date: Tue, 30 Nov 1999 00:37:05 -0800
Message-Id: <l03130301b4693bc6500c@[17.219.108.47]>
To: html-tidy@w3.org
At 6:04 PM -0500 11/29/99, Quentin Neill wrote:
>I downloaded this version:
>	tidy24nov99.tar (cksum 24640   500)
>
>I ran it on the attached file and it seg-faulted on an uknown tag.
>
>	tidy x.html
>
>> quentin$ tidy  x.html
>>
>> Tidy (vers 24th November 1999) Parsing "x.html"
>> line 21 column 5 - Warning: <hr> isn't allowed in <h3> elements
>> line 22 column 6 - Warning: <img> proprietary attribute value "TEXTTOP"
>> line 22 column 6 - Warning: <img> lacks "alt" attribute
>> line 38 column 23 - Warning: <img> lacks "alt" attribute
>> line 40 column 29 - Warning: <img> lacks "alt" attribute
>> line 44 column 6 - Warning: <hr> isn't allowed in <h3> elements
>> line 44 column 9 - Warning: <img> proprietary attribute value "TEXTTOP"
>> line 44 column 9 - Warning: <img> lacks "alt" attribute
>> line 65 column 2 - Warning: <hr> isn't allowed in <h3> elements
>> line 65 column 5 - Warning: <img> proprietary attribute value "TEXTTOP"
>> line 65 column 5 - Warning: <img> lacks "alt" attribute
>> line 90 column 2 - Warning: <hr> isn't allowed in <h3> elements
>> line 90 column 5 - Warning: <img> proprietary attribute value "TEXTTOP"
>> line 90 column 5 - Warning: <img> lacks "alt" attribute
>> line 107 column 2 - Warning: <hr> isn't allowed in <h4> elements
>> line 107 column 5 - Warning: <img> proprietary attribute value "TEXTTOP"
>> line 107 column 5 - Warning: <img> lacks "alt" attribute
>> line 112 column 20 - Error: <bold> is not recognized!
>> line 112 column 20 - Warning: discarding unexpected <bold>
>> Segmentation fault
>>
>
>I removed the uknown tag and everything worked fine.

FWIW, I was not able to reproduce the crash with the Mac OS version of Tidy
24 Nov 99 (that's not to say there isn't a bug there).

For completeness, here is the error report for "x.html" using the Mac OS
version :

-----------------
MacTidy (vers 24th November 1999) Parsing "Work:MacTidy:bug reports:x.html"
line 21 column 5 - Warning: <hr> isn't allowed in <h3> elements
line 22 column 6 - Warning: <img> proprietary attribute value "TEXTTOP"
line 22 column 6 - Warning: <img> lacks "alt" attribute
line 38 column 23 - Warning: <img> lacks "alt" attribute
line 40 column 29 - Warning: <img> lacks "alt" attribute
line 44 column 6 - Warning: <hr> isn't allowed in <h3> elements
line 44 column 9 - Warning: <img> proprietary attribute value "TEXTTOP"
line 44 column 9 - Warning: <img> lacks "alt" attribute
line 65 column 2 - Warning: <hr> isn't allowed in <h3> elements
line 65 column 5 - Warning: <img> proprietary attribute value "TEXTTOP"
line 65 column 5 - Warning: <img> lacks "alt" attribute
line 90 column 2 - Warning: <hr> isn't allowed in <h3> elements
line 90 column 5 - Warning: <img> proprietary attribute value "TEXTTOP"
line 90 column 5 - Warning: <img> lacks "alt" attribute
line 107 column 2 - Warning: <hr> isn't allowed in <h4> elements
line 107 column 5 - Warning: <img> proprietary attribute value "TEXTTOP"
line 107 column 5 - Warning: <img> lacks "alt" attribute
line 112 column 20 - Error: <bold> is not recognized!
line 112 column 20 - Warning: discarding unexpected <bold>
line 112 column 40 - Warning: missing <li>
line 135 column 2 - Warning: <hr> isn't allowed in <h3> elements
line 135 column 5 - Warning: <img> proprietary attribute value "TEXTTOP"
line 135 column 5 - Warning: <img> lacks "alt" attribute

"Work:MacTidy:bug reports:x.html" appears to be HTML proprietary
23 warnings/errors were found!

etc...

-----------------

Regards, Terry
Received on Tuesday, 30 November 1999 03:37:31 GMT

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