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

tidy fails on comment in <tbody>

From: John Cumming <jrc@ndc.com>
Date: Fri, 30 Jul 1999 13:11:40 -0700
Message-Id: <199907302011.NAA06999@kato.ndc-new.com>
To: html-tidy@w3.org
This turned up on Solaris 2, with tidy built using gcc.

The parser has trouble with a comment between a "<tbody>"
and a "<tr>", and likewise with a comment between "</tr>"
and "<tr>" within a TBODY. It causes a Segmentation Fault
when tidy_out() tries to print a DISCARDING_UNEXPECTED
message with a string whose address is 0.

  Tidy (vers 26th July 1999) Parsing "../fault2.html"
  line 10 column 1 - Warning: discarding unexpected 

-------- Example HTML document --------
<title>Comment in `tbody' before a `tr' causes Segmentation Fault</title>

<table summary="example">
  <!-- comment -->


Thanks for the useful tool.

Received on Friday, 30 July 1999 16:11:45 UTC

This archive was generated by hypermail 2.3.1 : Tuesday, 6 January 2015 21:38:46 UTC