W3C home > Mailing lists > Public > html-tidy@w3.org > January to March 2001

Re: Possible Bug in Tidy

From: Max Moritz Sievers <max.moritz.sievers@gmx.de>
Date: Tue, 6 Mar 2001 01:05:26 +0100
To: html-tidy@w3.org
Message-Id: <0103060105260S.13612@yahoo>
I testet your XHTML-document but tidy sayed
Tidy (vers 4th August 2000) Parsing "test.html"
 
test.html: Doctype given is "-//W3C//DTD XHTML 1.0 
Transitional//EN"
test.html: Document content looks like XHTML 1.0 
Transitional
no warnings or errors were found


I had had this error, too but now I am using  tidy (release 
date: 4th August 2000).

But I think the tags and attributes should be lowercase:

<?xml version="1.0" encoding="utf-8" ?>
<!DOCTYPE html PUBLIC "-//W3C//DTD XHTML 1.0 
Transitional//EN"    
"http://www.w3.org/TR/xhtml1/DTD/xhtml1-transitional.dtd">
<html xmlns="http://www.w3.org/1999/xhtml" xml:lang="en" 
lang="en">
  <head>
    <meta name="generator" content="HTML Tidy, see          
    www.w3.org" />
    <title>
      New DB Table
    </title>
    <link href="css/looks.css" rel="stylesheet"             
    type="text/css" />
  </head>
  <body>
    <h2>
      Create a new DB table
    </h2>
    <div id="box">
      <br />
      <form method="POST" action="show_def.php"             
      name="New_Table">
        <p>
          Table Name <input type="text" name="tname"
          value="enter table name here" id="inputbox"       
          size="30" />
        </p>
        <p>
          Number of Fields [1-9] <input type="text"         
          name="nfields"
          value="1" id="inputbox" size="1" maxlength="1" />
        </p>
        <p>
          <input type="image" name="submit"                 
          src="imgs/Ssubmit.gif"
          border="0" alt="[go to step 2]" />
        </p>
      </form>
    </div>
  </body>
</html>

You can use "tidy -indent -wrap -clean -modify -asxml 
*.htm*" to do this with all your HTML ands XHTML documents.

Regards,
Max Moritz Sievers
Received on Monday, 5 March 2001 19:25:31 GMT

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