W3C home > Mailing lists > Public > xml-editor@w3.org > January to March 2004

Comment on xml:lang=""

From: Jeremy Carroll <jjc@hpl.hp.com>
Date: Thu, 18 Mar 2004 15:00:35 +0100
To: xml-editor@w3.org
Cc: www-i18n-ig@w3.org
Message-Id: <200403181500.35773.jjc@hpl.hp.com>

This is a comment on
particularly concerning the following sentence concerning xml:lang=""

"Within B, it is considered that there is no language information available, 
just as if xml:lang had not been specified on B or any of its ancestors."

I suggest "just as if" is a touch too strong, and could be better replaced by 
"similar to the case when" or somesuch.

For example

<span xml:lang="en">I used the 
attribute <span xml:lang="">xml:lang</span></span>

It would be appropriate to match the whole element, including the child when 
looking for English text. My case is more compelling when considering the 
(probably syntactically incorrect :( ) XPath expression
what I am trying to say is all descendents of any element with explicit 
xml:lang='en'. The child should match this, which is not "just as if"

<span>I used the 
attribute <span xml:lang="">xml:lang</span></span>

Thanks for your consideration

Jeremy Carroll (personal comment)
Received on Thursday, 18 March 2004 09:02:12 UTC

This archive was generated by hypermail 2.3.1 : Tuesday, 6 January 2015 20:37:44 UTC