Skip to main content

XML diff

4 replies [Last post]
zzzz8
Offline
Joined: 2005-08-19

Reply viewing options

Select your preferred way to display the comments and click "Save settings" to activate your changes.
alapick
Offline
Joined: 2007-11-02

Hello,

You can try A7Soft JExamXML from http://www.a7soft.com/jexamxml.html
download link is http://www.a7soft.com/jexamxml.zip

Thanks.

pgerstbach
Offline
Joined: 2005-06-22

Does anybody know a tool to check if two XMLs are the same using W3C's Canonical XML spec?

I think there must be implementations out there, because in XML Security you need it.

Thanks,
Peter

sandoz
Offline
Joined: 2003-06-20

The correct comparison of two canonical XML documents needs to be performed at the byte level.

Having said that some aspects can be checked by parsing canonical XML documents (if indeed they can be parsed and as Canonical XML specifies a transformation from XPath to bytes and those bytes may or may not be a well-formed XML document).

Paul.

sandoz
Offline
Joined: 2003-06-20

I do not have much experience with such XML diff tools, sorry!

For Fast Infoset we test round trip correctness of the infoset using a simple diff mechanism based on the output of SAX events. It allows us to automatically detect differences, and then one can see what those differences are, but it is certainly not a very friendly solution.

Paul.