Re: XHTML question

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 UTC