- From: <bugzilla@wiggum.w3.org>
- Date: Tue, 06 Jan 2009 14:10:19 +0000
- To: public-qt-comments@w3.org
http://www.w3.org/Bugs/Public/show_bug.cgi?id=6372
Summary: [FO] deep equality of namespace nodes
Product: XPath / XQuery / XSLT
Version: Recommendation
Platform: PC
OS/Version: Windows NT
Status: NEW
Severity: normal
Priority: P2
Component: Functions and Operators
AssignedTo: mike@saxonica.com
ReportedBy: mike@saxonica.com
QAContact: public-qt-comments@w3.org
One of the principles behind the design of fn:deep-equal() was that a node
should always be deep-equal to itself (that's why we defined NaN = NaN, for
example).
But as currently written, the rule for comparing namespace nodes (or
"bindings") requires (node-name($i1) eq node-name($i2)), which will not be true
for an unnamed namespace node (the default namespace), because node-name()
returns () for such a node, and (() eq ()) is ().
This doesn't affect XQuery 1.0 because namespace nodes are inaccessible, but it
does affect XPath and XSLT.
--
Configure bugmail: http://www.w3.org/Bugs/Public/userprefs.cgi?tab=email
------- You are receiving this mail because: -------
You are the QA contact for the bug.
Received on Tuesday, 6 January 2009 14:10:29 UTC