[Bug 4495] Missing xmlns attribute for element html

http://www.w3.org/Bugs/Public/show_bug.cgi?id=4495


ot@w3.org changed:

           What    |Removed                     |Added
----------------------------------------------------------------------------
             Status|NEW                         |RESOLVED
         Resolution|                            |INVALID




------- Comment #1 from ot@w3.org  2007-04-27 16:08 -------
(In reply to comment #0)
> If I run the page specified at the above URL through the stable version
> (0.7.4?) of the validator, it passes.  The beta (0.8) version, however, gives
> the error message "Missing xmlns attribute for element html"  for line 3 of the
> document.

Indeed, the 0.8 beta adds some conformance checks that were not performed in
0.7.4.

> First two lines are DOCTYPE declaration.  Third line is a bare <html> tag.
According to 
http://www.w3.org/TR/xhtml1/#strict
a bare <html> tag is not allowed in XHTML 1.0.

Closing as "Not a Bug". It's a feature.

Received on Friday, 27 April 2007 16:08:57 UTC