inigo / daisydiff

Automatically exported from code.google.com/p/daisydiff
0 stars 0 forks source link

How to extract only the differences instead of the whole file with differences embedded? #18

Open GoogleCodeExporter opened 9 years ago

GoogleCodeExporter commented 9 years ago
Is there a way to extract only the differences instead of the entire file 
with differences embedded?

Gopal

Original issue reported on code.google.com by gopala.m...@gmail.com on 6 Dec 2009 at 9:31

GoogleCodeExporter commented 9 years ago
yeah, this would make sense 
maybe it would return the xpaths to the diffs , along with what kind of diff it 
was

Original comment by visa...@gmail.com on 25 Aug 2010 at 4:49

GoogleCodeExporter commented 9 years ago
I also would like to know how to extract only the differences. 

Original comment by jliregc...@gmail.com on 12 Apr 2013 at 3:42

GoogleCodeExporter commented 9 years ago
You need to write Java code at the moment to do this. It isn't a feature 
built-in to DaisyDiff

Original comment by kkape...@gmail.com on 13 Apr 2013 at 12:34

GoogleCodeExporter commented 9 years ago
Look at the TagSaxDiffOutput.java or HtmlSaxDiffOutput.java depending 
on the mode you are using. 

An alternative solution would be to look at an algorithm that already 
works like this. 
See 
http://code.google.com/p/fc-xmldiff/ 
http://potiron.loria.fr/projects/jxydiff 
or even XMLUnit 

Original comment by kkape...@gmail.com on 13 Apr 2013 at 12:36

GoogleCodeExporter commented 9 years ago
When will it become a feature built-in to DaisyDiff? 

Original comment by jliregc...@gmail.com on 26 Apr 2013 at 6:49

GoogleCodeExporter commented 9 years ago
Did anyone make any progress after this?

kapelonk,

Could you elaborate how HtmlSaxDiffOutput.java will help with the requirement 
in question?

I've verified the code and added few print statements but unable to see any 
data relevant to the differences but I rather see things like added-diff-1, 
last-diff, etc.

Please advise how we can address this requirement?

Thanks,
Ravi.

Original comment by itharavi...@gmail.com on 25 Oct 2013 at 7:46