Re: xmlns in HTML5

* Henri Sivonen wrote:
>The public DOM API is required to throw when setting an attribute  
>whose namespace is null and whose local name is "xmlns:foo":

That is only the case for the namespace-aware methods; you can use the
DOM Level 1 methods to create such attributes. Obviously this results
in difficulties if you try, say, to serialize the document.
-- 
Björn Höhrmann · mailto:bjoern@hoehrmann.de · http://bjoern.hoehrmann.de
Am Badedeich 7 · Telefon: +49(0)160/4415681 · http://www.bjoernsworld.de
25899 Dagebüll · PGP Pub. KeyID: 0xA4357E78 · http://www.websitedev.de/ 

Received on Friday, 17 July 2009 19:39:21 UTC