W3C home > Mailing lists > Public > xml-names-editor@w3.org > June 2000

Namespaces in XML, possible error candidate

From: Dr. Markus Möller <Markus_Moeller@mro.man.de>
Date: Tue, 27 Jun 2000 17:15:18 +0200
Message-id: <009b01bfe04a$81616a30$84181d8b@bt.mro.man.de>
To: <xml-names-editor@w3.org>
Hi, specification writers,


probably my confusion may be caused because I did not understand fully the specification (refers to http://www.w3.org/TR/REC-xml-names) or because there may be an error:

The second provided example in the section "5.3 Uniqueness of Attributes" for uniqueness of attributes refers to identic namespaces. 
<!-- 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>
What is the associated namespace of the first attribute "a" in the second <good .../> element? Probably the default namespace:  xmlns="http://www.w3.org". This namespace is identic with that one defined by "n1". 
Is this really intended? If yes, why? Then you have two attributes which are identic because they are associated to the same namespace!

I would be very happy to get a feedback which resolves my misunderstanding, confusion, or questions.

Regards
Markus Moeller
MAN Roland



--------------------------------------------------------------------------------

Dr. Markus Möller

MAN Roland Druckmaschinen AG
Produktbereich Bogenmaschinen
sheetfed presses division
Postfach 10 12 64
D-63012 Offenbach am Main

Telefon +49-69-8305-3915
Telefax +49-69-8305-2109
e-mail mmoe@mro.man.de

Besucher- und Lieferanschrift:
visitor and delivery address:
Borsigstrasse 19
D-63165 Muehlheim am Main
Received on Tuesday, 27 June 2000 11:15:57 UTC

This archive was generated by hypermail 2.3.1 : Tuesday, 6 January 2015 19:56:47 UTC