W3C home > Mailing lists > Public > public-html@w3.org > October 2009

Re: what's the language of a document ?

From: Ian Hickson <ian@hixie.ch>
Date: Tue, 27 Oct 2009 07:40:09 +0000 (UTC)
To: "Martin J. Dürst" <duerst@it.aoyama.ac.jp>
Cc: Tex Texin <textexin@xencraft.com>, 'Divya Manian' <divya.manian@gmail.com>, 'Martin Kliehm' <martin.kliehm@namics.com>, 'John Cowan' <cowan@ccil.org>, public-html@w3.org, www-international@w3.org
Message-ID: <Pine.LNX.4.62.0910270738420.13521@hixie.dreamhostps.com>
On Tue, 27 Oct 2009, "Martin J. Dürst" wrote:
> On 2009/10/27 14:14, Ian Hickson wrote:
> > 
> > It's not that the default is monolingual, so much as the model used by 
> > HTML has a single langauge per Element node. HTML itself supports 
> > multiple languages, but not in the vague "there are multiple languages 
> > present" sense, only at the specific per-element level. This is 
> > compatible with all the systems I'm aware of except HTTP. For example, 
> > RDF only supports one language per text literal,
> Yes. It is however also possible (not necessarily as easy as it should 
> have been) to use an XML literal in RDF, however, in which case the 
> whole literal can contain text from multiple languages.

Sure, but each character information item in the XML literal's infoset can 
only have one resulting language, just like in HTML, so this isn't any 
different and is similarly incompatible with what HTTP can express.

Ian Hickson               U+1047E                )\._.,--....,'``.    fL
http://ln.hixie.ch/       U+263A                /,   _.. \   _\  ;`._ ,.
Things that are impossible just take longer.   `._.-(,_..'--(,_..'`-.;.'
Received on Tuesday, 27 October 2009 07:40:29 UTC

This archive was generated by hypermail 2.4.0 : Saturday, 9 October 2021 18:45:01 UTC