XML Editor
Sign up for a WebBoard account Sign Up Keyword Search Search More Options... Options
Chat Rooms Chat Help Help News News Log in to WebBoard Log in Not Logged in
Show tree view Topic
Topic Page 1 2 3 4 5 6 7 8 9 10 11 12 13 14 15 16 17 18 19 20 Go to previous topicPrev TopicGo to next topicNext Topic
Postnext
BHagya  TanguturSubject: XML diff with optimize Change Description
Author: BHagya Tangutur
Date: 29 Dec 2006 01:26 PM
my system:

Windows XP
Pentium 4.
2.8 GHZ
2.00GB RAM

In my XML document each node can have more than one child node with same type.If the order of child nodes changes in the document i do not want them to be displayed.Assuming this will be taken care by OptimizeChange Description option.

I would like to compare entities,attributes and references.

Every time i run the diff with the above optios stylus studio crashes.
I also selected the check box below to optimize for large documents with few changes.

I do not want to use default XML diff option because the diff do not give me right information because of change in order of nodes.It compares the nodes by indices and treats them as there are some changes to that.

When i ran these two files my cpu gone up to 98% and memory gone up till 140 MB.

Is there any way i can bump memory settings and try it.if so where can i find it and what need to be changed.


UnknownDiffFilesToCrash.zip
zip file with two files i try to compare

Posttop
Minollo I.Subject: XML diff with optimize Change Description
Author: Minollo I.
Date: 29 Dec 2006 09:00 PM
Thanks for your help, we fixed the crash. The fix will be available in the next update (next week, most likely).

However, you will not be able to ignore elements order. Both fast and optimal algorithms are designed to ignore the order of attributes but to consider relevant (as per the XML specs) the order of elements, so the following fragments will be considered different:

<xml>
<a/>
<b/>
</xml>

...and...

<xml>
<b/>
<a/>
</xml>

Turning on optimal algorithm (“Optimize Change Description” option on) just allows you to get transformation from source tree to target tree with minimal cost, where fast algorithm ("Optimize Change Description" option off) just gives you valid transformation from source tree to the target tree but no guarantee that at minimal cost.

 
Topic Page 1 2 3 4 5 6 7 8 9 10 11 12 13 14 15 16 17 18 19 20 Go to previous topicPrev TopicGo to next topicNext Topic
Download A Free Trial of Stylus Studio 6 XML Professional Edition Today! Powered by Stylus Studio, the world's leading XML IDE for XML, XSLT, XQuery, XML Schema, DTD, XPath, WSDL, XHTML, SQL/XML, and XML Mapping!  
go

Log In Options

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