W3C home > Mailing lists > Public > public-xhtml2@w3.org > March 2008

@lang, @xml:lang, and media type text/html

From: Shane McCarron <shane@aptest.com>
Date: Sun, 30 Mar 2008 15:37:32 -0500
Message-ID: <47EFFA0C.5020800@aptest.com>
To: XHTML WG <public-xhtml2@w3.org>

In revising the XHTMLMIME document, I came across the following guideline:

    C.7. The |lang| and |xml:lang| Attributes

Use both the |lang| and |xml:lang| attributes when specifying the 
language of an element. The value of the |xml:lang| attribute takes 

That's good advice, but unfortunately cannot apply to other XHTML family 
documents.  We don't have @lang in XHTML Modularization.  We are in the 
process of updating XHTML 1.1 and XHTML Basic 1.1 right now.  I am not 
sure that we can re-introduce @lang.  However, if what we are trying to 
do is ensure that when documents are written in XHTML Family markup 
languages and are carefully constructed, then can be handed to HTML user 
agents..... then we sort of need @lang back. 

I am soooo open for better suggestions...

Shane P. McCarron                          Phone: +1 763 786-8160 x120
Managing Director                            Fax: +1 763 786-8180
ApTest Minnesota                            Inet: shane@aptest.com
Received on Sunday, 30 March 2008 20:38:14 UTC

This archive was generated by hypermail 2.4.0 : Friday, 17 January 2020 19:40:01 UTC