Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

string-length() for xpath expressions does not work #40

Open
nomorevictor opened this issue Jan 19, 2022 · 0 comments
Open

string-length() for xpath expressions does not work #40

nomorevictor opened this issue Jan 19, 2022 · 0 comments

Comments

@nomorevictor
Copy link

Kudos for your contribution!

Here I got some feedback: I realized that using string-length() in xpath expressions does not work. An example rule is:

	<rule id="7"
		name="Flow name exceeds 20 characters"
		description="Flow name exceeds 20 characters"
		severity="MINOR" applies="application" type="code_smell">
		count(//mule:mule/mule:flow/@name[string-length()>20])>=1
	</rule>

When running a sonarqube scan, changes to the flow-name flow do not trigger this rule.

Thank you,
Victor

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

1 participant