[XML-DEV Mailing List Archive Home] [By Thread] [By Date] [Recent Entries] [Reply To This Message]

Fw: Open source XML instance diff tool

  • From: Hermann Stamm-Wilbrandt <STAMMW@de.ibm.com>
  • To: xml-dev List <xml-dev@lists.xml.org>
  • Date: Wed, 3 Feb 2010 14:49:03 +0100

Fw:  Open source XML instance diff tool

If already working with "tidy" this little shell script might be useful:

#!/bin/bash
tidy -q -xml $1 >/tmp/tmp.1.xml
tidy -q -xml $2 >/tmp/tmp.2.xml
diff /tmp/tmp.1.xml /tmp/tmp.2.xml



Mit besten Gruessen / Best wishes,

Hermann Stamm-Wilbrandt
Developer, XML Compiler, L3
WebSphere DataPower SOA Appliances
----------------------------------------------------------------------
IBM Deutschland Research & Development GmbH
Vorsitzender des Aufsichtsrats: Martin Jetter
Geschaeftsfuehrung: Dirk Wittkopp
Sitz der Gesellschaft: Boeblingen
Registergericht: Amtsgericht Stuttgart, HRB 243294
----- Forwarded by Hermann Stamm-Wilbrandt/Germany/IBM on 02/03/2010 02:48
PM -----
                                                                           
             Farrukh Najmi                                                 
             <farrukh@wellflee                                             
             tsoftware.com>                                             To 
                                       Rick Jelliffe                       
             02/02/2010 06:13          <rjelliffe@allette.com.au>          
             PM                                                         cc 
                                       xml-dev List                        
                                       <xml-dev@lists.xml.org>             
                                                                   Subject 
                                       Re:  Open source XML       
                                       instance diff tool                  
                                                                           
                                                                           
                                                                           
                                                                           
                                                                           
                                                                           





For my needs the xmlunit tool may actually be the best as it gives an
XPATH for each difference found:

<http://xmlunit.sourceforge.net/>

Thanks again for the help.

Farrukh Najmi wrote:
>
> The diffx project definitely look better than others [1] I have seen.
> Thanks Rick!
>
> [1] https://diffxml.dev.java.net/
>
> Rick Jelliffe wrote:
>> DiffX ?
>>
>>    http://sourceforge.net/projects/diffx/
>>
>> Probably better for smaller than larger documents.
>>
>> Cheers
>> Rick Jelliffe
>>
>> Farrukh Najmi wrote:
>>> Dear colleagues,
>>>
>>> I am looking for a decent open source diff tool for XML instance
>>> documents. I realize this has come up before but I did not find
>>> anything that I could use in the archives.
>>>
>>> The ideal tool would have:
>>>
>>>     * Java library
>>>     * A liberal open source license that allows royalty-free
>>>       redistribution
>>>     * Active development
>>>     * Ability to compare two XML instance documents and give a set of
>>>       differences where each difference identifies the XPATH to
>>>       element or attribute that is different
>>>     * Namespace awareness
>>>
>
>


--
Regards,
Farrukh

Web: http://www.wellfleetsoftware.com



_______________________________________________________________________

XML-DEV is a publicly archived, unmoderated list hosted by OASIS
to support XML implementation and development. To minimize
spam in the archives, you must subscribe before posting.

[Un]Subscribe/change address: http://www.oasis-open.org/mlmanage/
Or unsubscribe: xml-dev-unsubscribe@lists.xml.org
subscribe: xml-dev-subscribe@lists.xml.org
List archive: http://lists.xml.org/archives/xml-dev/
List Guidelines: http://www.oasis-open.org/maillists/guidelines.php




[Date Prev] | [Thread Prev] | [Thread Next] | [Date Next] -- [Date Index] | [Thread Index]


PURCHASE STYLUS STUDIO ONLINE TODAY!

Purchasing Stylus Studio from our online shop is Easy, Secure and Value Priced!

Buy Stylus Studio Now

Download The World's Best XML IDE!

Accelerate XML development with our award-winning XML IDE - Download a free trial today!

Don't miss another message! Subscribe to this list today.
Email
First Name
Last Name
Company
Subscribe in XML format
RSS 2.0
Atom 0.3
 

Stylus Studio has published XML-DEV in RSS and ATOM formats, enabling users to easily subcribe to the list from their preferred news reader application.


Stylus Studio Sponsored Links are added links designed to provide related and additional information to the visitors of this website. they were not included by the author in the initial post. To view the content without the Sponsor Links please click here.

Site Map | Privacy Policy | Terms of Use | Trademarks
Free Stylus Studio XML Training:
W3C Member
Stylus Studio® and DataDirect XQuery ™are products from DataDirect Technologies, is a registered trademark of Progress Software Corporation, in the U.S. and other countries. © 2004-2013 All Rights Reserved.