<?xml version="1.0" encoding="utf-8"?>
<rss version="2.0" xmlns:atom="http://www.w3.org/2005/Atom"><channel><title>Activity for XML Unit</title><link>https://sourceforge.net/p/xmlunit/activity/</link><description>Recent activity for XML Unit</description><language>en</language><lastBuildDate>Fri, 24 Oct 2025 12:46:51 -0000</lastBuildDate><item><title>Stefan Bodewig posted a comment on discussion Open Discussion</title><link>https://sourceforge.net/p/xmlunit/discussion/73273/thread/1d0789bc97/?limit=25#fa7f</link><description>This release is identical to XMLUnit for Java 2.10.4 except for the dependency list of the xmlunit-jakarta-jaxb-impl modulle. If you don't use the module, you can ignore this release. Up until XMLUnit 2.10.4 the xmlunit-jakarta-jaxb-impl module depended on org.glassfish.jaxb:jaxb-runtime making it more difficult to chose a different JAXB implementation than necessary (see #313). This dependency has now been removed. If you use the xmlunit-jakarta-jaxb-impl module you may now need to specify the JAXB...</description><dc:creator xmlns:dc="http://purl.org/dc/elements/1.1/">Stefan Bodewig</dc:creator><pubDate>Fri, 24 Oct 2025 12:46:51 -0000</pubDate><guid>https://sourceforge.net/p/xmlunit/discussion/73273/thread/1d0789bc97/?limit=25#fa7f</guid></item><item><title>Stefan Bodewig created a blog post</title><link>https://sourceforge.net/p/xmlunit/news/2025/10/xmlunit-for-java-2110-released/</link><description>XMLUnit for Java 2.11.0 Released</description><dc:creator xmlns:dc="http://purl.org/dc/elements/1.1/">Stefan Bodewig</dc:creator><pubDate>Fri, 24 Oct 2025 12:46:22 -0000</pubDate><guid>https://sourceforge.net/p/xmlunit/news/2025/10/xmlunit-for-java-2110-released/</guid></item><item><title>Stefan Bodewig posted a comment on discussion Open Discussion</title><link>https://sourceforge.net/p/xmlunit/discussion/73273/thread/29f2e23084/?limit=25#7e25</link><description>This is a bugfix release. Fixed bugs: attributes with null values could cause a NullPointerException. Issue #307 PR #309</description><dc:creator xmlns:dc="http://purl.org/dc/elements/1.1/">Stefan Bodewig</dc:creator><pubDate>Sat, 13 Sep 2025 13:29:23 -0000</pubDate><guid>https://sourceforge.net/p/xmlunit/discussion/73273/thread/29f2e23084/?limit=25#7e25</guid></item><item><title>Stefan Bodewig created a blog post</title><link>https://sourceforge.net/p/xmlunit/news/2025/09/xmlunit-for-java-2104-released/</link><description>XMLUnit for Java 2.10.4 Released</description><dc:creator xmlns:dc="http://purl.org/dc/elements/1.1/">Stefan Bodewig</dc:creator><pubDate>Sat, 13 Sep 2025 13:28:42 -0000</pubDate><guid>https://sourceforge.net/p/xmlunit/news/2025/09/xmlunit-for-java-2104-released/</guid></item><item><title>Stefan Bodewig posted a comment on discussion Open Discussion</title><link>https://sourceforge.net/p/xmlunit/discussion/73273/thread/6431f48fdd/?limit=25#0b28</link><description>This release fixes OSGi headers inside xmlunit-core's and xmlunit-legacy's manifests, it doesn't contain any other changes. Full list of changes: marked OSGi Import-Package optional for javax.xml.bind packages in xmlunit-core. Also fixed the Export-Package header of the legacy module. Issue #300 PR #301</description><dc:creator xmlns:dc="http://purl.org/dc/elements/1.1/">Stefan Bodewig</dc:creator><pubDate>Thu, 19 Jun 2025 14:25:17 -0000</pubDate><guid>https://sourceforge.net/p/xmlunit/discussion/73273/thread/6431f48fdd/?limit=25#0b28</guid></item><item><title>Stefan Bodewig created a blog post</title><link>https://sourceforge.net/p/xmlunit/news/2025/06/xmlunit-for-java-2103-released/</link><description>XMLUnit for Java 2.10.3 Released</description><dc:creator xmlns:dc="http://purl.org/dc/elements/1.1/">Stefan Bodewig</dc:creator><pubDate>Thu, 19 Jun 2025 14:24:39 -0000</pubDate><guid>https://sourceforge.net/p/xmlunit/news/2025/06/xmlunit-for-java-2103-released/</guid></item><item><title>Stefan Bodewig posted a comment on discussion Open Discussion</title><link>https://sourceforge.net/p/xmlunit/discussion/73273/thread/0df1f3db15/?limit=25#2527</link><description>This release fixes a problem with the published POM of the xmlunit-legacy module. It doesn't contain any changes to any of the other modules.</description><dc:creator xmlns:dc="http://purl.org/dc/elements/1.1/">Stefan Bodewig</dc:creator><pubDate>Fri, 23 May 2025 10:23:20 -0000</pubDate><guid>https://sourceforge.net/p/xmlunit/discussion/73273/thread/0df1f3db15/?limit=25#2527</guid></item><item><title>Stefan Bodewig created a blog post</title><link>https://sourceforge.net/p/xmlunit/news/2025/05/xmlunit-for-java-2102-released/</link><description>XMLUnit for Java 2.10.2 Released</description><dc:creator xmlns:dc="http://purl.org/dc/elements/1.1/">Stefan Bodewig</dc:creator><pubDate>Fri, 23 May 2025 10:22:51 -0000</pubDate><guid>https://sourceforge.net/p/xmlunit/news/2025/05/xmlunit-for-java-2102-released/</guid></item><item><title>Stefan Bodewig posted a comment on discussion Open Discussion</title><link>https://sourceforge.net/p/xmlunit/discussion/73273/thread/fad301a39f/?limit=25#d196</link><description>Both releases come with build related changes but also fix some issues with the placeholders module. List of changes for XMLUnit for Java placeholders can now also be used inside of the local part of xsi:type attributes. PR #293 PlaceholderDifferenceEvaluator would cause ClassCastException for documents with differences in xsi:type attributes. Issue #276 updated a bunch of Maven plugins, in particular we now create CylcloneDX files using version 1.6 of the schema. PR #292 updated bytebuddy dependency...</description><dc:creator xmlns:dc="http://purl.org/dc/elements/1.1/">Stefan Bodewig</dc:creator><pubDate>Mon, 19 May 2025 03:54:46 -0000</pubDate><guid>https://sourceforge.net/p/xmlunit/discussion/73273/thread/fad301a39f/?limit=25#d196</guid></item><item><title>Stefan Bodewig created a blog post</title><link>https://sourceforge.net/p/xmlunit/news/2025/05/xmlunit-for-java-2101-and-xmlunitnet-2111-released/</link><description>XMLUnit for Java 2.10.1 and XMLUnit.NET 2.11.1 Released</description><dc:creator xmlns:dc="http://purl.org/dc/elements/1.1/">Stefan Bodewig</dc:creator><pubDate>Mon, 19 May 2025 03:54:36 -0000</pubDate><guid>https://sourceforge.net/p/xmlunit/news/2025/05/xmlunit-for-java-2101-and-xmlunitnet-2111-released/</guid></item><item><title>Stefan Bodewig posted a comment on discussion Open Discussion</title><link>https://sourceforge.net/p/xmlunit/discussion/73273/thread/8622215a8a/?limit=25#4cfc</link><description>Back when I releasedXMLUnit.NET 2.10.0 I claimed the NUnit 3.x constraints would nowsupport NUnit 4.x as well. Unfortunately I never really tested this and it turns out to be wrong. NUnit 4.x is a major release and it has broken backwards compatibility (it is a major version, after all) in a way that doesn't seem to allow using the same constraint implementation for 3.x and 4.x. XMLUnit 2.11.0 adds a new XMLUnit.NUnit4.Constraints package with constraints for NUnit 4.x. This package requires at least...</description><dc:creator xmlns:dc="http://purl.org/dc/elements/1.1/">Stefan Bodewig</dc:creator><pubDate>Sat, 29 Mar 2025 06:39:03 -0000</pubDate><guid>https://sourceforge.net/p/xmlunit/discussion/73273/thread/8622215a8a/?limit=25#4cfc</guid></item><item><title>Stefan Bodewig created a blog post</title><link>https://sourceforge.net/p/xmlunit/news/2025/03/xmlunitnet-2110-released/</link><description>XMLUnit.NET 2.11.0 released</description><dc:creator xmlns:dc="http://purl.org/dc/elements/1.1/">Stefan Bodewig</dc:creator><pubDate>Sat, 29 Mar 2025 06:38:27 -0000</pubDate><guid>https://sourceforge.net/p/xmlunit/news/2025/03/xmlunitnet-2110-released/</guid></item><item><title>Stefan Bodewig posted a comment on discussion Open Discussion</title><link>https://sourceforge.net/p/xmlunit/discussion/73273/thread/872152077d/?limit=25#d4b5</link><description>adjusted the NUnit 3.x constraints so they should work for NUnit 4.x as well. Issue #40. add a new ElementSelectors.ByNameAndAllAttributes variant that filters attributes before deciding whether elements can be compared. Inspired by Issue #xmlunit/259 Nodes.GetMergedNestedText and Nodes.StripElementContentWhitespace had the same problem of not knowning about XmlWhitespace that caused Issue #38. And neither of the methods could deal with XmlSignificantWhitespace at all. add XmlWhitespaceStrippedSource,...</description><dc:creator xmlns:dc="http://purl.org/dc/elements/1.1/">Stefan Bodewig</dc:creator><pubDate>Thu, 08 Aug 2024 19:26:41 -0000</pubDate><guid>https://sourceforge.net/p/xmlunit/discussion/73273/thread/872152077d/?limit=25#d4b5</guid></item><item><title>Stefan Bodewig created a blog post</title><link>https://sourceforge.net/p/xmlunit/news/2024/08/xmlunitnet-2100-released/</link><description>XMLUnit.NET 2.10.0 Released</description><dc:creator xmlns:dc="http://purl.org/dc/elements/1.1/">Stefan Bodewig</dc:creator><pubDate>Thu, 08 Aug 2024 19:25:36 -0000</pubDate><guid>https://sourceforge.net/p/xmlunit/news/2024/08/xmlunitnet-2100-released/</guid></item><item><title>Stefan Bodewig posted a comment on discussion Open Discussion</title><link>https://sourceforge.net/p/xmlunit/discussion/73273/thread/073b89e98e/?limit=25#4b94</link><description>add a new ElementSelectors.byNameAndAllAttributes variant that filters attributes before deciding whether elements can be compared. Inspired by Issue #259 By default the TransformerFactorys created will now try to disable extension functions. If you need extension functions for your transformations you may want to pass in your own instance of TransformerFactory and TransformerFactoryConfigurer may help with that. Inspired by Issue #264 JAXPXPathEngine will now try to disable the execution of extension...</description><dc:creator xmlns:dc="http://purl.org/dc/elements/1.1/">Stefan Bodewig</dc:creator><pubDate>Sun, 28 Apr 2024 15:18:51 -0000</pubDate><guid>https://sourceforge.net/p/xmlunit/discussion/73273/thread/073b89e98e/?limit=25#4b94</guid></item><item><title>Stefan Bodewig created a blog post</title><link>https://sourceforge.net/p/xmlunit/news/2024/04/xmlunit-for-java-2100-released/</link><description>XMLUnit for Java 2.10.0 Released</description><dc:creator xmlns:dc="http://purl.org/dc/elements/1.1/">Stefan Bodewig</dc:creator><pubDate>Sun, 28 Apr 2024 15:18:20 -0000</pubDate><guid>https://sourceforge.net/p/xmlunit/news/2024/04/xmlunit-for-java-2100-released/</guid></item><item><title>Richard Zhu posted a comment on discussion Open Discussion</title><link>https://sourceforge.net/p/xmlunit/discussion/73273/thread/2d6441aa5b/?limit=25#8745</link><description>Since I can't get the XPath from XmlAttribute or XmlNode parameter passed into the predicate, how can I determine the XPath of the element to filter? Shouldn't the XPath be passed in as a parameter? Thanks.</description><dc:creator xmlns:dc="http://purl.org/dc/elements/1.1/">Richard Zhu</dc:creator><pubDate>Tue, 04 Jul 2023 17:49:41 -0000</pubDate><guid>https://sourceforge.net/p/xmlunit/discussion/73273/thread/2d6441aa5b/?limit=25#8745</guid></item><item><title>Stefan Bodewig posted a comment on discussion Open Discussion</title><link>https://sourceforge.net/p/xmlunit/discussion/73273/thread/af76afe958/?limit=25#2ca1</link><description>added NodeFilters#SatisfiesAll and SatifiesAny methods to make it easier to combine multiple node filters. added to simplify the use case of xmlunit/#249 when documents contained element content whitespace represented by System.Xml.XmlWhitespace the types and methods that are supposed to strip or normalize whitespace would fail. Issue #38</description><dc:creator xmlns:dc="http://purl.org/dc/elements/1.1/">Stefan Bodewig</dc:creator><pubDate>Thu, 16 Mar 2023 16:12:15 -0000</pubDate><guid>https://sourceforge.net/p/xmlunit/discussion/73273/thread/af76afe958/?limit=25#2ca1</guid></item><item><title>Stefan Bodewig created a blog post</title><link>https://sourceforge.net/p/xmlunit/news/2023/03/xmlunitnet-292-released/</link><description>XMLUnit.NET 2.9.2 Released</description><dc:creator xmlns:dc="http://purl.org/dc/elements/1.1/">Stefan Bodewig</dc:creator><pubDate>Thu, 16 Mar 2023 16:11:32 -0000</pubDate><guid>https://sourceforge.net/p/xmlunit/news/2023/03/xmlunitnet-292-released/</guid></item><item><title>Stefan Bodewig posted a comment on discussion Open Discussion</title><link>https://sourceforge.net/p/xmlunit/discussion/73273/thread/fd73b2239e/?limit=25#5fc8</link><description>fixed some AssertJ tests that didn't work on Windows. Issue #252 and PR #253 by @Boiarshinov added overloads to ElementSelectors.byXPath that accept a XPathEngine argument. Issue #255 added Cyclone DX SBOMs to release artifacts</description><dc:creator xmlns:dc="http://purl.org/dc/elements/1.1/">Stefan Bodewig</dc:creator><pubDate>Tue, 10 Jan 2023 15:42:10 -0000</pubDate><guid>https://sourceforge.net/p/xmlunit/discussion/73273/thread/fd73b2239e/?limit=25#5fc8</guid></item><item><title>Stefan Bodewig created a blog post</title><link>https://sourceforge.net/p/xmlunit/news/2023/01/xmlunit-for-java-291-released/</link><description>XMLUnit for Java 2.9.1 Released</description><dc:creator xmlns:dc="http://purl.org/dc/elements/1.1/">Stefan Bodewig</dc:creator><pubDate>Tue, 10 Jan 2023 15:41:26 -0000</pubDate><guid>https://sourceforge.net/p/xmlunit/news/2023/01/xmlunit-for-java-291-released/</guid></item><item><title>Stefan Bodewig posted a comment on discussion Open Discussion</title><link>https://sourceforge.net/p/xmlunit/discussion/73273/thread/fd8f34743b/?limit=25#4d5c</link><description>The major change of XMLUnit for Java 2.9.0 is the addition of a new module xmlunit-jakarta-jaxb-impl that can be used in addition to xmlunit-core when you want to use the Jakarta XML Binding API in version 3. For details please see the user's guide. The full list of changes of XMLUnit for Java 2.9.0 is: added a new module xmlunit-jakarta-jaxb-impl that makes Input.fromJaxb use jakarta.xml.bind rather than javax.xml.bind. For more details see the User's Guide. This change is not fully backwards compatible....</description><dc:creator xmlns:dc="http://purl.org/dc/elements/1.1/">Stefan Bodewig</dc:creator><pubDate>Tue, 25 Jan 2022 17:38:35 -0000</pubDate><guid>https://sourceforge.net/p/xmlunit/discussion/73273/thread/fd8f34743b/?limit=25#4d5c</guid></item><item><title>Stefan Bodewig created a blog post</title><link>https://sourceforge.net/p/xmlunit/news/2022/01/xmlunit-for-java-290/</link><description>XMLUnit for Java 2.9.0</description><dc:creator xmlns:dc="http://purl.org/dc/elements/1.1/">Stefan Bodewig</dc:creator><pubDate>Tue, 25 Jan 2022 17:37:58 -0000</pubDate><guid>https://sourceforge.net/p/xmlunit/news/2022/01/xmlunit-for-java-290/</guid></item><item><title>Stefan Bodewig posted a comment on discussion Open Discussion</title><link>https://sourceforge.net/p/xmlunit/discussion/73273/thread/1b8b25c6d9/?limit=25#1cb6</link><description>I've just released new minor versions of XMLUnit for Java and XMLUnit.NET. Both releases are improvements. Changelog for XMLUnit for Java 2.8.4: improved comparison performance for documents with many siblings based on a suggestion by @gerpres made in #236 Changelog for XMLUnit.NET 2.9.1 improved comparison performance for documents with many siblings based on a suggestion by @gerpres made in Java Issue xmlunit/#236 added a new FullDescription method to Diff that provides a string-representation...</description><dc:creator xmlns:dc="http://purl.org/dc/elements/1.1/">Stefan Bodewig</dc:creator><pubDate>Thu, 16 Dec 2021 20:47:41 -0000</pubDate><guid>https://sourceforge.net/p/xmlunit/discussion/73273/thread/1b8b25c6d9/?limit=25#1cb6</guid></item><item><title>Stefan Bodewig created a blog post</title><link>https://sourceforge.net/p/xmlunit/news/2021/12/xmlunit-for-java-284-and-xmlunitnet-291-released/</link><description>XMLUnit for Java 2.8.4 and XMLUnit.NET 2.9.1 Released</description><dc:creator xmlns:dc="http://purl.org/dc/elements/1.1/">Stefan Bodewig</dc:creator><pubDate>Thu, 16 Dec 2021 20:46:43 -0000</pubDate><guid>https://sourceforge.net/p/xmlunit/news/2021/12/xmlunit-for-java-284-and-xmlunitnet-291-released/</guid></item><item><title>Stefan Bodewig posted a comment on discussion Open Discussion</title><link>https://sourceforge.net/p/xmlunit/discussion/73273/thread/eb34232bfa/?limit=25#24bc</link><description>This release fixes a shortcoming of the AssertJ support modules and adds a new convenience feature to the Diff class. The full list of changes: added a new fullDescription method to Diff that provides a string-representation of all differences - not just the first one like toString does. PR #235 fixing #232 by @Boiarshinov made sure AssertJ's methods to override the assertion message like withFailMessage are honored. #225 adjusted unit tests so they pass when AssertJ 3.19.0 is used. PR #212 by m...</description><dc:creator xmlns:dc="http://purl.org/dc/elements/1.1/">Stefan Bodewig</dc:creator><pubDate>Sun, 17 Oct 2021 19:46:15 -0000</pubDate><guid>https://sourceforge.net/p/xmlunit/discussion/73273/thread/eb34232bfa/?limit=25#24bc</guid></item><item><title>Stefan Bodewig created a blog post</title><link>https://sourceforge.net/p/xmlunit/news/2021/10/xmlunit-for-java-283/</link><description>XMLUnit for Java 2.8.3</description><dc:creator xmlns:dc="http://purl.org/dc/elements/1.1/">Stefan Bodewig</dc:creator><pubDate>Sun, 17 Oct 2021 19:45:43 -0000</pubDate><guid>https://sourceforge.net/p/xmlunit/news/2021/10/xmlunit-for-java-283/</guid></item><item><title>Stefan Bodewig posted a comment on discussion Open Discussion</title><link>https://sourceforge.net/p/xmlunit/discussion/73273/thread/ea6b018bf6/?limit=25#e41f</link><description>I'm afraid this is due to the way DOM is implemented (in Java?). XMLUnit uses the DOM model when comparing XML files. This means your Java process contains two parsed tree models of the whole documents in memory at the same time - and DOM is famous for being memory intensive. At least you seem to be able to load both documents, so there probably isn't that much memory missing and you could get by with increasing your JVM's heap memory a bit when starting the process. There are alternative APIs for...</description><dc:creator xmlns:dc="http://purl.org/dc/elements/1.1/">Stefan Bodewig</dc:creator><pubDate>Sun, 10 Oct 2021 16:47:49 -0000</pubDate><guid>https://sourceforge.net/p/xmlunit/discussion/73273/thread/ea6b018bf6/?limit=25#e41f</guid></item><item><title>Shubham Arvikar posted a comment on discussion Open Discussion</title><link>https://sourceforge.net/p/xmlunit/discussion/73273/thread/ea6b018bf6/?limit=25#4128</link><description>Hello, I am trying to compare 2 large xml files which contains around 2.4m+ lines (xml file size ~ 51 MB). This is the method I have created where I am sending xmlfilepath for 2 xmls. It is working fine with some small responses but for huge one it is throwing java oom gc error. Is there any limitation of xmlunit? do we have any solution for this type of issue? public static Iterable&lt;difference&gt; compareXmlFiles(String response1FilePath, String response2FilePath) throws IOException, SAXException {...</description><dc:creator xmlns:dc="http://purl.org/dc/elements/1.1/">Shubham Arvikar</dc:creator><pubDate>Wed, 06 Oct 2021 13:43:05 -0000</pubDate><guid>https://sourceforge.net/p/xmlunit/discussion/73273/thread/ea6b018bf6/?limit=25#4128</guid></item><item><title>Stefan Bodewig posted a comment on discussion Help</title><link>https://sourceforge.net/p/xmlunit/discussion/73274/thread/bf57e515/?limit=25#f71b</link><description>But do you know which elements are expected to hold numbers? If so, you can still use the DifferenceEvaluator approach I described. Otherwise - if you don't know which elements are to be considered numbers how should XMLUnit know? :-)</description><dc:creator xmlns:dc="http://purl.org/dc/elements/1.1/">Stefan Bodewig</dc:creator><pubDate>Wed, 30 Jun 2021 05:57:19 -0000</pubDate><guid>https://sourceforge.net/p/xmlunit/discussion/73274/thread/bf57e515/?limit=25#f71b</guid></item><item><title>Jaspreet Singh Ahuja modified a comment on discussion Help</title><link>https://sourceforge.net/p/xmlunit/discussion/73274/thread/bf57e515/?limit=25#a94a</link><description>I have to ignore differences such as Expected text value '1.3440000000000001E1' but was '13.44'. I have multiple such nodes with that kind of difference- so I can't predetermine which node will have that kind of values. I wish I had stakeholders like Hari Rao. :'-( , but that isn't the case and would appreciate some help. &lt;parent&gt; &lt;child1&gt;11.5 &lt;/child1&gt; &lt;child2&gt; 1.3440000000000001E1 &lt;child2&gt; &lt;child3&gt; some string &lt;child3&gt; &lt;/child3&gt;&lt;/child3&gt;&lt;/child2&gt;&lt;/child2&gt;&lt;/parent&gt; V/S &lt;parent&gt; &lt;child1&gt;11.5 &lt;/child1&gt;...</description><dc:creator xmlns:dc="http://purl.org/dc/elements/1.1/">Jaspreet Singh Ahuja</dc:creator><pubDate>Tue, 29 Jun 2021 18:16:59 -0000</pubDate><guid>https://sourceforge.net/p/xmlunit/discussion/73274/thread/bf57e515/?limit=25#a94a</guid></item><item><title>Jaspreet Singh Ahuja posted a comment on discussion Help</title><link>https://sourceforge.net/p/xmlunit/discussion/73274/thread/bf57e515/?limit=25#a94a</link><description>I have to ignore differences such as Expected text value '1.3440000000000001E1' but was '13.44'. I have multiple such nodes with that kind of difference- so I can't predetermine which node will have that kind of values. I wish I had stakeholders like Hari Rao. :'-( , but that isn't the case and would appreciate some help.</description><dc:creator xmlns:dc="http://purl.org/dc/elements/1.1/">Jaspreet Singh Ahuja</dc:creator><pubDate>Tue, 29 Jun 2021 18:14:07 -0000</pubDate><guid>https://sourceforge.net/p/xmlunit/discussion/73274/thread/bf57e515/?limit=25#a94a</guid></item><item><title>Stefan Bodewig posted a comment on discussion Help</title><link>https://sourceforge.net/p/xmlunit/discussion/73274/thread/d0f40e14b9/?limit=25#719d</link><description>so am I</description><dc:creator xmlns:dc="http://purl.org/dc/elements/1.1/">Stefan Bodewig</dc:creator><pubDate>Mon, 22 Feb 2021 19:58:13 -0000</pubDate><guid>https://sourceforge.net/p/xmlunit/discussion/73274/thread/d0f40e14b9/?limit=25#719d</guid></item><item><title>Swapnil Kotwal modified a comment on discussion Help</title><link>https://sourceforge.net/p/xmlunit/discussion/73274/thread/d0f40e14b9/?limit=25#385a</link><description>I'm talking about Map { } inside &lt;entry key="groups_objects"&gt; &lt;value&gt; &lt;List&gt; &lt;Map&gt; &lt;entry key="display" value="Agggrp1"/&gt; &lt;entry key="value" value="S013S71EMLN"/&gt; &lt;/Map&gt; &lt;Map&gt; &lt;entry key="display" value="Agggrp5"/&gt; &lt;entry key="value" value="S013S71GTU6"/&gt; &lt;/Map&gt; &lt;Map&gt; &lt;entry key="display" value="Agggrp7"/&gt; &lt;entry key="value" value="S013S71HVU6"/&gt; &lt;/Map&gt; &lt;/List&gt; &lt;/value&gt; &lt;/entry&gt;</description><dc:creator xmlns:dc="http://purl.org/dc/elements/1.1/">Swapnil Kotwal</dc:creator><pubDate>Mon, 22 Feb 2021 06:01:23 -0000</pubDate><guid>https://sourceforge.net/p/xmlunit/discussion/73274/thread/d0f40e14b9/?limit=25#385a</guid></item><item><title>Swapnil Kotwal posted a comment on discussion Help</title><link>https://sourceforge.net/p/xmlunit/discussion/73274/thread/d0f40e14b9/?limit=25#385a</link><description>I'm talking about Map { } inside ~~~ &lt;entry key="groups_objects"&gt; &lt;value&gt; &lt;list&gt; &lt;entry value="Agggrp1" key="display"&gt; &lt;entry value="S013S71EMLN" key="value"&gt; &lt;/entry&gt;&lt;/entry&gt; &lt;entry value="Agggrp5" key="display"&gt; &lt;entry value="S013S71GTU6" key="value"&gt; &lt;/entry&gt;&lt;/entry&gt; &lt;entry value="Agggrp7" key="display"&gt; &lt;entry value="S013S71HVU6" key="value"&gt; &lt;/entry&gt;&lt;/entry&gt; &lt;/list&gt; &lt;/value&gt; &lt;/entry&gt; ~~~</description><dc:creator xmlns:dc="http://purl.org/dc/elements/1.1/">Swapnil Kotwal</dc:creator><pubDate>Mon, 22 Feb 2021 06:00:59 -0000</pubDate><guid>https://sourceforge.net/p/xmlunit/discussion/73274/thread/d0f40e14b9/?limit=25#385a</guid></item><item><title>Stefan Bodewig posted a comment on discussion Help</title><link>https://sourceforge.net/p/xmlunit/discussion/73274/thread/d0f40e14b9/?limit=25#638b</link><description>You are using ElementSelectors.byNameAndText which means: when looking at lists of elements, compare those which each other that have the same element name and the same nested text. This works fine for elements like &lt;String&gt;S013J6S7STH&lt;/String&gt;. In your second example you want to influence which Map elements XMLUnit compares with each other. The Map elements have no nested text at all, so they all have the same nested text and you compare them in-order. I'm not really sure what identifies the Map...</description><dc:creator xmlns:dc="http://purl.org/dc/elements/1.1/">Stefan Bodewig</dc:creator><pubDate>Sat, 20 Feb 2021 16:05:54 -0000</pubDate><guid>https://sourceforge.net/p/xmlunit/discussion/73274/thread/d0f40e14b9/?limit=25#638b</guid></item><item><title>Swapnil Kotwal modified a comment on discussion Help</title><link>https://sourceforge.net/p/xmlunit/discussion/73274/thread/d0f40e14b9/?limit=25#99bb</link><description>I've used below DiffBuilder using XMLUnit-2 diff = DiffBuilder.compare(control).withTest(test).checkForSimilar() .normalizeWhitespace().ignoreComments() .ignoreWhitespace().ignoreElementContentWhitespace() .withNodeFilter(node -&gt; (filter(node, attrsToIgnore))) .withAttributeFilter(fields -&gt; (filterFields(fields, fieldsToIgnore))) .withNodeMatcher(new DefaultNodeMatcher(ElementSelectors.byNameAndText)).build(); It works well for shuffling the List&lt;&gt; values or random value in List&lt;&gt; as shown below...</description><dc:creator xmlns:dc="http://purl.org/dc/elements/1.1/">Swapnil Kotwal</dc:creator><pubDate>Thu, 18 Feb 2021 12:01:20 -0000</pubDate><guid>https://sourceforge.net/p/xmlunit/discussion/73274/thread/d0f40e14b9/?limit=25#99bb</guid></item><item><title>Swapnil Kotwal modified a comment on discussion Help</title><link>https://sourceforge.net/p/xmlunit/discussion/73274/thread/d0f40e14b9/?limit=25#99bb</link><description>I've used below DiffBuilder using XMLUnit-2 diff = DiffBuilder.compare(control).withTest(test).checkForSimilar() .normalizeWhitespace().ignoreComments() .ignoreWhitespace().ignoreElementContentWhitespace() .withNodeFilter(node -&gt; (filter(node, attrsToIgnore))) .withAttributeFilter(fields -&gt; (filterFields(fields, fieldsToIgnore))) .withNodeMatcher(new DefaultNodeMatcher(ElementSelectors.byNameAndText)).build(); ```` It works well for shuffling the `List&lt;&gt;` values or random value in `List&lt;&gt;` as shown...</description><dc:creator xmlns:dc="http://purl.org/dc/elements/1.1/">Swapnil Kotwal</dc:creator><pubDate>Thu, 18 Feb 2021 12:00:25 -0000</pubDate><guid>https://sourceforge.net/p/xmlunit/discussion/73274/thread/d0f40e14b9/?limit=25#99bb</guid></item><item><title>Swapnil Kotwal posted a comment on discussion Help</title><link>https://sourceforge.net/p/xmlunit/discussion/73274/thread/d0f40e14b9/?limit=25#99bb</link><description>I've used below DiffBuilder using XMLUnit-2 diff = DiffBuilder.compare(control).withTest(test).checkForSimilar() .normalizeWhitespace().ignoreComments() .ignoreWhitespace().ignoreElementContentWhitespace() .withNodeFilter(node -&gt; (filter(node, attrsToIgnore))) .withAttributeFilter(fields -&gt; (filterFields(fields, fieldsToIgnore))) .withNodeMatcher(new DefaultNodeMatcher(ElementSelectors.byNameAndText)).build(); ```` It works well for shuffling the `List&lt;&gt;` values or random value in `List&lt;&gt;` as shown...</description><dc:creator xmlns:dc="http://purl.org/dc/elements/1.1/">Swapnil Kotwal</dc:creator><pubDate>Thu, 18 Feb 2021 11:59:53 -0000</pubDate><guid>https://sourceforge.net/p/xmlunit/discussion/73274/thread/d0f40e14b9/?limit=25#99bb</guid></item><item><title>Stefan Bodewig posted a comment on discussion Open Discussion</title><link>https://sourceforge.net/p/xmlunit/discussion/73273/thread/06bd6a77f3/?limit=25#5d9a</link><description>This release fixes a bug in the new AssertJ 3.x module. CompareAssert inside the AssertJ3 module swapped the expected and actual parameters when creating the assertion error. #210 by @f-lopes</description><dc:creator xmlns:dc="http://purl.org/dc/elements/1.1/">Stefan Bodewig</dc:creator><pubDate>Mon, 21 Dec 2020 09:12:19 -0000</pubDate><guid>https://sourceforge.net/p/xmlunit/discussion/73273/thread/06bd6a77f3/?limit=25#5d9a</guid></item><item><title>Stefan Bodewig created a blog post</title><link>https://sourceforge.net/p/xmlunit/news/2020/12/xmlunit-for-java-282/</link><description>XMLUnit for Java 2.8.2</description><dc:creator xmlns:dc="http://purl.org/dc/elements/1.1/">Stefan Bodewig</dc:creator><pubDate>Mon, 21 Dec 2020 09:11:41 -0000</pubDate><guid>https://sourceforge.net/p/xmlunit/news/2020/12/xmlunit-for-java-282/</guid></item><item><title>Stefan Bodewig created a blog post</title><link>https://sourceforge.net/p/xmlunit/news/2020/11/xmlunit-for-java-281/</link><description>XMLUnit for Java 2.8.1</description><dc:creator xmlns:dc="http://purl.org/dc/elements/1.1/">Stefan Bodewig</dc:creator><pubDate>Sun, 15 Nov 2020 12:11:18 -0000</pubDate><guid>https://sourceforge.net/p/xmlunit/news/2020/11/xmlunit-for-java-281/</guid></item><item><title>Stefan Bodewig posted a comment on discussion Help</title><link>https://sourceforge.net/p/xmlunit/discussion/73274/thread/5de6851242/?limit=25#2517</link><description>XMLUnit 2.8.0 has just been released and allows the TransformerFactory to be set explicitly in DefaultComparisonFormatter.</description><dc:creator xmlns:dc="http://purl.org/dc/elements/1.1/">Stefan Bodewig</dc:creator><pubDate>Fri, 30 Oct 2020 17:04:38 -0000</pubDate><guid>https://sourceforge.net/p/xmlunit/discussion/73274/thread/5de6851242/?limit=25#2517</guid></item><item><title>Stefan Bodewig posted a comment on discussion Open Discussion</title><link>https://sourceforge.net/p/xmlunit/discussion/73273/thread/14e6c624ba/?limit=25#ebc1</link><description>Both releases are mostly bugfix releases. Unfortunately both are going to break backwards compatibility for some people. All modules of XMLUnit for Java now require Java7 as a minimum and the optional JAXB dependency has been updated to use the Jakarta XML Binding API. XMLUnit.NET has made ISource disposable which is going to break custom implementations. Details for XMLUnit for Java 2.8.0 changed optional JAXB dependency to use Jakarta XML Binding API PR #186 by @endrejeges bumped the bytebuddy...</description><dc:creator xmlns:dc="http://purl.org/dc/elements/1.1/">Stefan Bodewig</dc:creator><pubDate>Fri, 30 Oct 2020 17:01:51 -0000</pubDate><guid>https://sourceforge.net/p/xmlunit/discussion/73273/thread/14e6c624ba/?limit=25#ebc1</guid></item><item><title>Stefan Bodewig created a blog post</title><link>https://sourceforge.net/p/xmlunit/news/2020/10/xmlunit-for-java-280-and-xmlunitnet-290-released/</link><description>XMLUnit for Java 2.8.0 and XMLUnit.NET 2.9.0 Released</description><dc:creator xmlns:dc="http://purl.org/dc/elements/1.1/">Stefan Bodewig</dc:creator><pubDate>Fri, 30 Oct 2020 17:00:49 -0000</pubDate><guid>https://sourceforge.net/p/xmlunit/news/2020/10/xmlunit-for-java-280-and-xmlunitnet-290-released/</guid></item><item><title>Stefan Bodewig posted a comment on discussion Help</title><link>https://sourceforge.net/p/xmlunit/discussion/73274/thread/5481136c30/?limit=25#484e/8311</link><description>You don't want to ignore the element at all, you want to ignore certain attributes on them. So AttributeFilter is what you want to use rather than NodeFilter.</description><dc:creator xmlns:dc="http://purl.org/dc/elements/1.1/">Stefan Bodewig</dc:creator><pubDate>Sun, 30 Aug 2020 09:56:17 -0000</pubDate><guid>https://sourceforge.net/p/xmlunit/discussion/73274/thread/5481136c30/?limit=25#484e/8311</guid></item><item><title>Aashay Pilivkar posted a comment on discussion Help</title><link>https://sourceforge.net/p/xmlunit/discussion/73274/thread/5481136c30/?limit=25#484e</link><description>Hi, I am facing the same issue. I am trying to compare actual and expected XML responses using Java. For that I am using DiffBuilder. I want to ignore few date-time attributes from root node while comparing the xmls. However when I pass the with NodeFilter(node -&gt; !node.getNodename(). equals("Nodename") ) it ignores complete xml. Could you please let me know the work around for the issue? Thanks in advance.</description><dc:creator xmlns:dc="http://purl.org/dc/elements/1.1/">Aashay Pilivkar</dc:creator><pubDate>Tue, 25 Aug 2020 17:17:49 -0000</pubDate><guid>https://sourceforge.net/p/xmlunit/discussion/73274/thread/5481136c30/?limit=25#484e</guid></item><item><title>Stefan Bodewig posted a comment on discussion Help</title><link>https://sourceforge.net/p/xmlunit/discussion/73274/thread/5de6851242/?limit=25#6fc6</link><description>I've opened https://github.com/xmlunit/xmlunit/issues/195 and will get to it sometime in the coming weeks. If there is anything else you'd need please open new issues. Thanks Stefan</description><dc:creator xmlns:dc="http://purl.org/dc/elements/1.1/">Stefan Bodewig</dc:creator><pubDate>Wed, 29 Jul 2020 08:22:41 -0000</pubDate><guid>https://sourceforge.net/p/xmlunit/discussion/73274/thread/5de6851242/?limit=25#6fc6</guid></item><item><title>James Murtaugh posted a comment on discussion Help</title><link>https://sourceforge.net/p/xmlunit/discussion/73274/thread/5de6851242/?limit=25#080f/ebf1</link><description>Hi Stefan, I realize that my patch is not a long term solution to the issue I just did that to make sure that was the root cause of the issue. We are using the library to compare two xml files so we would need a mechanism to allow us to specify the transform factory in the DefaultComparisonFormatter. Please let me know how you would like to proceed. Jim From: Stefan Bodewig bodewig@users.sourceforge.net Sent: Tuesday, July 28, 2020 7:41 AM To: [xmlunit:discussion] 73274@discussion.xmlunit.p.re.sourceforge.net...</description><dc:creator xmlns:dc="http://purl.org/dc/elements/1.1/">James Murtaugh</dc:creator><pubDate>Tue, 28 Jul 2020 17:00:45 -0000</pubDate><guid>https://sourceforge.net/p/xmlunit/discussion/73274/thread/5de6851242/?limit=25#080f/ebf1</guid></item><item><title>Stefan Bodewig posted a comment on discussion Help</title><link>https://sourceforge.net/p/xmlunit/discussion/73274/thread/5de6851242/?limit=25#080f</link><description>Hi Jim I don't use OSGi myself and am not intimately familiar with it. I've tried to setup things in a way, that should allow all modules to be used as OSGi bundles, so supporting the environment is a goal. OTOH we do want to support people switching the TransformerFactory using JAXP mechanisms. It is unfortunate this seems to be incompatible with OSGi. Your patch as you describe it, would hard-code Saxon for everybody, which cannot be a goal at all. I think it is possible to pass a TransformerFactory...</description><dc:creator xmlns:dc="http://purl.org/dc/elements/1.1/">Stefan Bodewig</dc:creator><pubDate>Tue, 28 Jul 2020 11:40:37 -0000</pubDate><guid>https://sourceforge.net/p/xmlunit/discussion/73274/thread/5de6851242/?limit=25#080f</guid></item><item><title>James Murtaugh posted a comment on discussion Help</title><link>https://sourceforge.net/p/xmlunit/discussion/73274/thread/5de6851242/?limit=25#28d7</link><description>To whom it may concern, We are attempting to use the xmlunit-core library methods in an OSGi application. At runtime, we ran into a situation where the TransformerFactory class was not being resolved. I have included below an explaination of a modification to the xml unit code that we used to address this issue. We are wondering if there is an existing mechanim to address OSGI loading? If not, is there any interest in developing a feature so that we do not have to maintain a separate library with...</description><dc:creator xmlns:dc="http://purl.org/dc/elements/1.1/">James Murtaugh</dc:creator><pubDate>Tue, 21 Jul 2020 20:47:14 -0000</pubDate><guid>https://sourceforge.net/p/xmlunit/discussion/73274/thread/5de6851242/?limit=25#28d7</guid></item><item><title>Swapnil Kotwal posted a comment on discussion Help</title><link>https://sourceforge.net/p/xmlunit/discussion/73274/thread/5481136c30/?limit=25#5f72/5285</link><description>Thanks you Stefan, this will help :) On Tue, May 12, 2020 at 10:27 PM Stefan Bodewig bodewig@users.sourceforge.net wrote: Sorry I was busy elsewhere and forgot to answer here. Starting out with you ElementSelector that would use byNameAndAttributes("key") for entry - and whatever else is needed, you'd only end up with CHILD_LOOKUP differences for things the server has added and CHILD_NODELIST_LENGTH. The later could be downgraded easily in a DifferenceEvaluator using DifferenceEvaluators.downgradeDifferencesToSimilar....</description><dc:creator xmlns:dc="http://purl.org/dc/elements/1.1/">Swapnil Kotwal</dc:creator><pubDate>Sat, 16 May 2020 05:52:47 -0000</pubDate><guid>https://sourceforge.net/p/xmlunit/discussion/73274/thread/5481136c30/?limit=25#5f72/5285</guid></item><item><title>Stefan Bodewig posted a comment on discussion Help</title><link>https://sourceforge.net/p/xmlunit/discussion/73274/thread/5481136c30/?limit=25#5f72</link><description>Sorry I was busy elsewhere and forgot to answer here. Starting out with you ElementSelector that would use byNameAndAttributes("key") for entry - and whatever else is needed, you'd only end up with CHILD_LOOKUP differences for things the server has added and CHILD_NODELIST_LENGTH. The later could be downgraded easily in a DifferenceEvaluator using DifferenceEvaluators.downgradeDifferencesToSimilar. For the CHILD_LOOKUP you'll have to write a small DifferenceEvaluator yourself which would return EQUAL...</description><dc:creator xmlns:dc="http://purl.org/dc/elements/1.1/">Stefan Bodewig</dc:creator><pubDate>Tue, 12 May 2020 16:57:39 -0000</pubDate><guid>https://sourceforge.net/p/xmlunit/discussion/73274/thread/5481136c30/?limit=25#5f72</guid></item><item><title>Stefan Bodewig posted a comment on discussion Help</title><link>https://sourceforge.net/p/xmlunit/discussion/73274/thread/8e73e5c61f/?limit=25#d55c</link><description>I'm sorry I have overlooked this question so far. For both platforms XMLUnit's validator is just a thin layer on top of the platform's validation engine, so I'm not surprised you see a difference between .NET and Java. You might even see diffenrences between different version of each. It shouldn't be too difficult to add an optional Predicate&lt;ValidationProblem&gt; as a filter one can specify that could be used to suppress certain failures. Could you please open an enhancement request over at github...</description><dc:creator xmlns:dc="http://purl.org/dc/elements/1.1/">Stefan Bodewig</dc:creator><pubDate>Tue, 12 May 2020 16:50:55 -0000</pubDate><guid>https://sourceforge.net/p/xmlunit/discussion/73274/thread/8e73e5c61f/?limit=25#d55c</guid></item><item><title>Stefan Bodewig posted a comment on discussion Open Discussion</title><link>https://sourceforge.net/p/xmlunit/discussion/73273/thread/b087b17b16/?limit=25#ecd1</link><description>These two releases contain an incompatible change to the (I)PlaceholderHandler interface, thus the new minor versions. The Evaluate method now receives a variable number of string arguments in addition to the textual content of the element/attribute. This allows placeholders like ${xmlunit.matchesRegex(some\s*regex)}. For XMLUnit.NET only the placeholders package has changed, for Java in addition the assertj module is now supposed to be compatible with AssertJ 3.15+. Release Notes for XMLUnit for...</description><dc:creator xmlns:dc="http://purl.org/dc/elements/1.1/">Stefan Bodewig</dc:creator><pubDate>Tue, 12 May 2020 16:31:35 -0000</pubDate><guid>https://sourceforge.net/p/xmlunit/discussion/73273/thread/b087b17b16/?limit=25#ecd1</guid></item><item><title>Stefan Bodewig created a blog post</title><link>https://sourceforge.net/p/xmlunit/news/2020/05/xmlunit-for-java-270-and-xmlunitnet-280-released/</link><description>XMLUnit for Java 2.7.0 and XMLUnit.NET 2.8.0 Released</description><dc:creator xmlns:dc="http://purl.org/dc/elements/1.1/">Stefan Bodewig</dc:creator><pubDate>Tue, 12 May 2020 16:30:57 -0000</pubDate><guid>https://sourceforge.net/p/xmlunit/news/2020/05/xmlunit-for-java-270-and-xmlunitnet-280-released/</guid></item><item><title>Wesley Manning posted a comment on discussion Help</title><link>https://sourceforge.net/p/xmlunit/discussion/73274/thread/8e73e5c61f/?limit=25#2a81</link><description>Hi, In a unit test I have: Validator val2 = Validator.ForLanguage(Languages.W3C_XML_SCHEMA_NS_URI); val2.SchemaSource = new StreamSource("SettingsXmlSchema.xsd"); ValidationResult result2 = val2.ValidateInstance(new StreamSource(memStream)); Assert.True(result2.Valid); My schema contains a &lt;xs:anyattribute namespace="##any" processcontents="lax"&gt; element as the xml document can have extra attributes that I don't control and so don't want to check against in my schema. But XMLUnit ValidationResult"Valid"...</description><dc:creator xmlns:dc="http://purl.org/dc/elements/1.1/">Wesley Manning</dc:creator><pubDate>Wed, 22 Apr 2020 13:45:12 -0000</pubDate><guid>https://sourceforge.net/p/xmlunit/discussion/73274/thread/8e73e5c61f/?limit=25#2a81</guid></item><item><title>Swapnil Kotwal posted a comment on discussion Help</title><link>https://sourceforge.net/p/xmlunit/discussion/73274/thread/5481136c30/?limit=25#5088</link><description>Thanks Stefan, Assume, I have localTestXML as &lt;?xml version='1.0' encoding='UTF-8'?&gt; &lt;!DOCTYPE ResourceObject PUBLIC "my_corp.dtd" "my_corp.dtd"&gt; &lt;ResourceObject displayName="TESTNGAD\AggUserFSP test" identity="FooBar" objectType="account" uuid="{97182a65-61f2-443c-b0fa-477d0821d8c4}"&gt; &lt;Attributes&gt; &lt;/entry&gt; &lt;entry key="homePhone" value="6555"/&gt; &lt;entry key="l" value="Pune"/&gt; &lt;entry key="memberOf"&gt; &lt;/Map&gt; &lt;/Attributes&gt; &lt;/ResourceObject&gt; But, server Response can keep on increasing. It might add newer...</description><dc:creator xmlns:dc="http://purl.org/dc/elements/1.1/">Swapnil Kotwal</dc:creator><pubDate>Mon, 20 Apr 2020 07:26:20 -0000</pubDate><guid>https://sourceforge.net/p/xmlunit/discussion/73274/thread/5481136c30/?limit=25#5088</guid></item><item><title>Stefan Bodewig posted a comment on discussion Help</title><link>https://sourceforge.net/p/xmlunit/discussion/73274/thread/5481136c30/?limit=25#5724</link><description>I'm sorry if I seem to be a bit slow on this but I believe I still don't undertstand what you actually mean by partial XML data validation. This is waht I'm guessing: You've got a document that describes your tests as a sparse XML document. You are not interested in parts of the server response that are not part of the sparse tree in your document. To achive this, you will need a NodeFilter and may need to combine it with something loke an ElementSelector to figure out which parts of the tree to...</description><dc:creator xmlns:dc="http://purl.org/dc/elements/1.1/">Stefan Bodewig</dc:creator><pubDate>Mon, 20 Apr 2020 06:36:12 -0000</pubDate><guid>https://sourceforge.net/p/xmlunit/discussion/73274/thread/5481136c30/?limit=25#5724</guid></item><item><title>Swapnil Kotwal modified a comment on discussion Help</title><link>https://sourceforge.net/p/xmlunit/discussion/73274/thread/5481136c30/?limit=25#fe8c</link><description>I already have implemented it using CSV but my data is complex so I turned to XMLUnit library. My server can returns data of 100s of Users/Groups etc and I've to validate some of them. Considering above given XML, I can specify data into CSV as below identity,accountFlags,homePhone "FooBar",(Not_to_Validate),6555 "FooBar1",["list data1","list data2"],6555 Here , you can notice, in first row of CSV 1. I mentioned only very few partials entrys to validate and also ignored (filtered out) accountFlags=(Not_to_Validate)....</description><dc:creator xmlns:dc="http://purl.org/dc/elements/1.1/">Swapnil Kotwal</dc:creator><pubDate>Wed, 15 Apr 2020 13:43:15 -0000</pubDate><guid>https://sourceforge.net/p/xmlunit/discussion/73274/thread/5481136c30/?limit=25#fe8c</guid></item><item><title>Swapnil Kotwal posted a comment on discussion Help</title><link>https://sourceforge.net/p/xmlunit/discussion/73274/thread/5481136c30/?limit=25#fe8c</link><description>I already have implemented it using CSV but my data is complex so I turned to XMLUnit library. My server can returns data of 100s of Users/Groups etc and I've to validate some of them. Considering above given XML, I can specify data into CSV as below identity,accountFlags,homePhone "FooBar",(Not_to_Validate),6555 "FooBar1",["list data1","list data2"],6555 Here , you can notice, in first row of CSV 1. I mentioned only very few partials entrys to validate and also ignored (filtered out) accountFlags=(Not_to_Validate)....</description><dc:creator xmlns:dc="http://purl.org/dc/elements/1.1/">Swapnil Kotwal</dc:creator><pubDate>Wed, 15 Apr 2020 13:40:34 -0000</pubDate><guid>https://sourceforge.net/p/xmlunit/discussion/73274/thread/5481136c30/?limit=25#fe8c</guid></item><item><title>Swapnil Kotwal modified a comment on discussion Help</title><link>https://sourceforge.net/p/xmlunit/discussion/73274/thread/5481136c30/?limit=25#0ecf</link><description>My XML is little complex and I've to ignore certain entry from the comparison, how would I able to achieve it ? &lt;?xml version='1.0' encoding='UTF-8'?&gt; &lt;!DOCTYPE ResourceObject PUBLIC "my_corp.dtd" "my_corp.dtd"&gt; &lt;ResourceObject displayName="TESTNGAD\AggUserFSP test" identity="FooBar" objectType="account" uuid="{97182a65-61f2-443c-b0fa-477d0821d8c4}"&gt; &lt;Attributes&gt; &lt;Map&gt; &lt;entry key="accountFlags"&gt; &lt;value&gt; &lt;List&gt; &lt;String&gt;Normal User Account&lt;/String&gt; &lt;String&gt;Password Cannot Expire&lt;/String&gt; &lt;/List&gt; &lt;/value&gt;...</description><dc:creator xmlns:dc="http://purl.org/dc/elements/1.1/">Swapnil Kotwal</dc:creator><pubDate>Wed, 15 Apr 2020 13:37:04 -0000</pubDate><guid>https://sourceforge.net/p/xmlunit/discussion/73274/thread/5481136c30/?limit=25#0ecf</guid></item><item><title>Stefan Bodewig posted a comment on discussion Help</title><link>https://sourceforge.net/p/xmlunit/discussion/73274/thread/5481136c30/?limit=25#0556/1af2</link><description>I'm afraid this is something that is easier to do for humans than to implement in code. When you look at the serverResponseXML how do you know which parts you want to compare and which are not necessary? Is it as simple as "any element that's not in localTestXML is irrelevant" or could this hide errors of extra elements suddenly appearing in unexpected places?</description><dc:creator xmlns:dc="http://purl.org/dc/elements/1.1/">Stefan Bodewig</dc:creator><pubDate>Wed, 15 Apr 2020 12:56:19 -0000</pubDate><guid>https://sourceforge.net/p/xmlunit/discussion/73274/thread/5481136c30/?limit=25#0556/1af2</guid></item><item><title>Swapnil Kotwal posted a comment on discussion Help</title><link>https://sourceforge.net/p/xmlunit/discussion/73274/thread/5481136c30/?limit=25#0556</link><description>Thanks Stefan for the response. Sorry, I'm just putting baby steps and messed up certain things. From serverResponseXML I might have some entrys I want to ignore during comparison and I might specify partial localTestXML which not necessarily should have all entrys from serverResponseXML (i.e. I want to validate with partial local XML(It can be partial XML or as complete as serverResponseXML) with some additional filters) What would be best way to achive it?</description><dc:creator xmlns:dc="http://purl.org/dc/elements/1.1/">Swapnil Kotwal</dc:creator><pubDate>Wed, 15 Apr 2020 10:53:10 -0000</pubDate><guid>https://sourceforge.net/p/xmlunit/discussion/73274/thread/5481136c30/?limit=25#0556</guid></item><item><title>Stefan Bodewig posted a comment on discussion Help</title><link>https://sourceforge.net/p/xmlunit/discussion/73274/thread/5481136c30/?limit=25#3887</link><description>assuming https://sourceforge.net/p/xmlunit/discussion/73274/thread/b01a104e75/#6e65 was meant to go here: You really need to answer to yourself what it is that makes you know which entrys to compare to each other. Don't thnk in terms of XPaths, think in terms of your logical data model. And once you've understood what is important in your data model, then - and only then - start thinking about how this translates to XML structure. It is not unlikely that implementing a NodeFilter or ElementSelector...</description><dc:creator xmlns:dc="http://purl.org/dc/elements/1.1/">Stefan Bodewig</dc:creator><pubDate>Mon, 13 Apr 2020 17:15:13 -0000</pubDate><guid>https://sourceforge.net/p/xmlunit/discussion/73274/thread/5481136c30/?limit=25#3887</guid></item><item><title>Stefan Bodewig posted a comment on discussion Help</title><link>https://sourceforge.net/p/xmlunit/discussion/73274/thread/b01a104e75/?limit=25#7a42</link><description>maybe your question was supposed to be added to https://sourceforge.net/p/xmlunit/discussion/73274/thread/5481136c30/ instead?</description><dc:creator xmlns:dc="http://purl.org/dc/elements/1.1/">Stefan Bodewig</dc:creator><pubDate>Mon, 13 Apr 2020 17:09:16 -0000</pubDate><guid>https://sourceforge.net/p/xmlunit/discussion/73274/thread/b01a104e75/?limit=25#7a42</guid></item><item><title>Stefan Bodewig posted a comment on discussion Help</title><link>https://sourceforge.net/p/xmlunit/discussion/73274/thread/b01a104e75/?limit=25#3c6b</link><description>I don't know the XML you are trying to comapre. The difference you mention says there are different numbers of elements nested in Map between control and test. I have no idea how this relates to XPath. Most probably I'm missing some context that you have :-)</description><dc:creator xmlns:dc="http://purl.org/dc/elements/1.1/">Stefan Bodewig</dc:creator><pubDate>Mon, 13 Apr 2020 17:06:50 -0000</pubDate><guid>https://sourceforge.net/p/xmlunit/discussion/73274/thread/b01a104e75/?limit=25#3c6b</guid></item><item><title>Stefan Bodewig posted a comment on discussion Help</title><link>https://sourceforge.net/p/xmlunit/discussion/73274/thread/ebe97de1fb/?limit=25#c56c</link><description>checkForSimilar and checkForIdentical are mutually exclusive and the las one you set wins. Unless you you provide a DifferenceEvaluator that downgrades node order differences to IDENTICAL you will never get better than SIMILAR with swapped nodes. So if you are really aiming for an identical result you will need to override the DifferenceEvaluator in use as well. The ElementSelector's job is to make XMLUnit match the nodes with each other that you consider to be "the same nodes", it does not make...</description><dc:creator xmlns:dc="http://purl.org/dc/elements/1.1/">Stefan Bodewig</dc:creator><pubDate>Mon, 13 Apr 2020 17:03:39 -0000</pubDate><guid>https://sourceforge.net/p/xmlunit/discussion/73274/thread/ebe97de1fb/?limit=25#c56c</guid></item><item><title>Swapnil Kotwal posted a comment on discussion Help</title><link>https://sourceforge.net/p/xmlunit/discussion/73274/thread/b01a104e75/?limit=25#6e65</link><description>Thanks Stefan, This worked as expected but still I'm getting error as Expected child nodelist length '22' but was '21' - comparing &lt;Map...&gt; at /ResourceObject[1]/Attributes[1]/Map[1] to &lt;Map...&gt; at /ResourceObject[1]/Attributes[1]/Map[1] [java] Expected child 'entry' but was 'null' - comparing &lt;entry...&gt; at /ResourceObject[1]/Attributes[1]/Map[1]/entry[23] to &lt;NULL&gt;} For , diff = DiffBuilder .compare(control) .withTest(test) .checkForSimilar().checkForIdentical() .normalizeWhitespace() .ignoreComments()...</description><dc:creator xmlns:dc="http://purl.org/dc/elements/1.1/">Swapnil Kotwal</dc:creator><pubDate>Mon, 13 Apr 2020 13:40:56 -0000</pubDate><guid>https://sourceforge.net/p/xmlunit/discussion/73274/thread/b01a104e75/?limit=25#6e65</guid></item><item><title>Swapnil Kotwal posted a comment on discussion Help</title><link>https://sourceforge.net/p/xmlunit/discussion/73274/thread/ebe97de1fb/?limit=25#f6fe</link><description>I've a XML as below &lt;?xml version='1.0' encoding='UTF-8'?&gt; &lt;!DOCTYPE ResourceObject PUBLIC "my_corp.dtd" "my_corp.dtd"&gt; &lt;ResourceObject displayName="TESTNGAD\AggUserFSP test" identity="CN=AggUserFSP test,OU=FSPAggeFrame,OU=unittests,DC=TestNGAD,DC=local" objectType="account" uuid="{97182a65-61f2-443c-b0fa-477d0821d8c4}"&gt; &lt;Attributes&gt; &lt;Map&gt; &lt;entry key="accountFlags"&gt; &lt;value&gt; &lt;List&gt; &lt;String&gt;Normal User Account&lt;/String&gt; &lt;String&gt;Password Cannot Expire&lt;/String&gt; &lt;/List&gt; &lt;/value&gt; &lt;/entry&gt; &lt;entry key="homePhone"...</description><dc:creator xmlns:dc="http://purl.org/dc/elements/1.1/">Swapnil Kotwal</dc:creator><pubDate>Mon, 13 Apr 2020 11:02:51 -0000</pubDate><guid>https://sourceforge.net/p/xmlunit/discussion/73274/thread/ebe97de1fb/?limit=25#f6fe</guid></item><item><title>Swapnil Kotwal modified a comment on discussion Help</title><link>https://sourceforge.net/p/xmlunit/discussion/73274/thread/5481136c30/?limit=25#0ecf</link><description>My XML is little complex and I've to ignore certain entry from the comparison, how would I able to achieve it ? &lt;?xml version='1.0' encoding='UTF-8'?&gt; &lt;!DOCTYPE ResourceObject PUBLIC "my_corp.dtd" "my_corp.dtd"&gt; &lt;ResourceObject displayName="TESTNGAD\AggUserFSP test" identity="CN=AggUserFSP test,OU=FSPAggeFrame,OU=unittests,DC=TestNGAD,DC=local" objectType="account" uuid="{97182a65-61f2-443c-b0fa-477d0821d8c4}"&gt; &lt;Attributes&gt; &lt;Map&gt; &lt;entry key="accountFlags"&gt; &lt;value&gt; &lt;List&gt; &lt;String&gt;Normal User Account&lt;/String&gt;...</description><dc:creator xmlns:dc="http://purl.org/dc/elements/1.1/">Swapnil Kotwal</dc:creator><pubDate>Sat, 11 Apr 2020 10:04:29 -0000</pubDate><guid>https://sourceforge.net/p/xmlunit/discussion/73274/thread/5481136c30/?limit=25#0ecf</guid></item><item><title>Swapnil Kotwal posted a comment on discussion Help</title><link>https://sourceforge.net/p/xmlunit/discussion/73274/thread/5481136c30/?limit=25#d0fd/ef13</link><description>Thank you for the clarification Stefan On Sat, 11 Apr, 2020, 2:17 PM Stefan Bodewig, bodewig@users.sourceforge.net wrote: Neither accountFlags nor homePhone are element names, so your filter will not match anything. Your NodeFilter must return true unless all of the following conditions are met node is actually an Element node has an attribute named "key" the value of this attribute is either accountFralgs or homePhone private boolean filter(final Node n) { if (n instanceof Element) { final String...</description><dc:creator xmlns:dc="http://purl.org/dc/elements/1.1/">Swapnil Kotwal</dc:creator><pubDate>Sat, 11 Apr 2020 09:48:19 -0000</pubDate><guid>https://sourceforge.net/p/xmlunit/discussion/73274/thread/5481136c30/?limit=25#d0fd/ef13</guid></item><item><title>Swapnil Kotwal posted a comment on discussion Help</title><link>https://sourceforge.net/p/xmlunit/discussion/73274/thread/b01a104e75/?limit=25#4e1a/ab00</link><description>Thanks 😊, it makes sense. On Sat, 11 Apr, 2020, 2:07 PM Stefan Bodewig, bodewig@users.sourceforge.net wrote: Well, you do know the elements you are interested in, so you could easily do final Collection&lt;string&gt; expected = Arrays.asList("root", "elementA", elementB", "elementC"); ... .withNodeFilter(n -&gt; expected.contains(n.getNodeName()))&lt;/string&gt; XMLUnit-2 compare partial XMLs https://sourceforge.net/p/xmlunit/discussion/73274/thread/b01a104e75/?limit=25#4e1a Sent from sourceforge.net because you...</description><dc:creator xmlns:dc="http://purl.org/dc/elements/1.1/">Swapnil Kotwal</dc:creator><pubDate>Sat, 11 Apr 2020 09:12:05 -0000</pubDate><guid>https://sourceforge.net/p/xmlunit/discussion/73274/thread/b01a104e75/?limit=25#4e1a/ab00</guid></item><item><title>Stefan Bodewig posted a comment on discussion Help</title><link>https://sourceforge.net/p/xmlunit/discussion/73274/thread/5481136c30/?limit=25#d0fd</link><description>Neither accountFlags nor homePhone are element names, so your filter will not match anything. Your NodeFilter must return true unless all of the following conditions are met node is actually an Element node has an attribute named "key" the value of this attribute is either accountFralgs or homePhone private boolean filter(final Node n) { if (n instanceof Element) { final String attrValue = ((Element) n).getAttibute("key"); // attrValue is th eempty string if the attribute is missing return !("accountFlags".equals(attrValue)...</description><dc:creator xmlns:dc="http://purl.org/dc/elements/1.1/">Stefan Bodewig</dc:creator><pubDate>Sat, 11 Apr 2020 08:47:50 -0000</pubDate><guid>https://sourceforge.net/p/xmlunit/discussion/73274/thread/5481136c30/?limit=25#d0fd</guid></item><item><title>David Alexis Vargas Álvarez posted a comment on discussion Help</title><link>https://sourceforge.net/p/xmlunit/discussion/73274/thread/44fcc8eaa6/?limit=25#d460</link><description>Thanks for all the help provided! I finally decided to use the "separate comparisons" approach, here's a short example of what I've done, hopefully this helps someone in the future: private static readonly ComparisonType[] ExcludedComparisons = new ComparisonType[] { ComparisonType.CHILD_NODELIST_LENGTH }; private static readonly DifferenceEvaluator DiffEvaluator = DifferenceEvaluators.DowngradeDifferencesToEqual(ExcludedComparisons); public bool CompareNodesByXPath(params string[] nodeXPaths) {...</description><dc:creator xmlns:dc="http://purl.org/dc/elements/1.1/">David Alexis Vargas Álvarez</dc:creator><pubDate>Sat, 11 Apr 2020 08:37:47 -0000</pubDate><guid>https://sourceforge.net/p/xmlunit/discussion/73274/thread/44fcc8eaa6/?limit=25#d460</guid></item><item><title>Stefan Bodewig posted a comment on discussion Help</title><link>https://sourceforge.net/p/xmlunit/discussion/73274/thread/b01a104e75/?limit=25#4e1a</link><description>Well, you do know the elements you are interested in, so you could easily do final Collection&lt;String&gt; expected = Arrays.asList("root", "elementA", elementB", "elementC"); ... .withNodeFilter(n -&gt; expected.contains(n.getNodeName()))</description><dc:creator xmlns:dc="http://purl.org/dc/elements/1.1/">Stefan Bodewig</dc:creator><pubDate>Sat, 11 Apr 2020 08:37:23 -0000</pubDate><guid>https://sourceforge.net/p/xmlunit/discussion/73274/thread/b01a104e75/?limit=25#4e1a</guid></item><item><title>Swapnil Kotwal posted a comment on discussion Help</title><link>https://sourceforge.net/p/xmlunit/discussion/73274/thread/5481136c30/?limit=25#0ecf</link><description>My XML is little complex and I've to ignore certain entry from the comparison, how would I able to achieve it ? &lt;?xml version='1.0' encoding='UTF-8'?&gt; &lt;!DOCTYPE ResourceObject PUBLIC "sailpoint.dtd" "sailpoint.dtd"&gt; &lt;ResourceObject displayName="TESTNGAD\AggUserFSP test" identity="CN=AggUserFSP test,OU=FSPAggeFrame,OU=unittests,DC=TestNGAD,DC=local" objectType="account" uuid="{97182a65-61f2-443c-b0fa-477d0821d8c4}"&gt; &lt;Attributes&gt; &lt;Map&gt; &lt;entry key="accountFlags"&gt; &lt;value&gt; &lt;List&gt; &lt;String&gt;Normal User Account&lt;/String&gt;...</description><dc:creator xmlns:dc="http://purl.org/dc/elements/1.1/">Swapnil Kotwal</dc:creator><pubDate>Fri, 10 Apr 2020 12:01:09 -0000</pubDate><guid>https://sourceforge.net/p/xmlunit/discussion/73274/thread/5481136c30/?limit=25#0ecf</guid></item><item><title>Swapnil Kotwal posted a comment on discussion Help</title><link>https://sourceforge.net/p/xmlunit/discussion/73274/thread/b01a104e75/?limit=25#c55b</link><description>I have a local test XML data as below testLocalXML &lt;root&gt; &lt;elementA&gt;something different&lt;/elementA&gt; &lt;elementB&gt;something else&lt;/elementB&gt; &lt;elementC&gt;yet another thing&lt;/elementC&gt; &lt;/root&gt; but the data I'm getting from server could be large and will keep dynamically increasing e.g. Server Response &lt;root&gt; &lt;elementA&gt;something different&lt;/elementA&gt; &lt;elementB&gt;something else&lt;/elementB&gt; &lt;elementC&gt;yet another thing&lt;/elementC&gt; &lt;elementD&gt;next data&lt;/elementD&gt; &lt;elementE&gt;another data&lt;/elementE&gt; &lt;elementF&gt;F data&lt;/elementF&gt;...</description><dc:creator xmlns:dc="http://purl.org/dc/elements/1.1/">Swapnil Kotwal</dc:creator><pubDate>Fri, 10 Apr 2020 11:59:11 -0000</pubDate><guid>https://sourceforge.net/p/xmlunit/discussion/73274/thread/b01a104e75/?limit=25#c55b</guid></item><item><title>Stefan Bodewig posted a comment on discussion Open Discussion</title><link>https://sourceforge.net/p/xmlunit/discussion/73273/thread/9ffe3063bc/?limit=25#76e4</link><description>Both releases fix a common bug where the XPath reported for missing nodes could be wrong in certain edge cases. the XPath values for comparisons resulting in CHILD_LOOKUP differences could be wrong when NodeFilters were present. XMLUnit.NET Issue #29 This is the only change in XMLUnit.NET. In XMLUnit for Java the AssertJ module has also been improved and is supposed to be compatible with AssertJ 3.13+ now. The full list of changes for XMLUnit for Java: the dependencies on JAXB implementation and...</description><dc:creator xmlns:dc="http://purl.org/dc/elements/1.1/">Stefan Bodewig</dc:creator><pubDate>Sun, 08 Mar 2020 14:25:14 -0000</pubDate><guid>https://sourceforge.net/p/xmlunit/discussion/73273/thread/9ffe3063bc/?limit=25#76e4</guid></item><item><title>Stefan Bodewig created a blog post</title><link>https://sourceforge.net/p/xmlunit/news/2020/03/xmlunit-for-java-264-and-xmlunitnet-272-released/</link><description>XMLUnit for Java 2.6.4 and XMLUnit.NET 2.7.2 Released</description><dc:creator xmlns:dc="http://purl.org/dc/elements/1.1/">Stefan Bodewig</dc:creator><pubDate>Sun, 08 Mar 2020 14:24:11 -0000</pubDate><guid>https://sourceforge.net/p/xmlunit/news/2020/03/xmlunit-for-java-264-and-xmlunitnet-272-released/</guid></item><item><title>Stefan Bodewig posted a comment on discussion Help</title><link>https://sourceforge.net/p/xmlunit/discussion/73274/thread/b5991362d1/?limit=25#5e74</link><description>For your second problem there is no built-in solution in XMLUnit. For XMLUnit attribute values are strings and as such your attributes are clearly different. But XMLUnit offers an extension point, you can provide your own custom DifferenceEvaluator that would alter the outcome of ATTR_VALUE differences if they looked like numbers. The example in https://github.com/xmlunit/user-guide/wiki/DifferenceEvaluator shows how to react only to differences on attributes. The best way to use your own DifferenceEvaluator...</description><dc:creator xmlns:dc="http://purl.org/dc/elements/1.1/">Stefan Bodewig</dc:creator><pubDate>Mon, 03 Feb 2020 06:39:49 -0000</pubDate><guid>https://sourceforge.net/p/xmlunit/discussion/73274/thread/b5991362d1/?limit=25#5e74</guid></item><item><title>Reddy posted a comment on discussion Help</title><link>https://sourceforge.net/p/xmlunit/discussion/73274/thread/b5991362d1/?limit=25#d3d0</link><description>Found solution for first part of the above question diff = DiffBuilder.compare(testxml) .withTest(resxml) .withNodeMatcher(new DefaultNodeMatcher(ElementSelectors.conditionalBuilder().whenElementIsNamed("ShiftAttribute").thenUse(ElementSelectors.byNameAndAttributes("ShiftAttributeCode")).elseUse(ElementSelectors.byName).build())) .build();</description><dc:creator xmlns:dc="http://purl.org/dc/elements/1.1/">Reddy</dc:creator><pubDate>Fri, 31 Jan 2020 13:19:40 -0000</pubDate><guid>https://sourceforge.net/p/xmlunit/discussion/73274/thread/b5991362d1/?limit=25#d3d0</guid></item><item><title>Reddy modified a comment on discussion Help</title><link>https://sourceforge.net/p/xmlunit/discussion/73274/thread/b5991362d1/?limit=25#2cbc</link><description>How to ignore below element order in XMLUnit2, I find something in XMLUnit1, but trying to do in XMLunit2, please let me know if any one have any idea &lt;shiftattribute shiftattributecode="41"&gt; &lt;shiftattribute shiftattributecode="17"&gt; VS &lt;shiftattribute shiftattributecode="17"&gt; &lt;shiftattribute shiftattributecode="41"&gt;&lt;/shiftattribute&gt;&lt;/shiftattribute&gt;&lt;/shiftattribute&gt;&lt;/shiftattribute&gt; Also, please help me ignoring below differences &lt;priceinfo amount="19999.00" "="" netamount="19999.00" discounttypes="3"...</description><dc:creator xmlns:dc="http://purl.org/dc/elements/1.1/">Reddy</dc:creator><pubDate>Thu, 30 Jan 2020 22:22:34 -0000</pubDate><guid>https://sourceforge.net/p/xmlunit/discussion/73274/thread/b5991362d1/?limit=25#2cbc</guid></item><item><title>Reddy modified a comment on discussion Help</title><link>https://sourceforge.net/p/xmlunit/discussion/73274/thread/b5991362d1/?limit=25#2cbc</link><description>How to ignore below element order in XMLUnit2, I find something in XMLUnit1, but trying to do in XMLunit2, please let me know if any one have any idea &lt;shiftattribute shiftattributecode="41"&gt; &lt;shiftattribute shiftattributecode="17"&gt; VS &lt;shiftattribute shiftattributecode="17"&gt; &lt;shiftattribute shiftattributecode="41"&gt;&lt;/shiftattribute&gt;&lt;/shiftattribute&gt;&lt;/shiftattribute&gt;&lt;/shiftattribute&gt; Also, please help me ignoring below differences &lt;priceinfo amount="19999.00" "="" netamount="19999.00" discounttypes="3"...</description><dc:creator xmlns:dc="http://purl.org/dc/elements/1.1/">Reddy</dc:creator><pubDate>Thu, 30 Jan 2020 22:22:10 -0000</pubDate><guid>https://sourceforge.net/p/xmlunit/discussion/73274/thread/b5991362d1/?limit=25#2cbc</guid></item><item><title>Reddy modified a comment on discussion Help</title><link>https://sourceforge.net/p/xmlunit/discussion/73274/thread/b5991362d1/?limit=25#2cbc</link><description>How to ignore below element order in XMLUnit2, I find something in XMLUnit1, but trying to do in XMLunit2, please let me know if any one have any idea &lt;shiftattribute shiftattributecode="41"&gt; &lt;shiftattribute shiftattributecode="17"&gt; vs &lt;shiftattribute shiftattributecode="17"&gt; &lt;shiftattribute shiftattributecode="41"&gt;&lt;/shiftattribute&gt;&lt;/shiftattribute&gt;&lt;/shiftattribute&gt;&lt;/shiftattribute&gt; Also, please help me ignoring below differences &lt;priceinfo amount="19999.00" "="" netamount="19999.00" discounttypes="3"...</description><dc:creator xmlns:dc="http://purl.org/dc/elements/1.1/">Reddy</dc:creator><pubDate>Thu, 30 Jan 2020 22:20:08 -0000</pubDate><guid>https://sourceforge.net/p/xmlunit/discussion/73274/thread/b5991362d1/?limit=25#2cbc</guid></item><item><title>Reddy modified a comment on discussion Help</title><link>https://sourceforge.net/p/xmlunit/discussion/73274/thread/b5991362d1/?limit=25#2cbc</link><description>How to ignore below element order in XMLUnit2, I find something in XMLUnit1, but trying to do in XMLunit2, please let me know if any one have any idea &lt;shiftattribute shiftattributecode="41"&gt; &lt;shiftattribute shiftattributecode="17"&gt; vs &lt;shiftattribute shiftattributecode="17"&gt; &lt;shiftattribute shiftattributecode="41"&gt;&lt;/shiftattribute&gt;&lt;/shiftattribute&gt;&lt;/shiftattribute&gt;&lt;/shiftattribute&gt; Also, please help me ignoring below differnce &lt;priceinfo amount="19999.00" "="" netamount="19999.00" discounttypes="3"...</description><dc:creator xmlns:dc="http://purl.org/dc/elements/1.1/">Reddy</dc:creator><pubDate>Thu, 30 Jan 2020 22:19:36 -0000</pubDate><guid>https://sourceforge.net/p/xmlunit/discussion/73274/thread/b5991362d1/?limit=25#2cbc</guid></item><item><title>Reddy modified a comment on discussion Help</title><link>https://sourceforge.net/p/xmlunit/discussion/73274/thread/b5991362d1/?limit=25#2cbc</link><description>How to ignore below element order in XMLUnit2, I find something in XMLUnit1, but trying to do in XMLunit2, please let me know if any one have any idea &lt;shiftattribute shiftattributecode="41"&gt; &lt;shiftattribute shiftattributecode="17"&gt; vs &lt;shiftattribute shiftattributecode="17"&gt; &lt;shiftattribute shiftattributecode="41"&gt;&lt;/shiftattribute&gt;&lt;/shiftattribute&gt;&lt;/shiftattribute&gt;&lt;/shiftattribute&gt; Also, please help me ignoring below differnce &lt;priceinfo amount="19999.00" "="" netamount="19999.00" discounttypes="3"...</description><dc:creator xmlns:dc="http://purl.org/dc/elements/1.1/">Reddy</dc:creator><pubDate>Thu, 30 Jan 2020 22:19:34 -0000</pubDate><guid>https://sourceforge.net/p/xmlunit/discussion/73274/thread/b5991362d1/?limit=25#2cbc</guid></item><item><title>Reddy modified a comment on discussion Help</title><link>https://sourceforge.net/p/xmlunit/discussion/73274/thread/b5991362d1/?limit=25#2cbc</link><description>How to ignore below element order in XMLUnit2, I find something in XMLUnit1, but trying to do in XMLunit2, please let me know if any one have any idea &lt;shiftattribute shiftattributecode="41"&gt; &lt;shiftattribute shiftattributecode="17"&gt; vs &lt;shiftattribute shiftattributecode="17"&gt; &lt;shiftattribute shiftattributecode="41"&gt;&lt;/shiftattribute&gt;&lt;/shiftattribute&gt;&lt;/shiftattribute&gt;&lt;/shiftattribute&gt; Also, please help me ignoring below differnce &lt;PriceInfo " Amount="19999.00" DiscountTypes="3" AMZAmount="225.00" NetAmount="19999.00"/&gt;...</description><dc:creator xmlns:dc="http://purl.org/dc/elements/1.1/">Reddy</dc:creator><pubDate>Thu, 30 Jan 2020 22:18:40 -0000</pubDate><guid>https://sourceforge.net/p/xmlunit/discussion/73274/thread/b5991362d1/?limit=25#2cbc</guid></item><item><title>Reddy modified a comment on discussion Help</title><link>https://sourceforge.net/p/xmlunit/discussion/73274/thread/b5991362d1/?limit=25#2cbc</link><description>How to ignore below element order in XMLUnit2, I find something in XMLUnit1, but trying to do in XMLunit2, please let me know if any one have any idea &lt;shiftattribute shiftattributecode="41"&gt; &lt;shiftattribute shiftattributecode="17"&gt; vs &lt;shiftattribute shiftattributecode="17"&gt; &lt;shiftattribute shiftattributecode="41"&gt;&lt;/shiftattribute&gt;&lt;/shiftattribute&gt;&lt;/shiftattribute&gt;&lt;/shiftattribute&gt; Also, please help me ignoring below differnce &lt;PriceInfo " Amount="19999.00" DiscountTypes="3" AMZAmount="225.00" NetAmount="19999.00"/&gt;...</description><dc:creator xmlns:dc="http://purl.org/dc/elements/1.1/">Reddy</dc:creator><pubDate>Thu, 30 Jan 2020 22:18:15 -0000</pubDate><guid>https://sourceforge.net/p/xmlunit/discussion/73274/thread/b5991362d1/?limit=25#2cbc</guid></item><item><title>Reddy modified a comment on discussion Help</title><link>https://sourceforge.net/p/xmlunit/discussion/73274/thread/b5991362d1/?limit=25#2cbc</link><description>How to ignore below element order in XMLUnit2, I find something in XMLUnit1, but trying to do in XMLunit2, please let me know if any one have any idea &lt;shiftattribute shiftattributecode="41"&gt; &lt;shiftattribute shiftattributecode="17"&gt; vs &lt;shiftattribute shiftattributecode="17"&gt; &lt;shiftattribute shiftattributecode="41"&gt;&lt;/shiftattribute&gt;&lt;/shiftattribute&gt;&lt;/shiftattribute&gt;&lt;/shiftattribute&gt; Also, please help me in ignoring below differnce &lt;PriceInfo " Amount="19999.00" DiscountTypes="3" AMZAmount="225.00"...</description><dc:creator xmlns:dc="http://purl.org/dc/elements/1.1/">Reddy</dc:creator><pubDate>Thu, 30 Jan 2020 22:18:00 -0000</pubDate><guid>https://sourceforge.net/p/xmlunit/discussion/73274/thread/b5991362d1/?limit=25#2cbc</guid></item><item><title>Reddy modified a comment on discussion Help</title><link>https://sourceforge.net/p/xmlunit/discussion/73274/thread/b5991362d1/?limit=25#2cbc</link><description>How to ignore below element order in XMLUnit2, I find something in XMLUnit1, but trying to do in XMLunit2, please let me know if any one have any idea &lt;shiftattribute shiftattributecode="41"&gt; &lt;shiftattribute shiftattributecode="17"&gt; vs &lt;shiftattribute shiftattributecode="17"&gt; &lt;shiftattribute shiftattributecode="41"&gt;&lt;/shiftattribute&gt;&lt;/shiftattribute&gt;&lt;/shiftattribute&gt;&lt;/shiftattribute&gt; Also, please help me for skip/ignore below differnce &lt;PriceInfo " Amount="19999.00" DiscountTypes="3" AMZAmount="225.00"...</description><dc:creator xmlns:dc="http://purl.org/dc/elements/1.1/">Reddy</dc:creator><pubDate>Thu, 30 Jan 2020 22:17:36 -0000</pubDate><guid>https://sourceforge.net/p/xmlunit/discussion/73274/thread/b5991362d1/?limit=25#2cbc</guid></item><item><title>Reddy modified a comment on discussion Help</title><link>https://sourceforge.net/p/xmlunit/discussion/73274/thread/b5991362d1/?limit=25#2cbc</link><description>How to ignore below element order in XMLUnit2, I find something in XMLUnit1, but trying to do in XMLunit2, please let me know if any one have any idea &lt;shiftattribute shiftattributecode="41"&gt; &lt;shiftattribute shiftattributecode="17"&gt; vs &lt;shiftattribute shiftattributecode="17"&gt; &lt;shiftattribute shiftattributecode="41"&gt;&lt;/shiftattribute&gt;&lt;/shiftattribute&gt;&lt;/shiftattribute&gt;&lt;/shiftattribute&gt; Also, please help me to skip/ignore below differnce &lt;PriceInfo " Amount="19999.00" DiscountTypes="3" AMZAmount="225.00"...</description><dc:creator xmlns:dc="http://purl.org/dc/elements/1.1/">Reddy</dc:creator><pubDate>Thu, 30 Jan 2020 22:17:13 -0000</pubDate><guid>https://sourceforge.net/p/xmlunit/discussion/73274/thread/b5991362d1/?limit=25#2cbc</guid></item><item><title>Reddy modified a comment on discussion Help</title><link>https://sourceforge.net/p/xmlunit/discussion/73274/thread/b5991362d1/?limit=25#2cbc</link><description>How to ignore below element order in XMLUnit2, I find something in XMLUnit1, but trying to do in XMLunit2, please let me know if any one have any idea &lt;shiftattribute shiftattributecode="41"&gt; &lt;shiftattribute shiftattributecode="17"&gt; vs &lt;shiftattribute shiftattributecode="17"&gt; &lt;shiftattribute shiftattributecode="41"&gt;&lt;/shiftattribute&gt;&lt;/shiftattribute&gt;&lt;/shiftattribute&gt;&lt;/shiftattribute&gt; Also, please help me to ignore/skip below differnce &lt;PriceInfo " Amount="19999.00" DiscountTypes="3" AMZAmount="225.00"...</description><dc:creator xmlns:dc="http://purl.org/dc/elements/1.1/">Reddy</dc:creator><pubDate>Thu, 30 Jan 2020 22:16:51 -0000</pubDate><guid>https://sourceforge.net/p/xmlunit/discussion/73274/thread/b5991362d1/?limit=25#2cbc</guid></item><item><title>Reddy posted a comment on discussion Help</title><link>https://sourceforge.net/p/xmlunit/discussion/73274/thread/b5991362d1/?limit=25#2cbc</link><description>How to ignore below element order in XMLUnit2, I find something in XMLUnit1, but trying to do in XMLunit2, please let me know if any one have any idea &lt;shiftattribute shiftattributecode="41"&gt; &lt;shiftattribute shiftattributecode="17"&gt; vs &lt;shiftattribute shiftattributecode="17"&gt; &lt;shiftattribute shiftattributecode="41"&gt;&lt;/shiftattribute&gt;&lt;/shiftattribute&gt;&lt;/shiftattribute&gt;&lt;/shiftattribute&gt; Also, please help me to ignore below differnce &lt;PriceInfo " Amount="19999.00" DiscountTypes="3" AMZAmount="225.00"...</description><dc:creator xmlns:dc="http://purl.org/dc/elements/1.1/">Reddy</dc:creator><pubDate>Thu, 30 Jan 2020 22:15:11 -0000</pubDate><guid>https://sourceforge.net/p/xmlunit/discussion/73274/thread/b5991362d1/?limit=25#2cbc</guid></item><item><title>Stefan Bodewig posted a comment on discussion Open Discussion</title><link>https://sourceforge.net/p/xmlunit/discussion/73273/thread/f9863673a1/?limit=25#3726</link><description>I don't think there is an easy way to do what you need without changing XMLUnit. You might gain a bit of performance by using a single XPathFactory and a single XPath instance, though. Something that might work is tracking what the difference engine is doing via a ComparisonListener and building a map of XPath to Node while the DOM is traversed. Adding the parent nodes in addition to the parent XPath would require some surgery to DOMDifferenceEngine but could probably be done without breaking the...</description><dc:creator xmlns:dc="http://purl.org/dc/elements/1.1/">Stefan Bodewig</dc:creator><pubDate>Tue, 02 Jul 2019 08:41:28 -0000</pubDate><guid>https://sourceforge.net/p/xmlunit/discussion/73273/thread/f9863673a1/?limit=25#3726</guid></item><item><title>MonishaM modified a comment on discussion Open Discussion</title><link>https://sourceforge.net/p/xmlunit/discussion/73273/thread/f9863673a1/?limit=25#a52d</link><description>In our project, we are comparing two XMLs and are selectively updating the control XML based on this comparison. In certain cases the Control/Test node is null (as fetched from the Comparison.Detail object). Manipulating / updating the Control/Test XML in such a case requires us to compute the Parent Node using some other library that requires the XPath String from the getParentXPath() method. This computation of the Parent Node node is turning out to be expensive as we need to do this for every...</description><dc:creator xmlns:dc="http://purl.org/dc/elements/1.1/">MonishaM</dc:creator><pubDate>Thu, 27 Jun 2019 21:45:09 -0000</pubDate><guid>https://sourceforge.net/p/xmlunit/discussion/73273/thread/f9863673a1/?limit=25#a52d</guid></item><item><title>MonishaM posted a comment on discussion Open Discussion</title><link>https://sourceforge.net/p/xmlunit/discussion/73273/thread/92c980ec5b/?limit=25#3f02</link><description>Hi Stefan, We had another question for you. Currently, we can only access the XPath of the ParentNode of a given target node (computed from the Comparison.Detail object). Is there a way to get a reference to the ParentNode directly from the Comparison.Detail object? Or atleast in a future version of XMLUnit? Have opened a new Discussion Topic for this here. Please advise.</description><dc:creator xmlns:dc="http://purl.org/dc/elements/1.1/">MonishaM</dc:creator><pubDate>Thu, 27 Jun 2019 21:44:08 -0000</pubDate><guid>https://sourceforge.net/p/xmlunit/discussion/73273/thread/92c980ec5b/?limit=25#3f02</guid></item><item><title>MonishaM posted a comment on discussion Open Discussion</title><link>https://sourceforge.net/p/xmlunit/discussion/73273/thread/f9863673a1/?limit=25#a52d</link><description>In our project, we are comparing two XMLs and are selectively updating the control XML based on this comparison. In certain cases the Control/Test node is null (as fetched from the Comparison.Detail object). Manipulating / updating the Control/Test XML in such a case requires us to compute the Parent Node using some other library that requires the XPath String from the getParentXPath() method. This computation of the Parent Node node is turning out to be expensive as we need to do this for every...</description><dc:creator xmlns:dc="http://purl.org/dc/elements/1.1/">MonishaM</dc:creator><pubDate>Thu, 27 Jun 2019 21:39:15 -0000</pubDate><guid>https://sourceforge.net/p/xmlunit/discussion/73273/thread/f9863673a1/?limit=25#a52d</guid></item><item><title>MonishaM posted a comment on discussion Open Discussion</title><link>https://sourceforge.net/p/xmlunit/discussion/73273/thread/92c980ec5b/?limit=25#3d13</link><description>Hi Stefan, We tested using 2.6.3 and it worked fine. This time the XPaths were preserved despite using NodeFilters in the Difference Evaluator. Thank you very much for such an expedited response and fix! This has been very helpful.</description><dc:creator xmlns:dc="http://purl.org/dc/elements/1.1/">MonishaM</dc:creator><pubDate>Fri, 21 Jun 2019 19:41:33 -0000</pubDate><guid>https://sourceforge.net/p/xmlunit/discussion/73273/thread/92c980ec5b/?limit=25#3d13</guid></item><item><title>Stefan Bodewig posted a comment on discussion Open Discussion</title><link>https://sourceforge.net/p/xmlunit/discussion/73273/thread/d72b1d3c53/?limit=25#01b3</link><description>The release fixes a bug in a corner-case and adds a new isNumber placeholder. The full list of changes: add a new ${xmlunit.isNumber} placeholder Issue #153 via PR #154 by @NathanAtClarity. the XPath values of a comparison should not be affected by any NodeFilter being in effect. Issue #156</description><dc:creator xmlns:dc="http://purl.org/dc/elements/1.1/">Stefan Bodewig</dc:creator><pubDate>Fri, 21 Jun 2019 19:04:58 -0000</pubDate><guid>https://sourceforge.net/p/xmlunit/discussion/73273/thread/d72b1d3c53/?limit=25#01b3</guid></item></channel></rss>