I am facing problem that Xpath query is working fine in PLSQL SSLR. However, it is not giving results on SonarScanner.
Example:- Xpath query "//IDENTIFIER[contains(@tokenValue,‘Hi_’)] is working on both SSLR as well SonarScanner. If I write this query as //BIN_IDENTIFIER/IDENTIFIER[contains(@tokenValue,‘Hi_’)] it is working fine on SSLR but it is not working Sonar Scanner.
So, conclusion is if I write a query initated start with ‘//’ to access the element it is working fine. If, I want to access the element with absolute path or by the case given above it is not working. Thanks