W3C home > Mailing lists > Public > public-html@w3.org > June 2008

Re: When can a node's prefix or localName contain a colon?

From: Cameron McCormack <cam@mcc.id.au>
Date: Mon, 2 Jun 2008 19:35:33 +1000
To: public-html@w3.org
Message-ID: <20080602093533.GB9922@arc.mcc.id.au>

Simon Pieters:
> I don't think it's possible to get a prefix that contains a colon, but  
> localName is trivial:
>
>    document.body.appendChild(document.createElement('foo:bar'));

Shouldn’t localName be null in that case?

  http://www.w3.org/TR/DOM-Level-3-Core/core.html#ID-2141741547

-- 
Cameron McCormack ≝ http://mcc.id.au/
Received on Monday, 2 June 2008 09:36:16 GMT

This archive was generated by hypermail 2.2.0+W3C-0.50 : Wednesday, 9 May 2012 00:16:18 GMT