HTML Tidy Issue (fwd)

Date: Tue, 27 Nov 2001 22:12:19 -0600
From: platter@earthlink.net
To: dsr@w3.org
Subject: HTML Tidy Issue

Hello Mr. Raggett,

I noticed a behavior about HTML Tidy that you may want to be aware
of, if you are not already.

My version of HTML Tidy always prints out a warning when fed the
first example XHTML 1.0 document from the XHTML 1.0 working draft,
second edition.  The console session is appended to the end of this
mail.

Is this an issue with the Tidy program, or with the sample document
in the XHTML 1.0 draft?

Thanks,

John Siebenthaler

[jks@saba scripts]$ tidy

Tidy (vers 4th August 2000) Parsing console input (stdin)
<?xml version="1.0" encoding="UTF-8"?>
                 <!DOCTYPE html 
                      PUBLIC "-//W3C//DTD XHTML 1.0 Strict//EN"
                     "http://www.w3.org/TR/xhtml1/DTD/xhtml1-strict.dtd">
                 <html xmlns="http://www.w3.org/1999/xhtml" xml:lang="en" lang="en">
                   <head>
                     <title>Virtual Library</title>
                   </head>
                   <body>
                     <p>Moved to <a href="http://vlib.org/">vlib.org</a>.</p>
                   </body>
                 </html>
line 5 column 18 - Warning: <html> has XML attribute "xml:lang"

stdin: Doctype given is "-//W3C//DTD XHTML 1.0 Strict//EN"
stdin: Document content looks like XHTML 1.0 Strict
1 warnings/errors were found!

<?xml version="1.0" encoding="UTF-8"?>
<!DOCTYPE html PUBLIC "-//W3C//DTD XHTML 1.0 Strict//EN"
"http://www.w3.org/TR/xhtml1/DTD/xhtml1-strict.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>Virtual Library</title>
</head>
<body>
<p>Moved to <a href="http://vlib.org/">vlib.org</a>.</p>
</body>
</html>

HTML & CSS specifications are available from http://www.w3.org/
To learn more about Tidy see http://www.w3.org/People/Raggett/tidy/
Please send bug reports to Dave Raggett care of <html-tidy@w3.org>
Lobby your company to join W3C, see http://www.w3.org/Consortium
[jks@saba scripts]$ 

Received on Wednesday, 28 November 2001 20:41:47 UTC