Sonarqube Version : Developer EditionVersion 8.2 (build 32929)
PL/SQL : 3.4.1 (build 2576)
what are you trying to achieve
Write custom rule for .xdm extension file for PL/SQL language using xpath query.
what have you tried so far to achieve this
Using the SSLR toolkit the code has been parsed and using xpath query we can point to node in AST(abstract syntax tree) . But when we use the generated xml to validate the xpath query in any online xpath tester we are getting the following error.
Unable to perform XPath operation. The value of attribute “tokenValue” associated with an element type “COMPILATION_UNIT” must not contain the ‘<’ character.
Sample.zip (766 Bytes)
The ask here is to check in the sample .xdm file attached, the value of property name “generate_output_format” is “CSV” or not.