[whatwg] Map lang to xml:lang at the parser level

Henri Sivonen hsivonen at iki.fi
Fri Oct 27 01:48:06 PDT 2006

On Oct 27, 2006, at 03:17, Anne van Kesteren wrote:

>> However, other types of programs processing HTML5 using XML tools  
>> would have to be allowed to consider xml:lang in text/html non- 
>> conforming and trashable, because what you suggest violates basic  
>> assumptions that XML processing software is supposed to make or  
>> even enforce.
> How so?

The colon is not allowed in a local name, so having "xml:lang" in no  
namespace in a namespace-aware system is forbidden.

Henri Sivonen
hsivonen at iki.fi

More information about the whatwg mailing list