This week's book giveaway is in the Java in General forum. We're giving away four copies of Think Java: How to Think Like a Computer Scientist and have Allen B. Downey & Chris Mayfield on-line! See this thread for details.
I have a simple question:
Is it possible to ignore timestamps within the XML-Files using XMLUnit?
I use something like this:
Diff diff = new Diff(validString, toTestString);
The valid-String contains other timestamps as the totest-String which comes from a running database.
A very simple solution would be to erase all "timestamplike" strings in the toTestString and the validString but I think that there is an other way ... something linke an own DifferenceListener?
I think that this task is a very common one but google did not help me
The only thing I found was: It is possible with an own implementation of the DifferenceListener interface but not how.