is there already an “out of the box” XmlUnit solution for this problem: http://osdir.com/ml/java.xmlunit.general/2008-11/msg00002.html
I.e. ising the RecursiveElementNameAndTextQualifier (in combination with DifferenceConstants.ATTR_SEQUENCE_ID and DifferenceConstants.CHILD_NODELIST_SEQUENCE_ID) to compare two elements in wrong order and different attribute values, e.g.:
RecursiveElementNameAndTextQualifier hasn't changed and I don't expect it to change.
In your example you don't need matching on nested texts (and no recursion either) AFAICT. ElementNameAndAttributeQualifier should work just fine.
Log in to post a comment.
Sign up for the SourceForge newsletter:
You seem to have CSS turned off.
Please don't fill out this field.