- From: <bugzilla@wiggum.w3.org>
- Date: Thu, 14 Sep 2006 17:59:26 +0000
- To: public-qt-comments@w3.org
- CC:
http://www.w3.org/Bugs/Public/show_bug.cgi?id=3727
Summary: insufficient testing of deep-equal
Product: XML Query Test Suite
Version: 1.0
Platform: PC
OS/Version: Linux
Status: NEW
Severity: enhancement
Priority: P2
Component: XML Query Test Suite
AssignedTo: andrew.eisenberg@us.ibm.com
ReportedBy: per@bothner.com
QAContact: public-qt-comments@w3.org
The deep-equal function is fairly complex, but there is pretty minimal test
coverave. Most of the tests compare atomic items, and those are useful. There
are a few tests for non-singleton atomic sequences, but not many. Worst, the
few tests for comparing nodes and nodes sequences are pretty useless. They
seesm to fit this pattern:
deep-equal($input-context1/PATH, $input-context1/PATH)
I.e. the same expression yielding the same *identical* nodes for both
arguments. An implementation that just tests node identity would pass.
Received on Thursday, 14 September 2006 17:59:29 UTC