XMLUnit 1.1 Beta 2 (For Java)
XMLUnit provides assertions and supporting class libraries to test various properties of generated pieces of XML using a popular testing framework. It supports finding the differences between two pieces of XML, validating documents against DTDs or XML Schemas, testing the results of XPath expressions, or asserting properties of Nodes exposed via DOM traversal. Two branches exist: one that supports Java and JUnit and one that supports the .NET Framework and NUnit.
This second beta changes the way the schemaLocation and noNamespaceSchemaLocation attributes of the XMLSchema-Instance namespace are handled. Documents that only differ in these attributes are now considered similar. Compared with XMLUnit 1.0, the 1.1 version expands support for XML Schema in validation and comparisions and vastly improves XPath tests (namespaces and JAXP 1.3's XPath engine are now supported). Several minor but useful enhancements have been made.