W3C home > Mailing lists > Public > www-international@w3.org > April to June 2007

Re: For review: Tagging text with no language

From: Chris Lilley <chris@w3.org>
Date: Wed, 11 Apr 2007 22:57:25 +0200
Message-ID: <1936412638.20070411225725@w3.org>
To: John Cowan <cowan@ccil.org>
Cc: Richard Ishida <ishida@w3.org>, www-international@w3.org

On Wednesday, April 11, 2007, 10:50:25 PM, John wrote:

JC> Chris Lilley scripsit:

>> "If the XML format you are using supports it, use xml:lang="", otherwise
>> use the subtag und."

>> The "supports it" is begging for a linked footnote that explains about
>> XML 1.0 vs XML 1.1.

JC> That turns out not to be the case.

JC> The meaning of xml:lang="" was introduced by erratum E41 (dated
JC> 2002-09-18) between the Second and Third Editions of XML 1.0 (see
JC> http://www.w3.org/XML/xml-V10-2e-errata#E41 ).  Even in the First
JC> Edition, there were no constraints on the value of an xml:lang attribute;
JC> productions 33-38, which purported to impose such constraints, were not
JC> reachable from any other production and so were not part of the BNF.

JC> I believe you are confusing empty language tags with empty namespace
JC> declarations, which are indeed a feature of XML 1.1 via Namespaces 1.1.

I believe you are correct. Apologies for the befuddlement.

So in what circumstance would an xml format not support xml:lang="" ?

 Chris Lilley                    mailto:chris@w3.org
 Interaction Domain Leader
 Co-Chair, W3C SVG Working Group
 W3C Graphics Activity Lead
 Co-Chair, W3C Hypertext CG
Received on Wednesday, 11 April 2007 20:57:34 UTC

This archive was generated by hypermail 2.3.1 : Wednesday, 21 September 2016 22:37:28 UTC