Is anyone else seeing this problem? For years now, I've seen this, in at least 2 version:
I'll have 2 files, virtually identical, just one or 2 differences.
They both have an identical line - XML element with value, all on the same line.
e.g.
<jndi:value>S0002_REBO_EXCSVC_EMAIL_TBL</jndi:value>
In one file, when displayed and compared, the line looks just like that.
In the other it will be reformatted and look like
<jndi:value>
S0002_REBO_EXCSVC_EMAIL_TBL</jndi:value>
Causing Differences to appear.
This can happen many many times - obviously not a direct comparison.
Is this a bug?
I finally just turned the XML Format plugin off (the XML Canonicalize was already off).
Xml Formatter is causing my files to be formatted differentl
Re: Xml Formatter is causing my files to be formatted differ
Could you provide your sample XML files along with your options (you can export them to a file using the Options | Export To File command)?
psguru
PrestoSoft
PrestoSoft
Re: Xml Formatter is causing my files to be formatted differ
Sorry for the looong delay.
I'm attaching in a zip file
- the xml files being diffed
- the options.txt file (when XMLFormatting is on)
- a word doc that shows what I see both with XMLFormatting on and off, and some verbage on the display.
my examdiff pro version is Build 4.5.2.2 7/1/2009 10:38:07 PM
Note, it doesn't seem to happen all the time.
This is probably crazy, but if you can't recreate it, try doing the compare, shrinking the tool window too fairly small (smaller than in my screen shots), and the 2 views different sizes. Then go out of thetool, redo the compare from the windows explorer window. You might see the problem. Or I might be crazy
I'm attaching in a zip file
- the xml files being diffed
- the options.txt file (when XMLFormatting is on)
- a word doc that shows what I see both with XMLFormatting on and off, and some verbage on the display.
my examdiff pro version is Build 4.5.2.2 7/1/2009 10:38:07 PM
Note, it doesn't seem to happen all the time.
This is probably crazy, but if you can't recreate it, try doing the compare, shrinking the tool window too fairly small (smaller than in my screen shots), and the 2 views different sizes. Then go out of thetool, redo the compare from the windows explorer window. You might see the problem. Or I might be crazy

- Attachments
-
- examdiffpro-problem.zip
- (171.66 KiB) Downloaded 734 times
Re: Xml Formatter is causing my files to be formatted differ
The problem actually quite simple: it appears that the XML Format plugin is being applied only to the left pane and not to the right pane, because the right file has the *.bak extension.
Right now your name filter for the XML Format plug-in is:
To solve the problem, simply change it to:
or
Note that name filters for plug-ins are only supported in version 5.0. If you have an earlier version of ExamDiff Pro, you can't use this method (because the extension filter doesn't allow compound extensions like "xml.bak"), but you can do any of the following:
1. Manually apply the plug-in to the second file whenever this problem occurs (right-click within the file and select Apply Plug-in | XML Format).
2. Use the XML Format with ALL *bak files, if you know that most *.bak files that you deal with will be xml files. Then, whenever you deal with non-XML files, you can just turn off plug-ins.
3. In the worst-case scenario, you could simply disable the XML Format plug-in to prevent these problems.
Right now your name filter for the XML Format plug-in is:
Code: Select all
*.xml
Code: Select all
*.xml*
Code: Select all
*.xml,*.xml.bak
1. Manually apply the plug-in to the second file whenever this problem occurs (right-click within the file and select Apply Plug-in | XML Format).
2. Use the XML Format with ALL *bak files, if you know that most *.bak files that you deal with will be xml files. Then, whenever you deal with non-XML files, you can just turn off plug-ins.
3. In the worst-case scenario, you could simply disable the XML Format plug-in to prevent these problems.
psguru
PrestoSoft
PrestoSoft
Re: Xml Formatter is causing my files to be formatted differ
Interesting, thanks for such an indepth explanation!
I've seen it so many times, I'd be surprised that I could have been doing so many diffs between a .xml and non .xml file , but I guess its possible!
I've seen it so many times, I'd be surprised that I could have been doing so many diffs between a .xml and non .xml file , but I guess its possible!