- From: Kang-Hao (Kenny) Lu <kanghaol@oupeng.com>
- Date: Sun, 12 Aug 2012 17:05:26 +0800
- To: Simon Sapin <simon.sapin@kozea.fr>
- CC: WWW Style <www-style@w3.org>
(12/08/11 14:56), Simon Sapin wrote:
> However, my understanding of 3.1’s "the empty string [is a] valid
> namespace name" was that it was a valid name with a different meaning
> than "no namespace". In other words, I thought that these two selectors
> would match two disjoint sets of elements:
> 
>     @namespace NS "";
>     NS|E {}
>     |E {}
> 
> while 2.1 said they were the same.
I am not an XML expert. Do you have an XML/XHTML example (with an XML
fragment or perhaps even with DOM API) which can show the difference?
And which do browsers implement?
In other words, I have no idea how you could create an element with
namespace name being the empty string.
Cheers,
Kenny
-- 
Web Specialist, Oupeng Browser, Beijing
Try Oupeng: http://www.oupeng.com/
Received on Sunday, 12 August 2012 09:05:59 UTC