CADbloke / daisydiff

Automatically exported from code.google.com/p/daisydiff

Geek Repo:Geek Repo

Github PK Tool:Github PK Tool

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

GoogleCodeExporter opened this issue · comments

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

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

  • Added labels: ****
  • Removed labels: ****
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

  • Added labels: ****
  • Removed labels: ****
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

  • Added labels: ****
  • Removed labels: ****
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

  • Added labels: ****
  • Removed labels: ****
When will it become a feature built-in to DaisyDiff? 

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

  • Added labels: ****
  • Removed labels: ****
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

  • Added labels: ****
  • Removed labels: ****