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

XHTML question

From: Mike Connelly <mjcfcga@telus.net>
Date: Thu, 9 Aug 2001 03:39:34 -0400 (EDT)
Message-Id: <4.3.2.7.2.20010809002256.00ac4100@pop.telus.net>
To: html-tidy@w3.org
Mr Raggett

I was introduced to HTML Tidy when I purchased HomeSite last year. It has 
been a tremendous aid to me as I learn HTML and now XHTML. Thank you.

I am currently working my way through 'Beginning XHTML'' from Wrox and note 
that you are one of the authors.

My present puzzle is as follows:

In the book's examples, the following line appears - I believe I have 
copied it correctly.

         <html xmlns="http://www.w3.org/1999/html" xml:lang="en" lang="en">

When I run Tidy (inside HomeSite) against an HTML file containing the 
above, I get the following.

         Tidy (vers 30th April 2000) Parsing "input.html"
         line 4 column 1 - Warning: <html> has XML attribute "xml:lang"

         "input.html" appears to be XHTML 1.0 Transitional
         1 warnings/errors were found!

Would appreciate you please advising which is correct - the book or the 
Tidy output or if a change to Tidy is in order.

Thanks for your help
Regards
Mike Connelly
'''''''''''''''''''''''''''''''''''''''''''''''''''''''''
Michael J. Connelly, FCGA (Mike)
1107 Tuxedo Drive, Port Moody, BC, Canada  V3H 1L3
Tel 604.936.7417   Fax 604.936.0466
Web site: http://www3.telus.net/mjconnelly/index.htm 
Received on Thursday, 16 August 2001 11:44:01 GMT

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