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

Anne van Kesteren fora at annevankesteren.nl
Fri Oct 27 01:52:39 PDT 2006


On Fri, 27 Oct 2006 10:48:06 +0200, Henri Sivonen <hsivonen at iki.fi> 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.

Ah, so you were going to say that :-)  Yeah, dunno how to solve  
serializatoin for those things. That's what currently happens...


-- 
Anne van Kesteren
<http://annevankesteren.nl/>
<http://www.opera.com/>




More information about the whatwg mailing list