I need to diff large directory structures containing generated .xml and .wsdl files. The generated .xml files differ in the order that child elements appear. The XmlUnit D
I agree with Jim's comment. Most of issues I faced with XmlUnit was due to incorrect initialization.
However, you could always take a look at the XMLUnit source code and substitute Diff handler with your own if you feel like implementation is not doing what you need. The code is quite easy to understand and you will be able to fully control behavior without much effort needed to implement your own diff engine.