[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

Re: [Ltru] xml:lang syntax



Andrew Cunningham 2008-05-08 10.04:
> Hi all,
>
> 2008/5/8 Leif Halvard Silli <lhs at malform.no>:
>
> >  This means that we can say xml:lang="mul" and encompass all the
> >  langugeas of the world. But not any two or more languages. With
> >  xml:lang="mul-en-fr" one coud be more spesific.
>
> There is a need to be able specify the intended audience of a
> document, in HTML terms there is covered by the HTTP Header and
> metadata in the document, which could contain multiple values. I'll
> leave aside the fact that many user agents don't do anything
> meaningful with that data, but it is possible to add the data.
>
> Doing something like xml:lang="mul-en-fr" would not be a good way to
> go. The xml:lang attribute would indicate the language of the contents
> of an element and should be a single value. Adding multiple vlaues
> would affect inheritance of language values. It would effect
> processing data and displaying data.
>
> At any one time you would not be able to identify the language of text
> being processed from the xml:lang attribute.
>   

By using lang="mul" I would say that that content was multlingual. That 
would be useful, e.g. via CSS. And I can't see it would break xml:lang, 
as you also mentioned. Adding "mul-fr-en" is just a more spesific tagging.
-- 
leif halvard


_______________________________________________
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.