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

Re: For review: Tagging text with no language

From: Mark Davis <mark.davis@icu-project.org>
Date: Fri, 20 Apr 2007 12:59:49 -0700
Message-ID: <30b660a20704201259t60c072a2p3acb98df85bfdb2a@mail.gmail.com>
To: "Richard Ishida" <ishida@w3.org>
Cc: www-international@w3.org, "LTRU Working Group" <ltru@ietf.org>
Richard, getting back to the topic of XML, it sounds like we have three
cases, illustrated by the following example:

<p xml:lang="en">There are three cases:
  <span>foo</span>,
  <span xml:lang="">foo</span>,
  <span xml:lang="und">foo</span>
</p>

In the first foo construction, we are saying that it inherits the language
"en". The second and third construction are equivalent: we are overriding
the "en" setting, and saying that foo is undetermined with regard to
language. The difference between them is that:

   - the second construction can't be used in XHTML (or any other case
   where a DTD or schema requires a value).
   - the third construction can always be used, but shouldn't be used if
   the second can be.

Mark

On 4/11/07, Richard Ishida <ishida@w3.org> wrote:
>
>
>
>
> http://www.w3.org/International/questions/qa-no-language
>
> Comments are being sought on this FAQ-based article prior to final
> release. Please send any comments to www-international@w3.org. We expect
> to publish a final version in one to two weeks.
>
>
>
> ============
> Richard Ishida
> Internationalization Lead
> W3C (World Wide Web Consortium)
>
> http://www.w3.org/People/Ishida/
> http://www.w3.org/International/
> http://people.w3.org/rishida/blog/
> http://www.flickr.com/photos/ishida/
>
>
>
>


-- 
Mark
Received on Friday, 20 April 2007 19:59:57 GMT

This archive was generated by hypermail 2.2.0+W3C-0.50 : Tuesday, 2 June 2009 19:17:13 GMT