[svn.haxx.se] · SVN Dev · SVN Users · SVN Org · TSVN Dev · TSVN Users · Subclipse Dev · Subclipse Users · this month's index

Re: [opencm-dev] Re: [Prcs-list] [Prcs-cvs-list] Diff/Comparison of file formats others than ASCII/source code?

From: Daniel Berlin <dberlin_at_dberlin.org>
Date: 2002-08-14 06:45:29 CEST

On Tue, 13 Aug 2002, Jonathan S. Shapiro wrote:

> On Thu, 2002-08-08 at 23:08, Donovan Baarda wrote:
>
> > Any merge/diff3 operation must be file-format aware to get it right. Text is
> > a nice common denominator that the existing unix diff3 can handle. Something
> > like a HTML/XML/RTF aware diff3 could be relatively easily implemented as a
> > postprocessing stage to merges produced by the standard diff3 because they
> > use text as their underlying format.
>
> True, but not helpful. Most tools that export HTML export it without
> newlines, making line-based diff essentially useless.
>
> IBM has a decent DOM diff program for XML that could be readily adapted
> to HTML. I think that I'ld be inclined to go that way rather than try to
> hack up diff for this purpose.

There also exists an xmldiff written in python that uses the tree to tree
correction algorithm described in "Change detection in hierarchically structured
information" by S. Chawathe, A. Rajaraman, H. Garcia-Molina and J. Widom

http://www.logilab.org/xmldiff/
 
>
>
> shap
>
>
> ---------------------------------------------------------------------
> To unsubscribe, e-mail: dev-unsubscribe@subversion.tigris.org
> For additional commands, e-mail: dev-help@subversion.tigris.org
>
>
>

---------------------------------------------------------------------
To unsubscribe, e-mail: dev-unsubscribe@subversion.tigris.org
For additional commands, e-mail: dev-help@subversion.tigris.org
Received on Wed Aug 14 06:45:59 2002

This is an archived mail posted to the Subversion Dev mailing list.

This site is subject to the Apache Privacy Policy and the Apache Public Forum Archive Policy.