Wed, 31. Dec 2014
XMLUnit for Java 1.6 is mostly a bugfix release adressing four issues:
- If the sought for attribute in
ATTR_NAME_NOT_FOUND
or node inCHILD_NODE_NOT_FOUND
differences is inside an XML namespace, the difference's value is now Java5-QName like{NS-URI}LOCAL-NAME
rather than just the local name.
Issue 65 - for
ATTR_NAME_NOT_FOUND
differences the XPath on the side where the attribute exists now points to the attribute itself rather than the parent element.
Feature 33 - a new
assertXpathEvaluatesTo
assertion inXMLAssert
combined with a newQualifiedName
class allows stringified XPath values to be interpreted as qualified names.
Feature 25 - The JAXP 1.3 based validator ignored now uses the
xsi:namespaceLocation
andxsi:noNamespaceLocation
attributes if you specify no schema sources at all.
Issue 65
Note the first two changes may be breaking backwards compatibility in rare cases.
Source and binary distributions are available from SourceForge's File Service, the checksums and PGP signatures can be found here
.path: /en/oss/XMLUnit | #