Skip to content

XPath is wrong when NodeFilter is used #156

Description

@bodewig

When using a NodeFilter the XPath for the Nodes (and their parents) in Comparison's details show the "reality" the difference engine has seen, not the one of the document itself. Elements that have been filtered away are not counted which may cause the indices of sibling elements to be smaller than they should be.

See also https://sourceforge.net/p/xmlunit/discussion/73273/thread/92c980ec5b/?limit=25#e143

Activity

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

Metadata

Metadata

Assignees

Labels

Type

No type

Projects

No projects

    Milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions