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 8004 - suggestion code can't pass validate
Summary: suggestion code can't pass validate
Status: RESOLVED DUPLICATE of bug 6995
Alias: None
Product: Validator
Classification: Unclassified
Component: Templates (show other bugs)
Version: 0.8.5
Hardware: All All
: P5 trivial
Target Milestone: 0.8.6
Assignee: This bug has no owner yet - up for the taking
QA Contact: qa-dev tracking
Depends on:
Reported: 2009-10-22 12:04 UTC by rimy
Modified: 2009-10-23 12:45 UTC (History)
1 user (show)

See Also:


Description rimy 2009-10-22 12:04:38 UTC
I tried to valid a quite simple document such as
<!DOCTYPE html PUBLIC "-//W3C//DTD XHTML 1.1//EN" "">
		<meta http-equiv="Content-Type" content="text/html; charset=utf-8" />

I got 1 Error and tell me Missing xmlns attribute for element html. The value should be:

and a prompt like this:
Many Document Types based on XML need a mandatory xmlns="" on the root element. For example, the root element for XHTML will look like:
<html xmlns="" xml:lang="en" lang="en">

so I use <html xmlns="" xml:lang="en" lang="en"> insted <html> then I got Attribute "lang" exists, but can not be used for this element.

¡­ns="" xml:lang="en" lang="en">

so then what I should write? with lang or without lang?
Comment 1 Ville Skyttä 2009-10-23 12:45:53 UTC

*** This bug has been marked as a duplicate of bug 6995 ***