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

Re: XHTML question

From: Ignacio Vazquez-Abrams <ignacio@openservices.net>
Date: Thu, 16 Aug 2001 12:31:14 -0400 (EDT)
To: <html-tidy@w3.org>
Message-ID: <Pine.LNX.4.33.0108161226520.12179-100000@terbidium.openservices.net>
On Thu, 9 Aug 2001, Mike Connelly wrote:

> 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

There's nothing wrong; it initially assumed that the file was normal HTML and
changed its mind because of the 'xml:lang' attribute.

-- 
Ignacio Vazquez-Abrams  <ignacio@openservices.net>
Received on Thursday, 16 August 2001 12:31:26 GMT

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