|
To emphasize part of Mark’s note: xml:lang is an attribute. If you want to declare languages or
have an attribute that is a language list you should use your own and not abuse
xml:lang. I wrote an article about this: http://www.w3.org/International/questions/qa-when-xmllang Just because xml:lang is available for declaring the language of
an element doesn’t mean that it is the ONLY way to use language tags in markup
languages. As for Mark’s assertion: Ø But it would be less clumsy if xml:lang took a list, or we had
xml:langs that did. I think this would be bad. Lists of language (asserting the
language of a span of content) make processing, parsing, validation, and other
operations harder. They make it harder for users to tag content, since users
have to think of potentially more than one tag. They make it harder to
interpret content (since the language tags applied may not go together or even
be contradictory). This idea that an item is in “multiple languages” is mostly
wrong. If you need a list of languages or have some different application other
than declaring the text processing language of an element then you should use
your own element or attribute to convey this information. Addison Addison Phillips Globalization Architect -- Lab126 Internationalization is not a feature. It is an architecture. From:
ltru-bounces at ietf.org [mailto:ltru-bounces at ietf.org] On Behalf Of Mark
Davis Because the xml:lang only takes
a single language tag, XML does easily mark one section of text as being
equally well represented by either of two language tags. That is, it assumes
that you know what the language is, and can pinpoint it as having exactly one
tag. Reality is a bit messier... And a fallback to mul is useless, since that
gives you far less information. On Thu, May 8, 2008 at 10:51 PM, Jukka K. Korpela <jkorpela at cs.tut.fi>
wrote: Doug Ewell wrote: For suitable values for "one" and
"language", yes.
In the XML context, which is what the discussion is about,
there is
|
_______________________________________________ Ltru mailing list Ltru at ietf.org https://www.ietf.org/mailman/listinfo/ltru
Note Well: Messages sent to this mailing list are the opinions of the senders and do not imply endorsement by the IETF.