Page 1 of 1

XML Diff: The difference is shown as one big chunk

Posted: Tue Aug 23, 2011 8:10 pm
by dma_k
The attached example is an extreme one. It would be nice if XML Diff can display the difference between the two given documents not as one block, but as several, each block ending on new line. Currently it is displayed as one block.

Test set: test.zip

Re: XML Diff: The difference is shown as one big chunk

Posted: Tue Aug 23, 2011 8:31 pm
by dma_k
For above I referred the comparison in mode "Character".

Re: XML Diff: The difference is shown as one big chunk

Posted: Mon Aug 29, 2011 4:20 pm
by adrian
Hi,

I've mentioned this in the other thread:
The block of changes should probably be at line level when comparing with the Lines algorithm. There is an option for merging adjacent differences(default disabled) but no option for merging block of changes which seem to be merged by default. I'll log this to our issue tracking tool to add an option.
I guess the same could be done for Characters, we'll discuss this internally.

Regards,
Adrian