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

XML ID dereferencing difference engine #3

Open
bodewig opened this issue Dec 14, 2014 · 2 comments
Open

XML ID dereferencing difference engine #3

bodewig opened this issue Dec 14, 2014 · 2 comments

Comments

@bodewig
Copy link
Member

bodewig commented Dec 14, 2014

https://sourceforge.net/p/xmlunit/feature-requests/30/

@hariraogotit
Copy link

Sorry I am not sure where to ask this question so I am asking here.

We were using xmlunit 1.5 and now would like to use the latest xmlunit which is 2.5.1.

I looked at the user guide. I do not see something like setXpathFilter to ignore only the nodes in that particular Xpath position. Can anyone point me to the correct place for this please? All I am looking for is an API or method that will help me in ignoring Xpath nodes while comparing the XMLs'

@bodewig
Copy link
Member Author

bodewig commented Dec 11, 2017

@hariraogotit my personal preference for asking questions would be the mailing list followed by the forum followed by an issue here. But please create a new one and do not comment on an unrelated issue.

As for your question, please see https://github.com/xmlunit/user-guide/wiki/SelectingNodes#nodefilter-and-attributefilter you'd have to implement the NodeFilter yourself, there is no builtin solution for ignoring nodes based on XPath.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Projects
None yet
Development

No branches or pull requests

2 participants