W3C home > Mailing lists > Public > www-validator-cvs@w3.org > October 2009

[Bug 8004] New: suggestion code can't pass validate

From: <bugzilla@wiggum.w3.org>
Date: Thu, 22 Oct 2009 12:04:39 +0000
To: www-validator-cvs@w3.org
Message-ID: <bug-8004-169@http.www.w3.org/Bugs/Public/>

           Summary: suggestion code can't pass validate
           Product: Validator
           Version: 0.8.5
          Platform: All
        OS/Version: All
            Status: NEW
          Severity: trivial
          Priority: P5
         Component: Templates
        AssignedTo: dave.null@w3.org
        ReportedBy: Siramizu@gmail.com
         QAContact: www-validator-cvs@w3.org

I tried to valid a quite simple document such as
                <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: http://www.w3.org/1999/xhtml

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="http://www.w3.org/1999/xhtml" xml:lang="en" lang="en">

so I use <html xmlns="http://www.w3.org/1999/xhtml" xml:lang="en" lang="en">
insted <html> then I got Attribute "lang" exists, but can not be used for this

¡­ns="http://www.w3.org/1999/xhtml" xml:lang="en" lang="en">

so then what I should write? with lang or without lang?

Configure bugmail: http://www.w3.org/Bugs/Public/userprefs.cgi?tab=email
------- You are receiving this mail because: -------
You are the QA contact for the bug.
Received on Thursday, 22 October 2009 12:04:40 UTC

This archive was generated by hypermail 2.4.0 : Friday, 17 January 2020 23:02:40 UTC