Re: For review: Tagging text with no language

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