W3C home > Mailing lists > Public > whatwg@whatwg.org > October 2006

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

From: Henri Sivonen <hsivonen@iki.fi>
Date: Fri, 27 Oct 2006 11:48:06 +0300
Message-ID: <2356DE53-4B64-4851-A4C1-54922DE6BD71@iki.fi>
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
http://hsivonen.iki.fi/
Received on Friday, 27 October 2006 01:48:06 UTC

This archive was generated by hypermail 2.3.1 : Monday, 13 April 2015 23:08:29 UTC