This is the mail archive of the xsl-list@mulberrytech.com mailing list .


Index Nav: [Date Index] [Subject Index] [Author Index] [Thread Index]
Message Nav: [Date Prev] [Date Next] [Thread Prev] [Thread Next]

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


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

Index Nav: [Date Index] [Subject Index] [Author Index] [Thread Index]
Message Nav: [Date Prev] [Date Next] [Thread Prev] [Thread Next]