I want to compare two xml strings in a test, but the test keeps failing due to whitespace. @Test public void testForEquality() throws Exception {
I am currently working with XMLUnit and I am wondering if there is way to conf开发者_如何学Cigure it to ignore only the id attribute of the tags I want to compare.
I am currently trying to use the XMLUnit library to compare two XML files. One of them, the candidate, is generated by my code from Java Objects (using JAXB) and the other one is the reference (I cann
Is it possible to ignore a few children in elements when comparin开发者_如何学编程g XML documents with XMLUnit? I want to ignore any empty text nodes in the element when comparing them.
Given an xml document like <root> <row> <a>2</a> <b>1</b> <c>8</c>
I want to use XMLUnit to compare two similar XML files. Basically every thing is same, File1 is a copy of File2 , but in File2 I have changed the order of some elements in one node.