Fw: Uninitialized attribute values?

Upon further investigation, I have concluded that these are actually compiler bugs with your Win9x/NT C compiler (gcc?).  The C Tidy compiled with gcc on Unix, as well as Java Tidy, give the correct results.  I presume you are using Unix for your Tidy development.  I will try compiling Tidy for Windows with WATCOM C, and see if the problems go away.

- Andy

-----Original Message-----
From: Andy Quick <ac.quick@sympatico.ca>
To: html-tidy@w3.org <html-tidy@w3.org>
Date: June 8, 1999 10:44 PM
Subject: Uninitialized attribute values?


Dave,
 
I'm in the process of testing my Java version of Tidy on some public web pages.  I'm seeing some indescribably bad HTML documents, so, as I see it,  their is a great need for Tidy :-)
 
Anyway, I've noticed that the official Tidy seems to generate bogus attribute values in some cases.  It seems to be in cases where the attribute value is missing in invalid elements.  Java Tidy outputs "" for the missing attribute values.  My guess is that Tidy is printing uninitialized data for these values.  Since I have enough other bugs in Java Tidy to solve, I thought I would pass this one along to you.
 
Attached are 2 test HTML documents.  To reproduce the problems, run tidy and look at the values for the following attributes: "width" in test1.html, "font" and "br" in test2.html.
 
Andy Quick

Received on Friday, 11 June 1999 08:59:48 UTC