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 '***'?</ 
span></span>

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
hsivonen@iki.fi
http://hsivonen.iki.fi/
Received on Tuesday, 15 April 2008 13:51:38 UTC

This archive was generated by hypermail 2.3.1 : Monday, 29 September 2014 09:38:54 UTC