Below code and Xpath working on SSLR toolkit but not working on Sonarqube UI , SOnarqube application not detecting it as a error based on Xpath query. Its causing our rules not working properly
The documentation lists what you should do to set up your custom rule.
Did you activate the rule in a quality profile?
Did you configure your project to use your quality profile which contains the custom rule?
Did you re-run the analysis after that?
I set up your rule and analyzed it on the exact code you gave, and I got an issue.
As the SSLR Toolkit was unable to parse the original XPath query, I changed the strange quotes around ‘TABLE’. That’s the only thing I had to change to make it raise an issue.