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

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/>

Received on Friday, 27 October 2006 01:52:39 UTC