XML Diff: The difference is shown as one big chunk

Are you missing a feature? Request its implementation here.
dma_k
Posts: 32
Joined: Fri Aug 05, 2011 8:27 pm

XML Diff: The difference is shown as one big chunk

Post 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
dma_k
Posts: 32
Joined: Fri Aug 05, 2011 8:27 pm

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

Post by dma_k »

For above I referred the comparison in mode "Character".
adrian
Posts: 2855
Joined: Tue May 17, 2005 4:01 pm

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

Post 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
Adrian Buza
<oXygen/> XML Editor, Schema Editor and XSLT Editor/Debugger
http://www.oxygenxml.com
Post Reply