Best I've ever seen (though I'm biased since I worked with the author) was 
XMLTreeDiff, which did some fairly sophisticated signature-matching so it 
could generate a fairly well optimized list of changes ("this was moved 
there" rather than "this was deleted and the same thing was inserted"). As 
a result, its output was actually more useful than that of many 
traditional diff engines.

Unfortunately, it was written back when there was a signature routine 
built into the Xerces DOM Implementation, and I don't know whether it has 
ever been updated to work with a stand-alone signature engine so it could 
run against other DOMs ... or to support namespaced DOMs. I'll ask.


Xalan's test suite is currently using a class called XHTComparitor to 
compare XML, HTML, and/or Text output of our testcases with the "gold 
file"  (official results). But that's generating only go/no-go results 
rather than a list of differences, so it might not meet your needs.

______________________________________
Joe Kesselman  / IBM Research


---------------------------------------------------------------------
To unsubscribe, e-mail: [EMAIL PROTECTED]
For additional commands, e-mail: [EMAIL PROTECTED]

Reply via email to