Join GitHub today
GitHub is home to over 28 million developers working together to host and review code, manage projects, and build software together.Sign up
ElementSelectors.byXPath Selector fails to find a match - XML file #128
We have been using your library and it has very good documentation, usage examples and good support. I am running into this issue with the out of order elements. I really appreciate your response.
I am having issues with the comparison of these files, although these files are same but the elements are not in the same order. I am using ElementSelectors.byXPath for finding the match against the comparing XML. Do i need to include any other further selectors?
changed the title from
Question regarding ignore ordering - XML file
ElementSelectors.byXPath Selector fails to find a match - XML file
Jul 24, 2018
Every time XPath and Namespaces are used together I need to re-lookup how they interact and then forget about it immediately. Your XPath
Map<String, String> m = new HashMap<>(); m.put("foo", "Example"); ... .thenUse(ElementSelectors.byXPath("./foo:SequenceID", m, ElementSelectors.byNameAndText))
makes the node matcher select the proper