-
Notifications
You must be signed in to change notification settings - Fork 31
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
xml diff algorithm #12
Comments
Based on this article http://www.roseindia.net/opensource/xmldiff.php I have come back to life this projects: https://github.com/albfan/3dm there is also a good looking project to test xml output https://github.com/xmlunit/xmlunit Hope one of them has the basis for a good xml diffting. |
This one too https://github.com/albfan/diffxml |
XMLUnit is the way to go here. You can also implement your own versions. What does the output have to look like in order for JMeld to display it in the GUI? |
By now, diff model is implemented with JMRevision, JMDelta and JMChunk. They represent line changes and word changes You can see it in action on DiffTree addnodes() function or JMDiff paintDiffs() It is not a robust implementation (as is line based) |
Which branch is that in? Line based isn't really good enough for XML diff as you can have attributes changing order.
There are lots of other options needed for XML diff too XmlUnit will also allow you to add your own ignore listeners so you could add one to ignore date time fields for instance. |
There's no such branch. Here's only the research. Although weak, that model should support a first approach for xml diff. See tokenizers avaliable (word, char, syntax) for different results with same model. Move change can the face on second round. |
A rebumped project with working detection of moves -See test suite- |
https://github.com/membrane/soa-model See doc: http://membrane-soa.org/soa-model-doc/1.4/cmd-tool/wsdldiff-tool.htm It has even integration test with docker |
Use https://github.com/albfan/diffxml project
The text was updated successfully, but these errors were encountered: