I think, I have the answer to my question. From a struct XPath perspective, I guess the expression should be foo = true()
On Fri, Jul 2, 2010 at 11:28 AM, Meeraj Kunnumpurath < [email protected]> wrote: > Hi, > > I have the following snippet to evaluate a boolean expression from a map, > > Map<String, Object> map = new HashMap<String, Object>(); > map.put("foo", false); > System.err.println(JXPathContext.newContext(map).getValue("foo = false")); > > The above seems to be printing false instead of true. > > Kind regards > Meeraj >
