Community
Participate
Working Groups
Build Identifier: 20100617-1415 The validator does not understand data types of variables and message parts: if an element's type is boolean it should be possible to use it in a condition, but the validator reports this as "not a boolean expression". Actually, since we're still using XPath 1.0, there IS no type checking. But, the validator should still allow unary literal and variable references. Woraround is to use a relational operator to compare the element to 'true', e.g.: $Message.payload/isOrderValid = 'true' Reproducible: Always Steps to Reproduce: 1. Enter the above expression into an "IF" condition
Created attachment 174890 [details] patch for XPathValidator.java
https://jira.jboss.org/browse/JBIDE-6015
apply and test the patch from Bob
Comment on attachment 174890 [details] patch for XPathValidator.java Updated iplog flag for v1.0 release review.