Hi, I have a detailed question… In our application, we use the standard true or false in XPath instead of true() or false(). In the documentation (Mx 9 and Mx 10), I only read about using the functions true() or false(), not the constants true or false. However, both the functions and the constants seem to work. Why is this? Is it a feature or a bug? Should we continue using true/false or should we rename them to the true()/false() functions? https://docs.mendix.com/refguide9/xpath-true Kind regards, Pascal Boittin
asked
Pascal Boittin
1 answers
1
Hi Pascal,
To align with official Mendix doc, it is recommended to use true() and false(). This ensures consistency with best practices and minimizes the risk of unexpected behavior in future versions, should Mendix enforce stricter XPath syntax.