Logo Questions Linux Laravel Mysql Ubuntu Git Menu
 

Compare XML files in Eclipse [closed]

Tags:

xml

eclipse

Is there some Eclipse tooling that would allow the comparison of XML files as great as ExamXML mentioned in this question Tool or library for comparing xml files?

like image 659
desolat Avatar asked Nov 05 '22 14:11

desolat


1 Answers

Diff feature (comparison of two xml file) is very rare in the Eclipse plugin ecosystem (and certainly not there in the WTP environment).

I only know about a commercial tool, like <oXygen/> XML Diff & Merge, which proposes that:

link text
(source: oxygenxml.com)

The diff solution includes two XML diff algorithms (XML Accurate - tuned for precise compare and XML Fast - tuned for speed at the expense of some accuracy), one Syntax Aware algorithm that gives very good results on all file types known by <oXygen/> XML Diff and three algorithms that rely on the file structure: line based, word based and character based. Any algorithm can be used to perform differences on request, but <oXygen/> XML Diff offers also an automatic selection, selecting the most appropriate one based on the files' content and size.

The XML diff algorithms are designed to help with the necessities that come with XML document comparison. This means that you can specify if namespaces, prefixes, namespace declarations, processing instructions, comments, CDATA, DOCTYPE, the order of attributes or even text elements should be ignored or not.

alt text

like image 155
VonC Avatar answered Nov 12 '22 10:11

VonC