Does not Diff <Title> or <Meta> or <JavaScript> in HTML
GoogleCodeExporter opened this issue · 3 comments
GoogleCodeExporter commented
What steps will reproduce the problem?
See Attached Files which contains a simple Head and Body containing some
<title>, <meta>, <link> and <script> I have induced some changes in all
sections, yet Daisy Diff does not report all
What is the expected output? What do you see instead?
Diff Report contain all the changes
What version of the product are you using? On what operating system?
Daisy Diff 1.2
Please provide any additional information below.
Original issue reported on code.google.com by infant.gerald@gmail.com
on 24 Apr 2013 at 9:04
Attachments:
GoogleCodeExporter commented
What is the expected output?
Diff Report contain all the changes
What do you see instead?
Only Text changes are present
Original comment by infant.gerald@gmail.com
on 24 Apr 2013 at 9:05
- Added labels: ****
- Removed labels: ****
GoogleCodeExporter commented
These nodes are specifically cleaned BEFORE the diff runs so that they do not
affect the diff process.
See the file
https://code.google.com/p/daisydiff/source/browse/trunk/daisydiff/src/java/org/o
uterj/daisy/diff/cleanup.xsl
Original comment by kkape...@gmail.com
on 24 Apr 2013 at 9:26
- Changed state: Verified
- Added labels: ****
- Removed labels: ****
GoogleCodeExporter commented
However daisydiff only detects VISIBLE html changes. Even if you had a way to
detect Javascript or Meta changes how are you supposed to show them to the user?
Especially Meta tags are non-visible by definition.
If you are interested in HTML as structure only then use XMLunit or another
library mentioned in https://code.google.com/p/daisydiff/wiki/Software
You also try to remove the cleaner xsl so that this nodes take part in the diff
process. But I am not sure if that helps in any way.
Original comment by kkape...@gmail.com
on 24 Apr 2013 at 9:29
- Changed state: WontFix
- Added labels: ****
- Removed labels: ****