You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
The EqualToXml matcher does not detect differences on certain XML documents if Xalan is on the classpath.
The documents need to use the same namespace URI twice with a different namespace prefix. Example:
Proposal
The EqualToXml matcher does not detect differences on certain XML documents if Xalan is on the classpath.
The documents need to use the same namespace URI twice with a different namespace prefix. Example:
Xalan itself does not seem to be the problem because one can use XmlUnit to correctly detect differences in such XML documents.
Reproduction steps
I've created a demo project with Unit tests that demonstrate the bug and the different behavior of XmlUnit and EqualToXml: https://github.com/thake/wiremock-bug/blob/main/src/test/java/com/example/XmlUnitTest.java
References
No response
The text was updated successfully, but these errors were encountered: