AnsweredAssumed Answered

Version of XMLUnit in DT 8.5 vs what I need to use, help!

Question asked by sdetweil2 on Jan 15, 2016
Latest reply on Jan 25, 2016 by sdetweil2

I am trying to do an XML document assertEquals(), but I need to call setIgnoreAttributeOrder(true).


but I get a signature not found, also for getIgnoreAttributeOrder().

     No signature of method: static org.custommonkey.xmlunit.XMLUnit.getIgnoreAttributeOrder() is applicable for argument types: ()


I am using JUnit 2, but it looks like the product is supplying Junit 1.0. I can't even find doc for that version (classes built in 2003)..


I used JD-gui to decompile the XMLUnit class provided in the Junit-1.0 jar provided in DT, and sure enough those methods are not available.


my code works in an Eclipse java project, but fails under DT.


how can I force the system to use the later jar for my service? (jars loaded in hotDeploy).