W3C home > Mailing lists > Public > public-html@w3.org > April 2008

Effect of bogus lang on determining natural language

From: Henri Sivonen <hsivonen@iki.fi>
Date: Tue, 15 Apr 2008 16:50:58 +0300
Message-Id: <C22F3FA1-ECC5-4E0D-8F2C-E7B2D3588616@iki.fi>
To: "public-html@w3.org WG" <public-html@w3.org>

<span lang='en'><span lang='***'>Is this English, undefined or '***'?</ 

The current spec says the language is neither English ("en") nor  
undefined ("") but "***". The spec should probably say how to compute  
a conforming language value ("en" or "" in this case) for the text  
node interoperably. (E.g. for passing onto another software component.)

It seems to me the spec should say tell implementation to treat  
explicit bogus values the same as explicit "".

Henri Sivonen
Received on Tuesday, 15 April 2008 13:51:38 UTC

This archive was generated by hypermail 2.3.1 : Thursday, 29 October 2015 10:15:32 UTC