- From: Axel Dahmen <a.dahmen@infozoom.de>
- Date: Tue, 28 Nov 2000 19:43:38 +0100
- To: <xml-names-editor@w3.org>
Dear editors, I'm not sure if I've learned from the recommendation correctly but if I did, then the 2nd example in paragraph 5.3 is *not* legal: <QUOTE> However, each of the following is legal, the second because the default namespace does not apply to attribute names: <!-- http://www.w3.org is bound to n1 and is the default --> <x xmlns:n1="http://www.w3.org" xmlns="http://www.w3.org" > <good a="1" b="2" /> <good a="1" n1:a="2" /> </x> </QUOTE> As <good> expands to <http://www.w3.org:good>, its unqualified attribute (a) inherits the element's namespace and expands to http://www.w3.org:a. Since "n1:" also expands to "http://www.w3.org", the attribute (n1:a) also expands to http://www.w3.org:a which makes both attributes identical and thus the tag illegal. Best regards, Axel Dahmen
Received on Tuesday, 28 November 2000 14:10:14 UTC