Home. 
.

transparent

transparent

transparent

Altova User Forum

Important: this forum was designed to allow Altova users to exchange their experiences with each other; therefore, your question might remain unanswered.
If you need a professional and reliable answer, or if you want to report a bug, please contact Altova Support instead.

DiffDOG Options · View
Hisham
Posted: Thursday, September 10, 2009 1:32:37 PM
Rank: Member

Joined: 9/9/2009
Posts: 15
Location: Lebanon
Can someone please tell us what algorithm is being used for the comparison of XML files in DiffDOG? Is it a published work?

thanks
vlad
Posted: Thursday, September 10, 2009 9:45:55 PM
Rank: Advanced Member

Joined: 12/13/2005
Posts: 551
Location: Mauritius
Implementation is Altova internal and cannot be shared with public

Vlad
Hisham
Posted: Friday, September 11, 2009 6:17:18 AM
Rank: Member

Joined: 9/9/2009
Posts: 15
Location: Lebanon
ok thanks for the reply
Hisham
Posted: Tuesday, September 22, 2009 2:02:48 PM
Rank: Member

Joined: 9/9/2009
Posts: 15
Location: Lebanon
k i have been testing diffdog lately and I am not very impressed.

Tree Edit Distance is NP-Hard, so at first I was under the impression that DiffDog was doing Constrained Tree Edit Distance (which belongs to P). So I was impressed by the performance since the best algorithm for the problem takes more than cubic time.

Now I see that DiffDog is doing just another heuristic :( and that explains the relatively fast performance.

Feed diffdog the following two files:

<a>
<b>
<c>aa<\c>
<\b>
<\a>

and

<b>
<c>aa<\c>
<\b>

It can't detect that the second file was obtained from the first by deleting the root element...

Hisham
Posted: Tuesday, September 22, 2009 3:47:33 PM
Rank: Member

Joined: 9/9/2009
Posts: 15
Location: Lebanon
btw are you using X-Diff algorithm or a modified version of it ? ^^
vlad
Posted: Tuesday, September 22, 2009 6:12:29 PM
Rank: Advanced Member

Joined: 12/13/2005
Posts: 551
Location: Mauritius
Algorithms are trade secret of Altova and cannot be disclosed.

By the way, DiffDog is able to process your sample comparison - you only need to set comparison option "Ignore Node Depth"

Vlad
Users browsing this topic
guest

Forum Jump
You cannot post new topics in this forum.
You cannot reply to topics in this forum.
You cannot delete your posts in this forum.
You cannot edit your posts in this forum.
You cannot create polls in this forum.
You cannot vote in polls in this forum.

Use of the Altova User Forum(s) is governed by the Altova User Forums Terms of Service.

Powered by Yet Another Forum.net version 1.0.0 RC3 - 9/24/2005
Copyright © 2003-2005 Yet Another Forum.net. All rights reserved.
This page was generated in 0.132 seconds.



transparent
Print
Mail
Digg
delicious
Welcome
.

The Altova User Forum(s) were launched so that our users have the possibility to interact and exchange their experiences regarding Altova's product line with one another. Although the Altova User Forum(s) are moderated by Altova employees and Altova permits support and software engineers to respond to postings, this is NOT a replacement for the regular support mechanism, and accordingly there is no guarantee that a question will be answered. If you need to contact Altova's technical support team please do so by using the online support center. Altova does not warrant or guarantee the accuracy, reliability, completeness, usefulness, non-infringement of intellectual property rights, or quality of any content on the Altova User Forum(s), regardless of who originates that content. You expressly understand and agree that you bear all risks associated with using or relying on that content. Altova will not be liable or responsible in any way for any content posted including, but not limited to, any errors or omissions in content, or for any losses or damage of any kind incurred as a result of the use of or reliance on any content. This disclaimer and limitation on liability is in addition to the disclaimers and limitations contained in the Altova User Forum Terms of Service and the Altova Website Terms of Use

.
.

transparent

transparent