XLS Form Building Error / Error: ODK Validate Errors:

A message just showed like this, see below:

Error: ODK Validate Errors:

Something broke the parser. See above for a hint.
Error evaluating field 'Building_alliances_Calcualtion' (${test}[1]/Building_alliances_Calcualtion[1]): The problem was located in Calculate expression for ${Building_alliances_Calcualtion}
XPath evaluation: cannot handle function 'IF'
Caused by: org.javarosa.xpath.XPathUnhandledException: The problem was located in Calculate expression for ${Building_alliances_Calcualtion}
XPath evaluation: cannot handle function 'IF'
... 10 more

The following files failed validation:
${test}.xml

Result: Invalid

What is that mean, when telling {XPath evaluation: cannot handle function 'IF'}, and how to solve this problem.

Hi @Younes_Al-Qryouti
We're glad you're here. When you get a chance, please introduce yourself on this forum thread. I'd also encourage you to add a real picture as your avatar because it helps build community!

The if function should be lowercase so if(expression, then, else) not IF(expression, then, else)

Many Thanks, I`ll do.