XML Diff

Support for our DiffMerge utility.

Moderator: SourceGear

Post Reply
mgbrown
Posts: 5
Joined: Wed Jan 02, 2008 7:56 am

XML Diff

Post by mgbrown » Wed Jan 02, 2008 8:21 am

I know this is a bit specialist, but it would be great if there was a better way of doing XML diffs inside DiffMerge. For example the following are the same in my case, but get shown as a difference:

Code: Select all

<test>
	<subElement value="Hello"></subElement>
</test>

Code: Select all

<test>
	<subElement value="Hello" />
</test>
More advanced than the first example, but still the same XML are these:

Code: Select all

<myns:test xmlns:myns="http://www.example.com">
  <myns:subElement value="Hello" />
</myns:test>

Code: Select all

<test xmlns="http://www.example.com">
  <subElement value="Hello" />
</test>

jeffhostetler
Posts: 534
Joined: Tue Jun 05, 2007 11:37 am
Location: SourceGear
Contact:

DiffMerge is not an XML-aware application.

Post by jeffhostetler » Wed Jan 02, 2008 10:47 am

Sorry, but DiffMerge is not an XML-aware application. We've had several
requests for that, but that's just not the direction we're headed.

A quick Google search for "XML diff merge" shows lots of XML-aware tools.
I've not played with the XML diffing/merging of any of them, so I can't
make any recommendations here.

jeff hostetler

Post Reply