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


------------------------------------------------------------------------------
Precog is a next-generation analytics platform capable of advanced
analytics on semi-structured data. The platform includes APIs for building
apps and a phenomenal toolset for data science. Developers can use
our toolset for easy data analysis & visualization. Get a free account!
http://www2.precog.com/precogplatform/slashdotnewsletter
_______________________________________________
Xmlunit-general mailing list
[email protected]
https://lists.sourceforge.net/lists/listinfo/xmlunit-general

Reply via email to