Effect of bogus lang on determining natural language

<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