Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

XmlUnit produces ridiculous large diffs #70

Open
skuzzle opened this issue Feb 20, 2023 · 1 comment
Open

XmlUnit produces ridiculous large diffs #70

skuzzle opened this issue Feb 20, 2023 · 1 comment
Labels
component: jaxb enhancement New feature or request

Comments

@skuzzle
Copy link
Owner

skuzzle commented Feb 20, 2023

When there is a mismatch in nodes with a lot of sibling nodes, XmlUnit seems to print all the sibling nodes for both the actual and the expected XML. This makes the diff useless because it is nearly impossible to spot the difference

@skuzzle
Copy link
Owner Author

skuzzle commented Feb 20, 2023

An easy fix would be a flag that would cause the XmlUnit diff to be left out from the resulting exception. Otherwise, we might need to tune the ComparisonFormatter (see https://github.com/xmlunit/user-guide/wiki/ComparisonFormatter)

@skuzzle skuzzle added enhancement New feature or request component: jaxb labels Feb 24, 2023
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
component: jaxb enhancement New feature or request
Projects
None yet
Development

No branches or pull requests

1 participant