Comparison of end tags

Do you have anything to share with other users? Your opinions about our programs, suggestions for future products - everything goes here.
rhollister
Posts: 1
Joined: Thu Nov 05, 2009 2:30 pm

Comparison of end tags

Postby rhollister » Thu Nov 05, 2009 2:34 pm

Hello, I am not sure if I am missing a setting or if it is a bug/feature that isn't customizable.

So we have an XML document. When I change the xml from:

<item/>

to

<item></item>

Compare it! does not recognize it as a change unless there is text inside of the tag. Without getting into the discussion of how there is no difference between the two, can someone explain why compare it would rewrite <item></item> as <item/>. And, if possible, how to change this?

Sincerely,

Ryan

grigsoft
Site Admin
Posts: 1671
Joined: Tue Sep 23, 2003 7:37 pm

Postby grigsoft » Thu Nov 05, 2009 2:56 pm

Yes, CompareIt uses XML reformatter, which does the replacement you describe. In fact this was one of few things I was going to add as an options for XML comparison - and I will add this in future. At the moment you can only disable XML formatting by View>ViewAs>Text, or by turning it off in options.

8Comp
Posts: 1
Joined: Wed Dec 30, 2009 12:41 am
Location: Germany

Re:

Postby 8Comp » Wed Dec 30, 2009 12:45 am

grigsoft wrote:Yes, CompareIt uses XML reformatter, which does the replacement you describe. In fact this was one of few things I was going to add as an options for XML comparison - and I will add this in future. At the moment you can only disable XML formatting by View>ViewAs>Text, or by turning it off in options.


Ah, thats good to know. I think it would be great to have that feature, any idea yet when its going to be implemented?

---------------------------------
A user friendly computer first requires a friendly user.
My flash drive: Sony Micro Vault Tiny


Return to “General discussion”

Who is online

Users browsing this forum: No registered users and 1 guest