Giter VIP home page Giter VIP logo

xydiff's Introduction

xydiff

Table of Contents

About

XyDiff is a set of tools for creating and applying deltas from XML documents (similar to diff / patch). It was originally developed by the GEMO team at INRIA-Rocquencourt, near Paris. It was forked by Frankie Dintino to add features and to support more recent versions of gcc, clang, and Xerces-C++.

The algorithm used in XyDiff is described in the following research papers:

XyDiff includes two command-line applications: xydiff, a program which compares two XML files and creates a “delta” that describes the differences between the two documents, and xydelta, which can apply that delta to the first document in order to reconstruct the second. It also includes a shared library, which is used by php_xydiff.

Requirements

xydiff requires that Xerces-C++ 3.x be installed. Xerces-C++ can be built from source, or it can be installed with the binaries and headers for your platform:

  • Ubuntu / Debian:
    apt-get install libxerces-c-dev
  • RedHat / CentOS / Fedora:
    yum install xerces-c-devel
  • Mac OS X (Homebrew)
    brew install xerces-c

Installation

Building from source

  1. Download xydiff-3.0.0.tar.gz, extract it, and cd into the directory xydiff-3.0.0.

  2. Run a typical configure / make. If Xerces-C++ was installed into an unusual location, you may need to pass its prefix to configure using, for example, --with-xercesc=/opt/xerces.

     ./configure
     make
     sudo make install
    

Building with autotools (Linux / Unix / BSD / Mac OS X)

  1. Clone the xydiff repository:

    git clone https://github.com/fdintino/xydiff
    
  2. Change directory to where you cloned the repository and generate the files from automake (≥ 1.10), autoconf (≥ 2.61) and m4 (≥ 1.4.6):

    ./autogen.sh
    
  3. Follow step (2) above in "Building from source"

Building on windows

  1. Install Visual Studio (windows builds have only been tested on VC9).
  2. Install the Microsoft Windows SDK for your OS if it is not already installed. Restart after installing.
  3. Create a working directory for the code (denoted below by %XYDIFF_DIR%).
  4. Download the Xerces-C++ binaries. For Visual Studio 2008 (VC9) and Visual Studio 2010 (VC10), install the Xerces-C++ binaries: (VC9, VC10). For Visual Studio 2012, you will need to download Xerces-C++ from source and build the bundled VC11 solution file. Extract to %XYDIFF_DIR%.
  5. Check out xydiff into %XYDIFF_DIR%\xydiff:
    git clone https://github.com/fdintino/xydiff
  6. Open %XYDIFF_DIR%\xydiff\vc9.0\xydiff.sln. Choose "Release" as the active configuration, and build the solution

License

This code is licensed under the Lesser GPL. See LICENSE.TXT for the full license.

Authors

  • Grégory Cobena
  • Serge Abiteboul
  • Amélie Marian
  • Frankie Dintino

xydiff's People

Contributors

fdintino avatar chung-leong avatar bprosnitz avatar massimo-zaniboni avatar

Watchers

 avatar James Cloos avatar  avatar

Recommend Projects

  • React photo React

    A declarative, efficient, and flexible JavaScript library for building user interfaces.

  • Vue.js photo Vue.js

    🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.

  • Typescript photo Typescript

    TypeScript is a superset of JavaScript that compiles to clean JavaScript output.

  • TensorFlow photo TensorFlow

    An Open Source Machine Learning Framework for Everyone

  • Django photo Django

    The Web framework for perfectionists with deadlines.

  • D3 photo D3

    Bring data to life with SVG, Canvas and HTML. 📊📈🎉

Recommend Topics

  • javascript

    JavaScript (JS) is a lightweight interpreted programming language with first-class functions.

  • web

    Some thing interesting about web. New door for the world.

  • server

    A server is a program made to process requests and deliver data to clients.

  • Machine learning

    Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.

  • Game

    Some thing interesting about game, make everyone happy.

Recommend Org

  • Facebook photo Facebook

    We are working to build community through open source technology. NB: members must have two-factor auth.

  • Microsoft photo Microsoft

    Open source projects and samples from Microsoft.

  • Google photo Google

    Google ❤️ Open Source for everyone.

  • D3 photo D3

    Data-Driven Documents codes.