ASG
IBM
Zystems
Cressida
Icon
Netflexity
 
  MQSeries.net
Search  Search       Tech Exchange      Education      Certifications      Library      Info Center      SupportPacs      LinkedIn  Search  Search                                                                   FAQ  FAQ   Usergroups  Usergroups
 
Register  ::  Log in Log in to check your private messages
 
RSS Feed - WebSphere MQ Support RSS Feed - Message Broker Support

MQSeries.net Forum Index » WebSphere Message Broker (ACE) Support » Open Source XML comparison tools

Post new topic  Reply to topic
 Open Source XML comparison tools « View previous topic :: View next topic » 
Author Message
shalabh1976
PostPosted: Tue Sep 04, 2007 10:04 pm    Post subject: Open Source XML comparison tools Reply with quote

Partisan

Joined: 18 Jul 2002
Posts: 381
Location: Gurgaon, India

I was currently working on the migration of some flows from V2.1 to V6.0.
After the flows and message sets were successfully migrated I wanted to test all the V2.1 test cases against V6.0. The output messages were all XML. I have a Java program that reads from a file in a specified directory and writes to a queue and another that reads a queue and writes to a file in a specified directory.
After running all the test cases on both V2.1 & V6.0 I have an equal number of messages from both versions and I now need to compare both sets of output.
Since output is in XML I have used XMLSpy to perform a directory wise comparison.
In trying to automate this whole process I am facing two roadblocks:
1. XMLSpy is not freeware
2. XMLSpy comparison tool cannot be invoked from command line.

What I wanted to know if there are any freeware/open source XML comparison tools that can be invoked from command line/ batch file so that the whole process can be automated and the net output will be a file with the results of the comparison.
Is there any other apoproach/ better way to do this?
_________________
Shalabh
IBM Cert. WMB V6.0
IBM Cert. MQ V5.3 App. Prog.
IBM Cert. DB2 9 DB Associate
Back to top
View user's profile Send private message Yahoo Messenger MSN Messenger
AkankshA
PostPosted: Tue Sep 04, 2007 10:10 pm    Post subject: Reply with quote

Grand Master

Joined: 12 Jan 2006
Posts: 1494
Location: Singapore

may be if you have time..(which is where i always lack) you can think of writing some perl scripts and doing the comparison...

there are a couple of freeware tools available (search on google) but not sure which one can be invoked from command line to give you desired result
_________________
Cheers
Back to top
View user's profile Send private message Visit poster's website
elvis_gn
PostPosted: Tue Sep 04, 2007 10:29 pm    Post subject: Reply with quote

Padawan

Joined: 08 Oct 2004
Posts: 1905
Location: Dubai

Hi shalabh1976,

I think eclipse provides an 'xml compare plug-in'....apart from that there should be something from Sun also...perhaps you should try a search...you should be able to use API to do the comparison.

We are currently using something similar, so you can be sure it's out there somewhere...

Regards.
Back to top
View user's profile Send private message Send e-mail
Display posts from previous:   
Post new topic  Reply to topic Page 1 of 1

MQSeries.net Forum Index » WebSphere Message Broker (ACE) Support » Open Source XML comparison tools
Jump to:  



You cannot post new topics in this forum
You cannot reply to topics in this forum
You cannot edit your posts in this forum
You cannot delete your posts in this forum
You cannot vote in polls in this forum
Protected by Anti-Spam ACP
 
 


Theme by Dustin Baccetti
Powered by phpBB © 2001, 2002 phpBB Group

Copyright © MQSeries.net. All rights reserved.