This is an archived snapshot of W3C's public bugzilla bug tracker, decommissioned in April 2019. Please see the home page for more details.

Bug 4495 - Missing xmlns attribute for element html
Summary: Missing xmlns attribute for element html
Status: RESOLVED INVALID
Alias: None
Product: Validator
Classification: Unclassified
Component: check (show other bugs)
Version: 0.8.0b1
Hardware: PC Windows 2000
: P2 normal
Target Milestone: ---
Assignee: Olivier Thereaux
QA Contact: qa-dev tracking
URL: http://www.bjkeefe.com/blog-support/b...
Whiteboard:
Keywords:
Depends on:
Blocks:
 
Reported: 2007-04-27 15:37 UTC by Brendan Keefe
Modified: 2007-04-27 16:08 UTC (History)
0 users

See Also:


Attachments

Description Brendan Keefe 2007-04-27 15:37:44 UTC
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.

First two lines are DOCTYPE declaration.  Third line is a bare <html> tag.
Comment 1 Olivier Thereaux 2007-04-27 16:08:50 UTC
(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.