This Bugzilla instance is a read-only archive of historic NetBeans bug reports. To report a bug in NetBeans please follow the project's instructions for reporting issues.

Bug 81554 - BPEL test result comparison should use XML diff
Summary: BPEL test result comparison should use XML diff
Status: VERIFIED FIXED
Alias: None
Product: soa
Classification: Unclassified
Component: JBI Test Driver (show other bugs)
Version: 5.x
Hardware: All All
: P1 blocker (vote)
Assignee: wchui
URL:
Keywords:
Depends on: 81465 81467
Blocks: 84480
  Show dependency tree
 
Reported: 2006-08-01 00:59 UTC by Todd Fast
Modified: 2006-09-27 11:55 UTC (History)
0 users

See Also:
Issue Type: DEFECT
Exception Reporter:


Attachments

Note You need to log in before you can comment on or make changes to this bug.
Description Todd Fast 2006-08-01 00:59:32 UTC
According to bug 81467, the test driver is currently using string comparison to
compare runtime output with output.xml. This is fragile and should instead use a
proper XML diff to compare results. The XML project has code for doing XML
diffs, and this should be used for this feature. Contact Chris Webster and Ayub
Khan for information on doing XML diffs with XAM/XDM.
Comment 1 Todd Fast 2006-08-01 01:02:37 UTC
Bug 81465 was fixed and closed for beta, but the correct fix using XML diff
needs to go into FCS. This bug is waived for beta.
Comment 2 Michael Frisino 2006-08-02 07:50:13 UTC
I agree with this solution. 

But re: bug 81465 - is the current solution vulnerable to any known cases? That
is to say, do you know how to break the 81465 comparator today? It would help
for users and demo people to know what format edge cases to avoid. I will add
same comment in 81465.
Comment 3 wchui 2006-09-22 21:24:49 UTC
Fixed.  Now using xdm diff and the issue bug 81465 mentioned is also resolved.
Comment 4 deepakhp 2006-09-27 11:55:29 UTC
Verified in build 060925_1.
Also, see comments for 81465