(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/