Registry / testing / xmlunit-placeholders

xmlunit-placeholders

JSON →
library2.12.0javamavenunverified

An extension to XMLUnit that provides a placeholder DSL for flexible XML comparison.

<dependency> <groupId>org.xmlunit</groupId> <artifactId>xmlunit-placeholders</artifactId> <version>2.12.0</version> </dependency>
INSTALL
IMPORT
SIG · XMLUNIT-PLACEHOLDE
X
xmlunit-placeholders
testingjavav2.12.0
harness data pending
Install & Compatibility
Where this runs

No compatibility data collected yet for this library.

Code
Verified usage

Verified import paths — ran on the pinned version, not inferred.

PlaceholderSupport
org.xmlunit.placeholder.PlaceholderSupport

Compares XML with placeholders against actual values.

import org.xmlunit.placeholder.PlaceholderSupport; import org.xmlunit.builder.DiffBuilder; import org.xmlunit.diff.Diff; public class Example { public static void main(String[] args) { Diff diff = DiffBuilder.compare("<a>${value}</a>") .withTest("<a>123</a>") .withNodeMatcher(new PlaceholderSupport()) .build(); System.out.println(diff.hasDifferences()); } }
Debug
Known issues

No known issues recorded.

Upgrade
Version history
2.12.0latest on Maven
Audit
Dependencies

No dependency data recorded yet.

Agent activity
20 hits · last 30 days
node
18
Resources
xmlunit-placeholders — mvn dependency:get xmlunit-placeholders · libregistry