[XML-SIG] confusability ...

Martin v. Loewis martin@loewis.home.cs.tu-berlin.de
Tue, 5 Dec 2000 00:40:14 +0100


>   When the recommendation refers to the "name" of a node, does it
> refer to the qualified name?  From the text, I'd take it that I should
> be looking at "prefix:localName" when it says "name" -- is that
> correct?  Or should I only be thinking of this as localName?

You mean, e.g. as the parameter tagElement to createElement? In that
case, neither nor - think "namespace unaware". All of localName,
prefix and namespaceURI will be None in the Element node being created.

Or do you mean the description of the tagName attribute for Element?
In that case, it would depend whether the Element was create through
createElement or createElementNS - for either case, its content is
well-defined.

Apart from these two occurences, I can't find any phrase that
resembles "name of a node" that isn't also qualified as, e.g. "local
name of a node".

In general, I believe the intent is that the tagName attribute is the
string of tag as it appeared literally in the XML document (if the DOM
tree was created through parsing).

If you were looking at some other text, please tell us what that was?

Regards,
Martin