W3C home > Mailing lists > Public > public-rdf-in-xhtml-tf@w3.org > July 2009

Re: xmlns in HTML5

From: Bjoern Hoehrmann <derhoermi@gmx.net>
Date: Fri, 17 Jul 2009 21:38:42 +0200
To: Henri Sivonen <hsivonen@iki.fi>
Cc: public-rdf-in-xhtml-tf@w3.org
Message-ID: <4gk165tkkjc14a5t317h11c71d8qp3ji41@hive.bjoern.hoehrmann.de>
* 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 GMT

This archive was generated by hypermail 2.2.0+W3C-0.50 : Friday, 17 July 2009 19:39:22 GMT