[whatwg] lang vs. xml:lang; id vs. xml:id

On Fri, 01 Dec 2006 12:52:20 +0100, Michel Fortin  
<michel.fortin at michelf.com> wrote:
> While the requirement for authors is pretty clear (HTML: lang; XHTML:  
> xml:lang), it seems to me that the user agent is asked to always favour  
> xml:lang even in an HTML context. Is this really what's intended? I  
> think this ought to be clarified.

That's what has been implemented in user agents (makes sense too from a  
DOM pov, imho).


>> The id DOM attribute must reflect the id content attribute.
>
> Does that mean it should not reflect xml:id even when id is not defined?

Yes. It also doesn't reflect any other attribute that theoretically could  
form the ID of the element.


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

Received on Friday, 1 December 2006 03:55:14 UTC