On 04/11/2013 11:47 AM, Stefan Bodewig wrote:
> On 2013-04-11, David Rees wrote:
>> What is the best way to go about ignoring a particular attribute?
>
> A custom DifferenceListener looking at the XPath is your only option,
> I'm afraid.
Instead of filtering the Differences after the fact, one could
modify the DOM trees before pointing XMLUnit at them.
I recently took that approach; it worked out quite well.
- Eric
|