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

Explicitly convert decimals to int or short as XPAth functions return decimals #2193

Merged
merged 1 commit into from
Jun 28, 2024

Conversation

SanojPunchihewa
Copy link
Contributor

Purpose

Explicitly convert decimals to int or short as XPAth functions return decimals.

In the property mediator we can set the value type as INTEGER or SHORT, but since the underline XPATH evaluation library returns numbers with decimal, we need to explicitly cast them.

Fixes: wso2/micro-integrator#3087

… numbers with decimal

In the property mediator we can set the value type as INTEGER or SHORT, but since the underline XPATH
evaluation library returns numbers with decimal, we need to explicitly cast them.

Git issue: wso2/micro-integrator#3087
@arunans23 arunans23 merged commit b2844eb into wso2:master Jun 28, 2024
1 of 2 checks passed
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

Successfully merging this pull request may close these issues.

Issue with property mediator
2 participants