Re: [Xmlunit-general] how to ignore an attribute

2013-04-13 Thread Eric Siegerman
On 04/12/2013 10:51 AM, David Rees wrote: > Is there a good hook for that in XMLUnit? I don't know; if there is, I didn't use it. I just massaged the two DOM trees before getting XMLUnit involved. - Eric -- Precog

Re: [Xmlunit-general] XPathContext.getXPath taking bulk of compare time

2013-04-13 Thread Stefan Bodewig
On 2013-04-11, David Rees wrote: > On 4/11/13 1:06 PM, David Rees wrote: >> I've actually tracked it down to two things in the XPathContext.getXPath. >> The biggest is actually the "replace(SEP + SEP, SEP)". When I remove >> that my XMLUnit benchmarks go from 0.11 to 0.06. I haven't played with

Re: [Xmlunit-general] how to ignore an attribute

2013-04-13 Thread Stefan Bodewig
On 2013-04-12, David Rees wrote: > Is there a good hook for that in XMLUnit? The 2.0 code base uses XSLT transformations and other document changing operation for things like removing comments or whitespace. Adding transformations into the builder chain for its input is pretty easy. When I saw