Skip to content
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

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

Open
GoogleCodeExporter opened this issue May 1, 2015 · 6 comments

Comments

@GoogleCodeExporter
Copy link

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 [email protected] on 6 Dec 2009 at 9:31

@GoogleCodeExporter
Copy link
Author

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 [email protected] on 25 Aug 2010 at 4:49

@GoogleCodeExporter
Copy link
Author

I also would like to know how to extract only the differences. 

Original comment by [email protected] on 12 Apr 2013 at 3:42

@GoogleCodeExporter
Copy link
Author

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

Original comment by [email protected] on 13 Apr 2013 at 12:34

@GoogleCodeExporter
Copy link
Author

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 [email protected] on 13 Apr 2013 at 12:36

@GoogleCodeExporter
Copy link
Author

When will it become a feature built-in to DaisyDiff? 

Original comment by [email protected] on 26 Apr 2013 at 6:49

@GoogleCodeExporter
Copy link
Author

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 [email protected] on 25 Oct 2013 at 7:46

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Projects
None yet
Development

No branches or pull requests

1 participant