dizzzz / daisydiff

Automatically exported from code.google.com/p/daisydiff
1 stars 0 forks source link

Changes in HTML-Structure aren't diffed correctly #6

Open GoogleCodeExporter opened 9 years ago

GoogleCodeExporter commented 9 years ago
What steps will reproduce the problem?
1. I compare 1.TXT with 2.TXT

What is the expected output? What do you see instead?
L2 is not marked as changed at all. 
I expect L2 to be marked as added in the second list and/or L2 to be marked 
as deleted in the first list.
The same with the table:
I expect T2 to be removed in the first table, and the second table should 
be marked as added.

What version of the product are you using? On what operating system?
i'm using Rev #112 from SVN.

Please provide any additional information below.

Original issue reported on code.google.com by dereisb...@googlemail.com on 4 Feb 2009 at 5:18

Attachments:

GoogleCodeExporter commented 9 years ago
DaisyDiff is currently unable to see the difference between those 2 files, yes. 
I can
imagine an extension to the algorithm that adds a hidden placeholders in between
block level tags when there is no text in between. This would fix the problem.

My schedule does not allow me to implement it though. I don't believe there are 
real
world situations where this kind of modification makes sense. Do you have a 
real life
use case where this occurs?

Thanks for reporting.

Original comment by guy...@gmail.com on 17 Feb 2009 at 4:50