BUG or Non-Conformance -- the name() function in MSXML 3

Subject: BUG or Non-Conformance -- the name() function in MSXML 3
From: Dimitre Novatchev <dnovatchev@xxxxxxxxx>
Date: Sat, 25 Nov 2000 08:51:19 -0800 (PST)
When applied to a namespace node, the name() function as implemented in
MSXML3 returns 'xmlns:'<<thePreffix>>

In contrast, the local-name() function returns <<thePreffix>>

Below is a quote from the W3C XPath Specification
(http://www.w3.org/TR/xpath#corelib):

  "NOTE: The string returned by the name function will be the same as 
the string returned by the local-name function except for element nodes
and attribute nodes."

As a namespace node is neither an element or an attribute node, the
name function must return <<thePreffix>> -- exactly as the local-name()
function.


Dimitre Novatchev.


__________________________________________________
Do You Yahoo!?
Yahoo! Shopping - Thousands of Stores. Millions of Products.
http://shopping.yahoo.com/


 XSL-List info and archive:  http://www.mulberrytech.com/xsl/xsl-list


Current Thread