On Tue, 24 Jun 2008, Aslam Karachiwala <[EMAIL PROTECTED]> wrote: > Here are 2 documents that Diff & XMLAssert.assertXMLEqual() should > consider "similar", as I understand it, but they don't.
Order is only irrelevant if XMLUnit knows how to match the out-of-order nodes against each other. > The only difference is the order of the <result /> nodes Not really. It is the order of result nodes that differ in Text content in a grandchild - XMLUnit won't dig that deep when deciding which result Node to compare to which other result Node, unless you explicitly tell it to. If you use the example RecursiveElementNameAndTextQualifier from XMLUnit 1.2 it should work. Stefan ------------------------------------------------------------------------- Check out the new SourceForge.net Marketplace. It's the best place to buy or sell services for just about anything Open Source. http://sourceforge.net/services/buy/index.php _______________________________________________ Xmlunit-general mailing list [email protected] https://lists.sourceforge.net/lists/listinfo/xmlunit-general
