[Bug 16190] New: Polyglot Markup: Clarify that xml:lang is optional

https://www.w3.org/Bugs/Public/show_bug.cgi?id=16190

           Summary: Polyglot Markup: Clarify that xml:lang is optional
           Product: HTML WG
           Version: unspecified
          Platform: PC
               URL: http://dev.w3.org/html5/html-xhtml-author-guide/#langu
                    age-attributes
        OS/Version: All
            Status: NEW
          Severity: normal
          Priority: P3
         Component: HTML/XHTML Compatibility Authoring Guide (ed: Eliot
                    Graff)
        AssignedTo: eliotgra@microsoft.com
        ReportedBy: xn--mlform-iua@xn--mlform-iua.no
         QAContact: public-html-bugzilla@w3.org
                CC: mike@w3.org, public-html-wg-issue-tracking@w3.org,
                    public-html@w3.org, eliotgra@microsoft.com


Per HTML5, the @lang attribute can be used in both XHTML and HTML:

"The lang attribute in no namespace may be used on any HTML element."
<http://www.w3.org/TR/html5/elements#attr-lang>


"The term "HTML elements", when used in this specification, refers to any
element in that namespace, and thus refers to both HTML and XHTML elements."
<http://www.w3.org/TR/html5/infrastructure#html-elements>

Therefore, Polyglot Markup should specify that xml:lang is optional.

Aslo see: 16166#c2

-- 
Configure bugmail: https://www.w3.org/Bugs/Public/userprefs.cgi?tab=email
------- You are receiving this mail because: -------
You are on the CC list for the bug.

Received on Thursday, 1 March 2012 23:14:16 UTC