I needed a XML compare tool that can be run from the command prompt so I downloaded an open source tool called diffx.
This is just a jar file that I assume you run giving it 2 xml files but I can't get it to work!!
On the command prompt I keep getting:-
C:\Diffx>java -jar c:\diffx\diffx-0.6.jar Actual_.xml Expected_.xml
com.topologi.diffx.load.LoadingException: java.lang.ClassNotFoundException: org.apache.cri
Caused by: java.lang.ClassNotFoundException: org.apache.crimson.parser.XMLReaderImpl
at org.xml.sax.helpers.XMLReaderFactory.loadClass(Unknown Source)
at org.xml.sax.helpers.XMLReaderFactory.createXMLReader(Unknown Source)
... 3 more
Here is the usage given:-
C:\Diffx>java -jar diffx-0.6.jar
Compare the SAX events returned by two XML files.
Main [xml_file] [xml_file]
xml_file = Path to an XML file
You have no idea how amazing it would be if someone could take a little look at this tool and tell me how to get it up and running!! (sounds OTT but I need to get this working)
Alternatively, if any one has any other good tools that run on the command line, compare XML files, and output the result to another file, please get in touch!!!!
Many thanks in advance