This is an archived snapshot of W3C's public bugzilla bug tracker, decommissioned in April 2019. Please see the home page for more details.
Created attachment 705 [details] html source which reproduces "Missing xmlns attribute" error Hi, The Validator Error Output for "Missing xmlns attribute for element html" for XHTML 1.1 recommends replacing the <html> tag with <html xmlns="http://www.w3.org/1999/xhtml" xml:lang="en" lang="en">. However, once this is re-validated, the new html string is reported as erroneous with the following error: Attribute "lang" exists, but can not be used for this element The Validator is recommending the replacement string, in a document whose DTD restricts the use of the lang attribute.
Created attachment 706 [details] html source which reproduces "Attribute "lang" exists" error
Comment on attachment 706 [details] html source which reproduces "Attribute "lang" exists" error html source after recommended <html> ammendment.
Thanks for the catch. Fixed in CVS by removing the *lang attributes altogether, they're unrelated in the context of this error anyway. http://www.w3.org/mid/E1MCF80-0005lx-UR%40lionel-hutz.w3.org
*** Bug 8004 has been marked as a duplicate of this bug. ***